/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 72 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 = 7392
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1440.9+0609_daily_bin44
RA = 220.242, Dec = 6.1631
tmin = 250732801, tmax = 250992001
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='695680', job_status='RUN', time_executed='2021-09-10 04:48:00.356642', time_epoch_executed='1631274480.36' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='44'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695680

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695680/ft1_4FGL_J1440.9+0609_daily_bin44.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695680/ft2_4FGL_J1440.9+0609_daily_bin44.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695680/ft1_4FGL_J1440.9+0609_daily_bin44.fits outfile=/scratch/kocevski/695680/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin44.fits ra=220.242 dec=6.1631 rad=12.0 tmin=250732801.0 tmax=250992001.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 1.44
user 1.25
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/695680/ft1_filtered_4FGL_J1440.9+0609_daily_bin44.fits" evtable="EVENTS" scfile=/scratch/kocevski/695680/ft2_4FGL_J1440.9+0609_daily_bin44.fits sctable="SC_DATA" outfile=/scratch/kocevski/695680/ltcube_250732801_250992001_4FGL_J1440.9+0609_daily_bin44.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/695680/ft2_4FGL_J1440.9+0609_daily_bin44.fits
.....................!
real 12.63
user 12.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695680/ft1_filtered_4FGL_J1440.9+0609_daily_bin44.fits evtable="EVENTS" scfile=/scratch/kocevski/695680/ft2_4FGL_J1440.9+0609_daily_bin44.fits sctable="SC_DATA" expcube=/scratch/kocevski/695680/ltcube_250732801_250992001_4FGL_J1440.9+0609_daily_bin44.fits outfile=/scratch/kocevski/695680/expmap_250732801_250992001_4FGL_J1440.9+0609_daily_bin44.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/695680/ltcube_250732801_250992001_4FGL_J1440.9+0609_daily_bin44.fits
.....................!
real 191.23
user 186.00
sys 4.81

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/695680/ft1_filtered_4FGL_J1440.9+0609_daily_bin44.fits scfile=/scratch/kocevski/695680/ft2_4FGL_J1440.9+0609_daily_bin44.fits outfile=/scratch/kocevski/695680/cmap_250732801_250992001_4FGL_J1440.9+0609_daily_bin44.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/695680/ft1_filtered_4FGL_J1440.9+0609_daily_bin44.fits scfile=/scratch/kocevski/695680/ft2_4FGL_J1440.9+0609_daily_bin44.fits outfile=/scratch/kocevski/695680/cmap_HighResolution_250732801_250992001_4FGL_J1440.9+0609_daily_bin44.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.53
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    12.714       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    47.511       1.0000         .10000E-03   10000.    
    11 'norm      '    23.962       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.604       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.5058       1.0000         .10000E-03   10000.    
    18 'norm      '    5.9568       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .31729       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0539       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .91775       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=   12233.98     FROM MIGRAD    STATUS=CONVERGED    543 CALLS     2241 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.020       -.27448E-06** at limit **
   2  Prefactor     .10000E-03    7.7070        .63110E-06** at limit **
   3  Prefactor     .10000E-03    36.370       -.49718E-05** at limit **
   4  norm          12.711        12.817        .25362E-05   -.46914E-04
   5  Prefactor     .10000E-03    4.3615        .13809E-07** at limit **
   6  norm          .10000E-03    4.2343       -.47811E-07** at limit **
   7  Prefactor     .10000E-03    4.7976        .13838E-06** at limit **
   8  Prefactor     .10000E-03    1.8394        .68203E-07** at limit **
   9  Prefactor     .10000E-03    19.481       -.12527E-04** at limit **
  10  Prefactor     47.525        42.406       -.12919E-04   -.14441E-04
  11  norm          23.936        26.594        .31949E-04    .96566E-06
  12  Prefactor     .10000E-03    7.4324       -.21898E-06** at limit **
  13  Prefactor     25.600        21.484       -.74487E-06   -.53841E-04
  14  Prefactor     .10000E-03    26.468        .19977E-05** at limit **
  15  Prefactor     .10000E-03    20.306        .12309E-04** at limit **
  16  Prefactor     .10000E-03    11.986        .11517E-05** at limit **
  17  norm          4.5057        .33745        .25096E-08   -.13238E-02
  18  norm          5.9575        2.1494        .21111E-07   -.43949E-03
  19  norm          .10000E-03    1.3600       -.57656E-07** at limit **
  20  norm          .10000E-03    1.8760        .87380E-07** at limit **
  21  Prefactor     .32471E-01    21.597        .74315E-08    .77223E-04
  22  Normalizat    1.0540        .16957       -.23005E-05   -.95901E-04
  23  Prefactor     .91780        .10270       -.67018E-06   -.19179E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.7111
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 47.5246
  norm       = 23.936
  Prefactor  = 0.0001
  Prefactor  = 25.6004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.50571
  norm       = 5.95752
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.032471
  Normalizat = 1.05402
  Prefactor  = 0.917796
 **********
 **   18 **HESSE 
 **********

 FCN=   12233.98     FROM HESSE     STATUS=OK           370 CALLS     2611 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.7388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    36.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          12.711        12.836        .11234E-03   -1.4995    
   5  Prefactor     .10000E-03    4.3653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.2356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.8883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.8522        .14646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     47.525        42.395        .58173E-04   -1.4328    
  11  norm          23.936        26.576        .81830E-04   -1.4729    
  12  Prefactor     .10000E-03    7.4452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.600        21.503        .79167E-04   -1.4696    
  14  Prefactor     .10000E-03    27.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    20.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.5057        .33825        .16631E-04   -1.5283    
  18  norm          5.9575        2.1474        .92541E-04   -1.5220    
  19  norm          .10000E-03    1.3605        .12597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.9573        .29561E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .32471E-01    22.298        .15095       -1.5672    
  22  Normalizat    1.0540        .20273        .33564E-03   -.91242    
  23  Prefactor     .91780        .12319        .21799E-03   -.95522    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55191e-10
