/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 115 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 = 7420
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1440.9+0609_daily_bin359
RA = 220.242, Dec = 6.1631
tmin = 332380801, tmax = 332640001
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='697287', job_status='RUN', time_executed='2021-09-10 04:53:54.739427', time_epoch_executed='1631274834.74' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='359'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/697287

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/697287/ft1_4FGL_J1440.9+0609_daily_bin359.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/697287/ft2_4FGL_J1440.9+0609_daily_bin359.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/697287/ft1_4FGL_J1440.9+0609_daily_bin359.fits outfile=/scratch/kocevski/697287/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin359.fits ra=220.242 dec=6.1631 rad=12.0 tmin=332380801.0 tmax=332640001.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 2.53
user 2.33
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/697287/ft2_4FGL_J1440.9+0609_daily_bin359.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/697287/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin359.fits evtable="EVENTS" outfile="/scratch/kocevski/697287/ft1_filtered_4FGL_J1440.9+0609_daily_bin359.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.41
user 0.25
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/697287/ft1_filtered_4FGL_J1440.9+0609_daily_bin359.fits" evtable="EVENTS" scfile=/scratch/kocevski/697287/ft2_4FGL_J1440.9+0609_daily_bin359.fits sctable="SC_DATA" outfile=/scratch/kocevski/697287/ltcube_332380801_332640001_4FGL_J1440.9+0609_daily_bin359.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/697287/ft2_4FGL_J1440.9+0609_daily_bin359.fits
.....................!
real 9.11
user 8.81
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/697287/ft1_filtered_4FGL_J1440.9+0609_daily_bin359.fits evtable="EVENTS" scfile=/scratch/kocevski/697287/ft2_4FGL_J1440.9+0609_daily_bin359.fits sctable="SC_DATA" expcube=/scratch/kocevski/697287/ltcube_332380801_332640001_4FGL_J1440.9+0609_daily_bin359.fits outfile=/scratch/kocevski/697287/expmap_332380801_332640001_4FGL_J1440.9+0609_daily_bin359.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/697287/ltcube_332380801_332640001_4FGL_J1440.9+0609_daily_bin359.fits
.....................!
real 146.71
user 142.50
sys 3.84

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/697287/ft1_filtered_4FGL_J1440.9+0609_daily_bin359.fits scfile=/scratch/kocevski/697287/ft2_4FGL_J1440.9+0609_daily_bin359.fits outfile=/scratch/kocevski/697287/cmap_332380801_332640001_4FGL_J1440.9+0609_daily_bin359.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.45
user 0.30
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/697287/ft1_filtered_4FGL_J1440.9+0609_daily_bin359.fits scfile=/scratch/kocevski/697287/ft2_4FGL_J1440.9+0609_daily_bin359.fits outfile=/scratch/kocevski/697287/cmap_HighResolution_332380801_332640001_4FGL_J1440.9+0609_daily_bin359.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.45
user 0.29
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/697287/ft1_filtered_4FGL_J1440.9+0609_daily_bin359.fits evtable="EVENTS" scfile=/scratch/kocevski/697287/ft2_4FGL_J1440.9+0609_daily_bin359.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/697287/Model_4FGL_J1440.9+0609_daily_bin359.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/697287/ft1_filtered_4FGL_J1440.9+0609_daily_bin359.fits....................!
real 38.99
user 37.82
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/697287/ft1_filtered_4FGL_J1440.9+0609_daily_bin359.fits', '/scratch/kocevski/697287/ft2_4FGL_J1440.9+0609_daily_bin359.fits', expMap='/scratch/kocevski/697287/expmap_332380801_332640001_4FGL_J1440.9+0609_daily_bin359.fits', expCube='/scratch/kocevski/697287/ltcube_332380801_332640001_4FGL_J1440.9+0609_daily_bin359.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/697287/Model_4FGL_J1440.9+0609_daily_bin359.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/697287/ft1_filtered_4FGL_J1440.9+0609_daily_bin359.fits
Spacecraft file(s): /scratch/kocevski/697287/ft2_4FGL_J1440.9+0609_daily_bin359.fits
Exposure map: /scratch/kocevski/697287/expmap_332380801_332640001_4FGL_J1440.9+0609_daily_bin359.fits
Exposure cube: /scratch/kocevski/697287/ltcube_332380801_332640001_4FGL_J1440.9+0609_daily_bin359.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/697287/Model_4FGL_J1440.9+0609_daily_bin359.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) = 6539.16746091

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4301       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.596       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .14366E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.8185       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .18401E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    108.25       1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.027       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .46782E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    36.900       1.0000         .10000E-03   10000.    
    17 'norm      '    1.0967       1.0000         .10000E-03   10000.    
    18 'norm      '    .78713       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .86288       1.0000         .10000E-03   10000.    
    21 'Prefactor '    18.405       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1977       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0011       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=   6539.162     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2595 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4292        14.144       -.54564E-05   -.88576E-04
   2  Prefactor     .10000E-03    8.4570        .47933E-05** at limit **
   3  Prefactor     30.600        28.006       -.94721E-06    .71883E-04
   4  norm          .10000E-03    6.7168        .27999E-05** at limit **
   5  Prefactor     .10000E-03    8.0224       -.51830E-05** at limit **
   6  norm          .10031E-03    16.354       -.85384E-06** at limit **
   7  Prefactor     7.8206        7.5203        .33263E-06    .32483E-03
   8  Prefactor     .10005E-03    4.2127       -.21986E-05** at limit **
   9  Prefactor     108.25        69.059        .49076E-06    .15827E-04
  10  Prefactor     17.030        18.172        .48645E-05   -.75890E-05
  11  norm          .10000E-03    6.2178        .14574E-05** at limit **
  12  Prefactor     .10000E-03    15.294        .16578E-04** at limit **
  13  Prefactor     .10000E-03    16.120       -.10659E-04** at limit **
  14  Prefactor     .10015E-03    11.516        .45349E-06** at limit **
  15  Prefactor     .10000E-03    6.3660       -.36911E-05** at limit **
  16  Prefactor     36.899        36.388        .12199E-06   -.14182E-04
  17  norm          1.0967        .25799       -.17048E-07    .71486E-03
  18  norm          .78456        2.3786       -.93379E-06   -.13128E-02
  19  norm          .10000E-03    2.4261        .11448E-06** at limit **
  20  norm          .86224        3.8788       -.66494E-06   -.46873E-03
  21  Prefactor     18.400        32.602        .10830E-05    .16186E-04
  22  Normalizat    1.1975        .22734        .11200E-05    .23509E-03
  23  Prefactor     1.0013        .13764       -.72710E-07    .40285E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.42917
  Prefactor  = 0.0001
  Prefactor  = 30.5995
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100313
  Prefactor  = 7.82064
  Prefactor  = 0.000100053
  Prefactor  = 108.251
  Prefactor  = 17.0297
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100147
  Prefactor  = 0.0001
  Prefactor  = 36.8994
  norm       = 1.09674
  norm       = 0.784556
  norm       = 0.0001
  norm       = 0.862238
  Prefactor  = 18.4004
  Normalizat = 1.1975
  Prefactor  = 1.00125
 **********
 **   18 **HESSE 
 **********

 FCN=   6539.162     FROM HESSE     STATUS=OK           380 CALLS     2975 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4292        14.256        .19133E-03   -1.5287    
   2  Prefactor     .10000E-03    8.4601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     30.600        28.063        .72435E-04   -1.4601    
   4  norm          .10000E-03    6.7179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.0175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10031E-03    18.518        .10759       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.8206        7.4149        .14341E-03   -1.5149    
   8  Prefactor     .10005E-03    13.322        .31297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     108.25        69.080        .38656E-04   -1.3623    
  10  Prefactor     17.030        18.114        .97062E-04   -1.4882    
  11  norm          .10000E-03    6.2048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10015E-03    120.61        .52071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.3625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     36.899        36.011        .65976E-04   -1.4492    
  17  norm          1.0967        .25806        .18954E-04   -1.5499    
  18  norm          .78456        2.3390        .19677E-03   -1.5531    
  19  norm          .10000E-03    2.4313        .12301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .86224        6.6967        .28614E-02   -1.5522    
  21  Prefactor     18.400        32.604        .93358E-04   -1.4850    
  22  Normalizat    1.1975        .26963        .30903E-03   -.86680    
  23  Prefactor     1.0013        .16453        .20670E-03   -.92688    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.78388e-09
