/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 166 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7461
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1440.9+0609_daily_bin761
RA = 220.242, Dec = 6.1631
tmin = 436579201, tmax = 436838401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository Job = True

LAT data Source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='699937', job_status='RUN', time_executed='2021-09-10 05:04:02.337301', time_epoch_executed='1631275442.34' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/699937

Creating custom pfile directory:
/scratch/kocevski/699937/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=436579201.0 && nMetStart<436838401.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=436579201.0 && nMetStart<436838401.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/699937/ft1_4FGL_J1440.9+0609_daily_bin761.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=436579201.0 && nMetStart<436838401.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/699937/ft2_4FGL_J1440.9+0609_daily_bin761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/699937/ft1_4FGL_J1440.9+0609_daily_bin761.fits outfile=/scratch/kocevski/699937/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin761.fits ra=220.242 dec=6.1631 rad=12.0 tmin=436579201.0 tmax=436838401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.54
user 5.30
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/699937/ft2_4FGL_J1440.9+0609_daily_bin761.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/699937/ft2_4FGL_J1440.9+0609_daily_bin761.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/699937/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin761.fits evtable="EVENTS" outfile="/scratch/kocevski/699937/ft1_filtered_4FGL_J1440.9+0609_daily_bin761.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.54
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/699937/ft1_filtered_4FGL_J1440.9+0609_daily_bin761.fits" evtable="EVENTS" scfile=/scratch/kocevski/699937/ft2_4FGL_J1440.9+0609_daily_bin761.fits sctable="SC_DATA" outfile=/scratch/kocevski/699937/ltcube_436579201_436838401_4FGL_J1440.9+0609_daily_bin761.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/699937/ft2_4FGL_J1440.9+0609_daily_bin761.fits
.....................!
real 11.75
user 11.40
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/699937/ft1_filtered_4FGL_J1440.9+0609_daily_bin761.fits evtable="EVENTS" scfile=/scratch/kocevski/699937/ft2_4FGL_J1440.9+0609_daily_bin761.fits sctable="SC_DATA" expcube=/scratch/kocevski/699937/ltcube_436579201_436838401_4FGL_J1440.9+0609_daily_bin761.fits outfile=/scratch/kocevski/699937/expmap_436579201_436838401_4FGL_J1440.9+0609_daily_bin761.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/699937/ltcube_436579201_436838401_4FGL_J1440.9+0609_daily_bin761.fits
.....................!
real 191.28
user 185.20
sys 5.68

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 150 point sources and 0 extended sources