Minuit parameter uncertainties:
  1  4.24313e-05
  2  1.57847e-05
  3  0.000205509
  4  12.8383
  5  4.64321e-07
  6  2.65913e-06
  7  2.79529e-05
  8  6.15406e-06
  9  3.02332e-05
  10  42.4218
  11  26.5893
  12  5.99527e-06
  13  21.5092
  14  8.22032e-05
  15  1.06681e-05
  16  6.4487e-06
  17  0.33825
  18  2.14741
  19  1.58961e-07
  20  7.98003e-06
  21  1.69982
  22  0.202878
  23  0.123226
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  4.752e+01  4.242e+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:  9.178e-01  1.232e-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.054e+00  2.029e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.80
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 5.03e-08 +/- 4.49e-08
Energy Flux (Fixed Index): 2.65e-05 +/- 2.36e-05

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) = 12233.7461008
delta logL = 0.229329600286

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12233.74475
delta logL = 0.230680414736

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.368       1.0000         .10000E-03   10000.    
     2 'Index     '    1.2124       1.0000          .0000       10.000    
     3 'Normalizat'    1.0905       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91256       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=   12233.74     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      255 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.499        30.121        .18177E-02    .34900E-04
   2  Index         1.1977        .56852        .34345       -.12627E-03
   3  Normalizat    1.0906        .16812        .74823E-01    .16295E-04
   4  Prefactor     .91264        .10182        .45165E-01   -.29960E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.4995
  Index      = 1.19768
  Normalizat = 1.09057
  Prefactor  = 0.912643
 **********
 **   18 **HESSE 
 **********

 FCN=   12233.74     FROM HESSE     STATUS=OK            33 CALLS      288 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.499        49.896        .72707E-04   -1.4621    
   2  Index         1.1977        .97217        .17502E-01   -.86403    
   3  Normalizat    1.0906        .19860        .33114E-03   -.90055    
   4  Prefactor     .91264        .12208        .21887E-03   -.95701    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16946e-11
Minuit parameter uncertainties:
  1  49.9662
  2  0.987318
  3  0.198738
  4  0.122121
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695680': 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) = 12233.7446333
delta logL = 0.230797100923

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.950e+01  4.997e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  1.198e+00  9.873e-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.126e-01  1.221e-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.091e+00  1.987e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.25
Ra Dec: 220.242 6.163
Photon Index (Free Index): 1.20 +/- 0.99
Photon Flux (Free Index): 6.06e-09 +/- 1.36e-08
Energy Flux (Free Index): 5.10e-05 +/- 6.84e-05

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/695680/cmap_HighResolution_250732801_250992001_4FGL_J1440.9+0609_daily_bin44.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.03e-08', energy_flux2='5.10e-05', photon_flux_error='4.49e-08', dlogl='2.31e-01', energy_flux='2.65e-05', photon_flux2='6.06e-09', job_status='DONE', time_completed='2021-09-10 05:00:23.497986', photon_index_error2='0.99', photon_index2='1.20', ts='12.80', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='6.84e-05', EG='1.05', time_epoch_completed='1631275223.5', return_code='0', job_id='695680', GAL2='0.91', EG2='1.09', return_code2='0', energy_flux_error='2.36e-05', photon_flux_error2='1.36e-08', ts2='13.25', photon_index='2.12' WHERE bin_id='44' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:00:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 695680: <4FGL_J1440.9+0609_daily_bin44> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin44> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 04:46:38 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 04:46:39 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:46:39 2021
Terminated at Fri Sep 10 05:00:24 2021
Results reported at Fri Sep 10 05:00:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin44 220.242 6.1631 250732801 250992001 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 :                                   742.27 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             291.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            826 sec.

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