Minuit parameter uncertainties:
  1  14.2673
  2  9.99886e-06
  3  28.0748
  4  2.22352e-06
  5  6.65943e-07
  6  0.00481489
  7  7.41577
  8  0.00168329
  9  69.1312
  10  18.1194
  11  5.76635e-05
  12  5.6115e-05
  13  9.91105e-06
  14  0.00843698
  15  3.0128e-06
  16  36.0321
  17  0.258056
  18  2.33927
  19  4.41359e-08
  20  4.80635
  21  32.6355
  22  0.269947
  23  0.164611
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.703e+01  1.812e+01  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:  1.001e+00  1.646e-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.197e+00  2.699e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.13
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.80e-08 +/- 1.92e-08
Energy Flux (Fixed Index): 9.48e-06 +/- 1.01e-05

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

Saving results to:
/scratch/kocevski/697287/likelihoodResults_332380801_332640001_4FGL_J1440.9+0609_daily_bin359.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): 0
logL (Free Index) = 6538.74313863
delta logL = 0.419050476008

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6538.7389029
delta logL = 0.423286209503

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.821       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5507       1.0000          .0000       10.000    
     3 'Normalizat'    1.2058       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99773       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6538.739     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      312 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.825        38.809        .66047E-04    .54737E-05
   2  Index         1.5507        .56680        .98890E-02    .20455E-03
   3  Normalizat    1.2059        .25713        .30806E-03   -.13839E-04
   4  Prefactor     .99763        .15992        .20698E-03   -.46137E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.8245
  Index      = 1.55073
  Normalizat = 1.20592
  Prefactor  = 0.997631
 **********
 **   18 **HESSE 
 **********

 FCN=   6538.739     FROM HESSE     STATUS=OK            25 CALLS      337 TOTAL
                     EDM=   .96E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.825        38.376        .13209E-04   -1.4494    
   2  Index         1.5507        .56073        .19778E-02   -.76129    
   3  Normalizat    1.2059        .25738        .12322E-04   -.86420    
   4  Prefactor     .99763        .16008        .82794E-05   -.92809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.61907e-13
