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


Performing analysis on: 4FGL_J1440.0-1530_daily_bin272
RA = 220.007, Dec = -15.5154
tmin = 309830401, tmax = 310089601
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='689389', job_status='RUN', time_executed='2021-09-10 04:29:39.799985', time_epoch_executed='1631273379.8' WHERE source_name='4FGL J1440.0-1530' and cadence='daily' and bin_id='272'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/689389

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/689389/ft1_4FGL_J1440.0-1530_daily_bin272.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/689389/ft2_4FGL_J1440.0-1530_daily_bin272.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/689389/ft1_4FGL_J1440.0-1530_daily_bin272.fits outfile=/scratch/kocevski/689389/ft1_filteredMKT_4FGL_J1440.0-1530_daily_bin272.fits ra=220.007 dec=-15.5154 rad=12.0 tmin=309830401.0 tmax=310089601.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 3.57
user 3.33
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/689389/ft2_4FGL_J1440.0-1530_daily_bin272.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/689389/ft2_4FGL_J1440.0-1530_daily_bin272.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/689389/ft1_filteredMKT_4FGL_J1440.0-1530_daily_bin272.fits evtable="EVENTS" outfile="/scratch/kocevski/689389/ft1_filtered_4FGL_J1440.0-1530_daily_bin272.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.51
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/689389/ft1_filtered_4FGL_J1440.0-1530_daily_bin272.fits" evtable="EVENTS" scfile=/scratch/kocevski/689389/ft2_4FGL_J1440.0-1530_daily_bin272.fits sctable="SC_DATA" outfile=/scratch/kocevski/689389/ltcube_309830401_310089601_4FGL_J1440.0-1530_daily_bin272.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/689389/ft2_4FGL_J1440.0-1530_daily_bin272.fits
.....................!
real 12.18
user 11.76
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/689389/ft1_filtered_4FGL_J1440.0-1530_daily_bin272.fits evtable="EVENTS" scfile=/scratch/kocevski/689389/ft2_4FGL_J1440.0-1530_daily_bin272.fits sctable="SC_DATA" expcube=/scratch/kocevski/689389/ltcube_309830401_310089601_4FGL_J1440.0-1530_daily_bin272.fits outfile=/scratch/kocevski/689389/expmap_309830401_310089601_4FGL_J1440.0-1530_daily_bin272.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/689389/ltcube_309830401_310089601_4FGL_J1440.0-1530_daily_bin272.fits
.....................!
real 191.50
user 185.44
sys 5.56

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 174 point sources and 0 extended sources

Setting source of interest to:
4FGL J1440.0-1530 @ 220.007 -15.5154

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/689389/ft1_filtered_4FGL_J1440.0-1530_daily_bin272.fits scfile=/scratch/kocevski/689389/ft2_4FGL_J1440.0-1530_daily_bin272.fits outfile=/scratch/kocevski/689389/cmap_309830401_310089601_4FGL_J1440.0-1530_daily_bin272.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.007 yref=-15.5154 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/689389/ft1_filtered_4FGL_J1440.0-1530_daily_bin272.fits scfile=/scratch/kocevski/689389/ft2_4FGL_J1440.0-1530_daily_bin272.fits outfile=/scratch/kocevski/689389/cmap_HighResolution_309830401_310089601_4FGL_J1440.0-1530_daily_bin272.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.007 yref=-15.5154 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.57
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/689389/ft1_filtered_4FGL_J1440.0-1530_daily_bin272.fits evtable="EVENTS" scfile=/scratch/kocevski/689389/ft2_4FGL_J1440.0-1530_daily_bin272.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/689389/Model_4FGL_J1440.0-1530_daily_bin272.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/689389/ft1_filtered_4FGL_J1440.0-1530_daily_bin272.fits.....................!
real 79.52
user 77.81
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/689389/ft1_filtered_4FGL_J1440.0-1530_daily_bin272.fits', '/scratch/kocevski/689389/ft2_4FGL_J1440.0-1530_daily_bin272.fits', expMap='/scratch/kocevski/689389/expmap_309830401_310089601_4FGL_J1440.0-1530_daily_bin272.fits', expCube='/scratch/kocevski/689389/ltcube_309830401_310089601_4FGL_J1440.0-1530_daily_bin272.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/689389/Model_4FGL_J1440.0-1530_daily_bin272.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1440.0-1530'