Setting source of interest to:
4FGL J1440.9+0609 @ 220.242 6.1631

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/699937/ft1_filtered_4FGL_J1440.9+0609_daily_bin761.fits scfile=/scratch/kocevski/699937/ft2_4FGL_J1440.9+0609_daily_bin761.fits outfile=/scratch/kocevski/699937/cmap_436579201_436838401_4FGL_J1440.9+0609_daily_bin761.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=220.242 yref=6.1631 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/699937/ft1_filtered_4FGL_J1440.9+0609_daily_bin761.fits scfile=/scratch/kocevski/699937/ft2_4FGL_J1440.9+0609_daily_bin761.fits outfile=/scratch/kocevski/699937/cmap_HighResolution_436579201_436838401_4FGL_J1440.9+0609_daily_bin761.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=220.242 yref=6.1631 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/699937/ft1_filtered_4FGL_J1440.9+0609_daily_bin761.fits evtable="EVENTS" scfile=/scratch/kocevski/699937/ft2_4FGL_J1440.9+0609_daily_bin761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/699937/Model_4FGL_J1440.9+0609_daily_bin761.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/699937/ft1_filtered_4FGL_J1440.9+0609_daily_bin761.fits.....................!
real 73.82
user 72.38
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/699937/ft1_filtered_4FGL_J1440.9+0609_daily_bin761.fits', '/scratch/kocevski/699937/ft2_4FGL_J1440.9+0609_daily_bin761.fits', expMap='/scratch/kocevski/699937/expmap_436579201_436838401_4FGL_J1440.9+0609_daily_bin761.fits', expCube='/scratch/kocevski/699937/ltcube_436579201_436838401_4FGL_J1440.9+0609_daily_bin761.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/699937/Model_4FGL_J1440.9+0609_daily_bin761.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1440.9+0609'

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  8.135e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.120e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  2.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/699937/ft1_filtered_4FGL_J1440.9+0609_daily_bin761.fits
Spacecraft file(s): /scratch/kocevski/699937/ft2_4FGL_J1440.9+0609_daily_bin761.fits
Exposure map: /scratch/kocevski/699937/expmap_436579201_436838401_4FGL_J1440.9+0609_daily_bin761.fits
Exposure cube: /scratch/kocevski/699937/ltcube_436579201_436838401_4FGL_J1440.9+0609_daily_bin761.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/699937/Model_4FGL_J1440.9+0609_daily_bin761.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 10416.7142867

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 10416.6499658

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.653       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .45075       1.0000         .10000E-03   10000.    
     6 'norm      '    8.5634       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.9940       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    32.834       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .64897E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    8.1424       1.0000         .10000E-03   10000.    
    12 'Prefactor '    57.501       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    52.367       1.0000         .10000E-03   10000.    
    17 'norm      '    .12244       1.0000         .10000E-03   10000.    
    18 'norm      '    1.6689       1.0000         .10000E-03   10000.    
    19 'norm      '    3.9422       1.0000         .10000E-03   10000.    
    20 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.5937       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98477       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10416.65     FROM MIGRAD    STATUS=CONVERGED    549 CALLS     2671 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.7459        .37908E-08** at limit **
   2  Prefactor     14.650        21.894        .86384E-06    .43712E-04
   3  Prefactor     .10000E-03    14.223       -.10059E-06** at limit **
   4  norm          .10000E-03    3.0019       -.17807E-08** at limit **
   5  Prefactor     .60982        27.964        .19837E-05   -.22355E-03
   6  norm          8.5400        31.622       -.40767E-05   -.21662E-03
   7  Prefactor     3.9962        6.3744       -.80911E-06   -.18075E-03
   8  Prefactor     .10000E-03    3.3928       -.14751E-06** at limit **
   9  Prefactor     32.839        36.012        .26865E-06    .53671E-04
  10  Prefactor     .10090E-03    20.251       -.46122E-05** at limit **
  11  norm          8.1328        11.081        .29693E-06    .82943E-03
  12  Prefactor     57.498        37.081        .38645E-06    .11415E-03
  13  Prefactor     .10000E-03    12.813        .28281E-07** at limit **
  14  Prefactor     .10000E-03    9.1355        .96371E-07** at limit **
  15  Prefactor     .10000E-03    8.2864        .13050E-06** at limit **
  16  Prefactor     52.377        42.849        .41627E-06    .74451E-04
  17  norm          .12242        .10550        .12583E-07    .39852E-03
  18  norm          1.6692        1.8239        .31564E-07    .14607E-03
  19  norm          3.9423        3.7228       -.19468E-05   -.30393E-03
  20  norm          .10000E-03    1.3061       -.81971E-08** at limit **
  21  Prefactor     .10000E-03    48.756        .40733E-06** at limit **
  22  Normalizat    1.5929        .20204        .21741E-05    .29166E-03
  23  Prefactor     .98517        .11186       -.27764E-07    .52850E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 14.65
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.609824
  norm       = 8.54003
  Prefactor  = 3.99624
  Prefactor  = 0.0001
  Prefactor  = 32.839
  Prefactor  = 0.000100901
  norm       = 8.13276
  Prefactor  = 57.498
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 52.377
  norm       = 0.122422
  norm       = 1.66916
  norm       = 3.94228
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.59295
  Prefactor  = 0.985169
 **********
 **   18 **HESSE 
 **********

 FCN=   10416.65     FROM HESSE     STATUS=OK           374 CALLS     3045 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.7548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.650        21.911        .10463E-03   -1.4942    
   3  Prefactor     .10000E-03    14.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.0036        .17270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .60982        33.753        .12271       -1.5552    
   6  norm          8.5400        33.864        .13698E-03   -1.5123    
   7  Prefactor     3.9962        6.3940        .20181E-03   -1.5308    
   8  Prefactor     .10000E-03    3.4149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     32.839        36.037        .69930E-04   -1.4561    
  10  Prefactor     .10090E-03    99.973        .73128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.1328        9.9881        .14050E-03   -1.5138    
  12  Prefactor     57.498        37.256        .52904E-04   -1.4190    
  13  Prefactor     .10000E-03    12.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.1715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.2876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     52.377        42.865        .55423E-04   -1.4259    
  17  norm          .12242        .10061        .29517E-03   -1.5638    
  18  norm          1.6692        1.8088        .13516E-03   -1.5450    
  19  norm          3.9423        3.7477        .93762E-03   -1.5311    
  20  norm          .10000E-03    1.3210        .11384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    49.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.5929        .24408        .30044E-03   -.75199    
  23  Prefactor     .98517        .13509        .21726E-03   -.93226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.74921e-09