Minuit parameter uncertainties:
  1  38.4022
  2  0.562994
  3  0.257649
  4  0.160154
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/697287': 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): 0
logL (Free Index) = 6538.73890269
delta logL = 0.423286414264

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  3.682e+01  3.840e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  1.551e+00  5.630e-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.976e-01  1.602e-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.206e+00  2.576e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.97
Ra Dec: 220.242 6.163
Photon Index (Free Index): 1.55 +/- 0.56
Photon Flux (Free Index): 1.16e-08 +/- 1.36e-08
Energy Flux (Free Index): 3.09e-05 +/- 4.95e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/697287/cmap_HighResolution_332380801_332640001_4FGL_J1440.9+0609_daily_bin359.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', comment='SUCCESS', photon_flux='1.80e-08', energy_flux2='3.09e-05', photon_flux_error='1.92e-08', dlogl='4.23e-01', energy_flux='9.48e-06', photon_flux2='1.16e-08', job_status='DONE', time_completed='2021-09-10 05:01:41.903031', photon_index_error2='0.56', photon_index2='1.55', ts='2.13', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='7.56e-08', energy_flux_error2='4.95e-05', EG='1.20', time_epoch_completed='1631275301.9', return_code='0', job_id='697287', GAL2='1.00', EG2='1.21', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='1.36e-08', ts2='2.97', photon_index='2.12' WHERE bin_id='359' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:01:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 697287: <4FGL_J1440.9+0609_daily_bin359> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin359> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 04:51:50 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 04:51:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 04:51:50 2021
Terminated at Fri Sep 10 05:01:42 2021
Results reported at Fri Sep 10 05:01:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin359 220.242 6.1631 332380801 332640001 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 :                                   465.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   592 sec.
    Turnaround time :                            592 sec.

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