4FGL J1440.0-1530
   Spectrum: PowerLaw
282    Prefactor:  1.574e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.227e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  2.106e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/689389/ft1_filtered_4FGL_J1440.0-1530_daily_bin272.fits
Spacecraft file(s): /scratch/kocevski/689389/ft2_4FGL_J1440.0-1530_daily_bin272.fits
Exposure map: /scratch/kocevski/689389/expmap_309830401_310089601_4FGL_J1440.0-1530_daily_bin272.fits
Exposure cube: /scratch/kocevski/689389/ltcube_309830401_310089601_4FGL_J1440.0-1530_daily_bin272.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/689389/Model_4FGL_J1440.0-1530_daily_bin272.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) = 9293.59538834

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.9032       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.3928       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.236       1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10669E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.143       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .55340       1.0000         .10000E-03   10000.    
    13 'norm      '    .28588       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.0951       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.5554       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0135       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9293.594     FROM MIGRAD    STATUS=CONVERGED    309 CALLS     1466 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.604       -.11970E-04** at limit **
   2  norm          5.9032        3.3141       -.28596E-08   -.19358E-03
   3  Prefactor     .10000E-03    61.598        .49912E-04** at limit **
   4  norm          6.3930        7.4173       -.16566E-05   -.16132E-04
   5  Prefactor     .10000E-03    24.156        .56198E-05** at limit **
   6  Prefactor     31.231        33.707       -.41022E-05    .76460E-05
   7  norm          .10000E-03    4.8246        .11129E-06** at limit **
   8  Prefactor     .10000E-03    4.5729        .52410E-06** at limit **
   9  Prefactor     .10000E-03    14.061       -.11870E-06** at limit **
  10  Prefactor     .10000E-03    79.603       -.53251E-04** at limit **
  11  Prefactor     41.126        50.234       -.17253E-04    .92927E-04
  12  Prefactor     .55459        6.8928        .23041E-06    .13779E-04
  13  norm          .28583        .10981       -.42917E-07    .22567E-03
  14  Prefactor     1.0972        1.7380        .32277E-06   -.11460E-02
  15  Normalizat    1.5554        .26283        .26393E-05   -.14015E-03
  16  Prefactor     1.0135        .99848E-01    .22169E-06   -.15781E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.90317
  Prefactor  = 0.000100003
  norm       = 6.39297
  Prefactor  = 0.0001
  Prefactor  = 31.2306
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 41.1265
  Prefactor  = 0.554594
  norm       = 0.285828
  Prefactor  = 1.09716
  Normalizat = 1.55542
  Prefactor  = 1.01345
 **********
 **   18 **HESSE 
 **********

 FCN=   9293.594     FROM HESSE     STATUS=OK           201 CALLS     1667 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.9032        3.3210        .62952E-03   -1.5222    
   3  Prefactor     .10000E-03    62.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.3930        7.4156        .15874E-03   -1.5202    
   5  Prefactor     .10000E-03    24.250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     31.231        33.729        .71692E-04   -1.4590    
   7  norm          .10000E-03    4.8300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.6196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    14.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    79.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     41.126        50.015        .62494E-04   -1.4424    
  12  Prefactor     .55459        64.418        .47832E-02   -1.5559    
  13  norm          .28583        .14867        .18583E-04   -1.5601    
  14  Prefactor     1.0972        22.829        .22786E-02   -1.5498    
  15  Normalizat    1.5554        .31156        .39083E-03   -.76233    
  16  Prefactor     1.0135        .11918        .18238E-03   -.92282    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16495e-08