Minuit parameter uncertainties:
  1  7.30853e-06
  2  21.9233
  3  1.69866e-05
  4  1.70014e-06
  5  9.07848
  6  33.9405
  7  6.39508
  8  5.31875e-06
  9  36.0609
  10  0.0190099
  11  9.99017
  12  37.2708
  13  1.84428e-05
  14  2.0971e-05
  15  5.35258e-06
  16  42.8905
  17  0.100609
  18  1.80886
  19  3.7479
  20  3.39714e-06
  21  3.67772e-05
  22  0.244258
  23  0.135139
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 10416.6499162

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.009e-04  1.901e-02  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.120e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  2.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
486    Prefactor:  9.852e-01  1.351e-01  0.000e+00  1.000e+01 ( 1.000e+00)
487        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
488        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
485   Normalization:  1.593e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 220.242 6.163
Photon Flux Upper Limit: 6.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/699937/likelihoodResults_436579201_436838401_4FGL_J1440.9+0609_daily_bin761.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10416.6499639
delta logL = -4.76108671137e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10416.6499639
delta logL = -4.76084987895e-05

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96359E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1204       1.0000          .0000       10.000    
     3 'Normalizat'    1.5929       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98517       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10416.65     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      234 TOTAL
                     EDM=   .30E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5247        .14052    ** at limit **
   2  Index         2.0949        1.3265        .50000        .21382E-05
   3  Normalizat    1.5929        .16310E-02    .67917E-01   -.19232E-04
   4  Prefactor     .98517        .96372E-03    .46081E-01   -.35879E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.09486
  Normalizat = 1.59295
  Prefactor  = 0.985168
 **********
 **   18 **HESSE 
 **********

 FCN=   10416.65     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      271 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    994.83        .74345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0949        8.1729        .50000       -.61999    
   3  Normalizat    1.5929        .16274E-01    .30044E-03   -.75199    
   4  Prefactor     .98517        .96202E-02    .21726E-03   -.93226    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.24753e-10
Minuit parameter uncertainties:
  1  0.00085743
  2  13.3499
  3  0.0162739
  4  0.00962026
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/699937': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10416.6499162
delta logL = 1.82935764315e-08

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  8.574e-04  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.095e+00  1.335e+01  0.000e+00  1.000e+01 (-1.000e+00)
228        Scale:  2.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
486    Prefactor:  9.852e-01  9.620e-03  0.000e+00  1.000e+01 ( 1.000e+00)
487        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
488        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
485   Normalization:  1.593e+00  1.627e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.242 6.163

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/699937/cmap_HighResolution_436579201_436838401_4FGL_J1440.9+0609_daily_bin761.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/699937

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='6.12e-08', time_completed='2021-09-10 05:17:23.314221', job_id='699937', GAL2='0.99', fit_tolerance='1e-08', EG2='1.59', EG='1.59', time_epoch_completed='1631276243.31', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.83e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='761' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:17:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 699937: <4FGL_J1440.9+0609_daily_bin761> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin761> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 05:01:05 2021
Job was executed on host(s) <bullet0054>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:01:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 05:01:07 2021
Terminated at Fri Sep 10 05:17:24 2021
Results reported at Fri Sep 10 05:17:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin761 220.242 6.1631 436579201 436838401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1440.9+0609 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   798.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   976 sec.
    Turnaround time :                            979 sec.

The output (if any) is above this job summary.

