Thanks Ondrej !! I tired it. Seems like the function `ecmfactor` behaves strangely.
```
sage: from sage.libs.libecm import ecmfactor
sage: ecmfactor(121, 1.0)
(True, 121)
sage: ecmfactor(121, 1)
(True, 121)
sage: ecmfactor(121, 1.0)
(True, 11)
sage: ecmfactor(121, 1.0)
(True, 121)
sage: ecmfactor(121, 0)
(True, 121)
sage: ecmfactor(121, 0.0)
(True, 11)
sage: ecmfactor(121, 0.0)
(True, 11)
sage: ecmfactor(121, 0.0)
(True, 121)
```
Similarly with `ecm` I get the following:
```
thilinarmtb@debian:~/Repos/CSymPy$ ecm 1.0 < number 
GMP-ECM 6.4.4 [configured with GMP 5.0.5, --enable-asm-redc] [ECM]
Input number is 121 (3 digits)
Using B1=1, B2=12, polynomial x^1, sigma=2713148388
Step 1 took 0ms
********** Factor found in step 1: 121
Found input number N
```
```
thilinarmtb@debian:~/Repos/CSymPy$ ecm 1.0 < number 
GMP-ECM 6.4.4 [configured with GMP 5.0.5, --enable-asm-redc] [ECM]
Input number is 121 (3 digits)
Using B1=1, B2=12, polynomial x^1, sigma=1976265557
Step 1 took 0ms
Step 2 took 0ms
********** Factor found in step 2: 11
Found probable prime factor of  2 digits: 11
Probable prime cofactor 11 has 2 digits
```
Perhaps we might need to tweak more parameters in `gmp-ecm` side.
I'll look into it.