Minuit parameter uncertainties:
  1  2.03683e-05
  2  3.32108
  3  0.000861694
  4  7.41662
  5  2.10285e-07
  6  33.7493
  7  2.36756e-05
  8  0.000115072
  9  5.01013e-06
  10  0.000887245
  11  50.0665
  12  11.9664
  13  0.148666
  14  10.0133
  15  0.311952
  16  0.119213
Done.

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

Extracting fit parameters...

4FGL J1440.0-1530
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  1.151e-04  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.227e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  2.106e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.013e+00  1.192e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  1.555e+00  3.120e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 220.007 -15.515
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/689389/likelihoodResults_309830401_310089601_4FGL_J1440.0-1530_daily_bin272.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) = 9293.5952489
delta logL = -0.00103182999374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9293.59421936
delta logL = -2.28495628107e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11242E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2474       1.0000          .0000       10.000    
     3 'Normalizat'    1.5550       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0136       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9293.594     FROM MIGRAD    STATUS=FAILED        85 CALLS      234 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10137E-03    5.0539        .18142E-02** at limit **
   2  Index         2.2972        6.1483        .20000       -.41163E-04
   3  Normalizat    1.5554        .30105        .39083E-03    .92967E-04
   4  Prefactor     1.0135        .11773        .18238E-03    .16910E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9293.594     FROM SIMPLEX   STATUS=PROGRESS     109 CALLS      343 TOTAL
                     EDM=   .68E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10082E-03    5.0539        .16148E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2972        6.1483        .21764E-02   -.57109    
   3  Normalizat    1.5554        .30105        .16302E-03   -.76232    
   4  Prefactor     1.0135        .11773        .51036E-04   -.92282    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9293.594     FROM MIGRAD    STATUS=CONVERGED     26 CALLS      369 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.9053        .36285E-03** at limit **
   2  Index         2.2977        6.1489        .80000E-02   -.40606E-04
   3  Normalizat    1.5554        .30130        .15633E-04   -.74758E-04
   4  Prefactor     1.0135        .11783        .36476E-04   -.13801E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.29774
  Normalizat = 1.55542
  Prefactor  = 1.01345
 **********
 **   18 **HESSE 
 **********

 FCN=   9293.594     FROM HESSE     STATUS=OK            23 CALLS      392 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.9041        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2977        6.1489        .16000E-02   -.57097    
   3  Normalizat    1.5554        .30133        .31266E-05   -.76233    
   4  Prefactor     1.0135        .11785        .72952E-05   -.92282    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10046e-09
Minuit parameter uncertainties:
  1  0.000208075
  2  4.20689
  3  0.301681
  4  0.11788
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/689389': 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) = 9293.59421643
delta logL = 6.43522071186e-07

Extracting fit parameters...

4FGL J1440.0-1530
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  2.081e-04  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.298e+00  4.207e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  2.106e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.013e+00  1.179e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  1.555e+00  3.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.007 -15.515

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/689389/cmap_HighResolution_309830401_310089601_4FGL_J1440.0-1530_daily_bin272.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.66e-03', job_status='DONE', photon_flux_upper_limit='1.00e-07', time_completed='2021-09-10 04:40:21.778123', job_id='689389', GAL2='1.01', fit_tolerance='1e-08', EG2='1.56', EG='1.56', time_epoch_completed='1631274021.78', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='6.44e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='272' AND source_name='4FGL J1440.0-1530' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 04:40:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 689389: <4FGL_J1440.0-1530_daily_bin272> in cluster <slac> Done

Job <4FGL_J1440.0-1530_daily_bin272> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 04:26:02 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 04:26:04 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:26:04 2021
Terminated at Fri Sep 10 04:40:22 2021
Results reported at Fri Sep 10 04:40:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.0-1530_daily_bin272 220.007 -15.5154 309830401 310089601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1440.0-1530 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   639.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            860 sec.

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

