/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 1 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 = 7430
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1440.0-1530_daily_bin1307
RA = 220.007, Dec = -15.5154
tmin = 578102401, tmax = 578361601
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='694073', job_status='RUN', time_executed='2021-09-10 04:41:35.952610', time_epoch_executed='1631274095.95' WHERE source_name='4FGL J1440.0-1530' and cadence='daily' and bin_id='1307'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/694073

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/694073/ft1_4FGL_J1440.0-1530_daily_bin1307.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/694073/ft2_4FGL_J1440.0-1530_daily_bin1307.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/694073/ft1_4FGL_J1440.0-1530_daily_bin1307.fits outfile=/scratch/kocevski/694073/ft1_filteredMKT_4FGL_J1440.0-1530_daily_bin1307.fits ra=220.007 dec=-15.5154 rad=12.0 tmin=578102401.0 tmax=578361601.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.08
user 4.82
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/694073/ft2_4FGL_J1440.0-1530_daily_bin1307.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/694073/ft1_filteredMKT_4FGL_J1440.0-1530_daily_bin1307.fits evtable="EVENTS" outfile="/scratch/kocevski/694073/ft1_filtered_4FGL_J1440.0-1530_daily_bin1307.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.52
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/694073/ft1_filtered_4FGL_J1440.0-1530_daily_bin1307.fits" evtable="EVENTS" scfile=/scratch/kocevski/694073/ft2_4FGL_J1440.0-1530_daily_bin1307.fits sctable="SC_DATA" outfile=/scratch/kocevski/694073/ltcube_578102401_578361601_4FGL_J1440.0-1530_daily_bin1307.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/694073/ft2_4FGL_J1440.0-1530_daily_bin1307.fits
.....................!
real 11.59
user 11.25
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/694073/ft1_filtered_4FGL_J1440.0-1530_daily_bin1307.fits evtable="EVENTS" scfile=/scratch/kocevski/694073/ft2_4FGL_J1440.0-1530_daily_bin1307.fits sctable="SC_DATA" expcube=/scratch/kocevski/694073/ltcube_578102401_578361601_4FGL_J1440.0-1530_daily_bin1307.fits outfile=/scratch/kocevski/694073/expmap_578102401_578361601_4FGL_J1440.0-1530_daily_bin1307.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/694073/ltcube_578102401_578361601_4FGL_J1440.0-1530_daily_bin1307.fits
.....................!
real 190.73
user 185.51
sys 4.86

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/694073/ft1_filtered_4FGL_J1440.0-1530_daily_bin1307.fits scfile=/scratch/kocevski/694073/ft2_4FGL_J1440.0-1530_daily_bin1307.fits outfile=/scratch/kocevski/694073/cmap_578102401_578361601_4FGL_J1440.0-1530_daily_bin1307.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/694073/ft1_filtered_4FGL_J1440.0-1530_daily_bin1307.fits scfile=/scratch/kocevski/694073/ft2_4FGL_J1440.0-1530_daily_bin1307.fits outfile=/scratch/kocevski/694073/cmap_HighResolution_578102401_578361601_4FGL_J1440.0-1530_daily_bin1307.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/694073/ft1_filtered_4FGL_J1440.0-1530_daily_bin1307.fits evtable="EVENTS" scfile=/scratch/kocevski/694073/ft2_4FGL_J1440.0-1530_daily_bin1307.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/694073/Model_4FGL_J1440.0-1530_daily_bin1307.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/694073/ft1_filtered_4FGL_J1440.0-1530_daily_bin1307.fits.....................!
real 72.43
user 71.14
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/694073/ft1_filtered_4FGL_J1440.0-1530_daily_bin1307.fits', '/scratch/kocevski/694073/ft2_4FGL_J1440.0-1530_daily_bin1307.fits', expMap='/scratch/kocevski/694073/expmap_578102401_578361601_4FGL_J1440.0-1530_daily_bin1307.fits', expCube='/scratch/kocevski/694073/ltcube_578102401_578361601_4FGL_J1440.0-1530_daily_bin1307.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/694073/Model_4FGL_J1440.0-1530_daily_bin1307.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/694073/ft1_filtered_4FGL_J1440.0-1530_daily_bin1307.fits
Spacecraft file(s): /scratch/kocevski/694073/ft2_4FGL_J1440.0-1530_daily_bin1307.fits
Exposure map: /scratch/kocevski/694073/expmap_578102401_578361601_4FGL_J1440.0-1530_daily_bin1307.fits
Exposure cube: /scratch/kocevski/694073/ltcube_578102401_578361601_4FGL_J1440.0-1530_daily_bin1307.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/694073/Model_4FGL_J1440.0-1530_daily_bin1307.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) = 8887.14670881

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.834       1.0000         .10000E-03   10000.    
     2 'norm      '    8.4079       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    11.999       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8335       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.7057       1.0000         .10000E-03   10000.    
     7 'norm      '    9.4102       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .99311E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.7997       1.0000         .10000E-03   10000.    
    13 'norm      '    1.8155       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11871E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .57400       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2269       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=   8887.116     FROM MIGRAD    STATUS=CONVERGED    302 CALLS     1481 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.839        50.331        .45274E-05    .25213E-05
   2  norm          8.4083        3.3486       -.10848E-06   -.93217E-04
   3  Prefactor     .10000E-03    13.048        .35362E-07** at limit **
   4  norm          12.000        8.1576        .19659E-05   -.43965E-04
   5  Prefactor     3.8358        16.915        .33947E-06   -.62628E-04
   6  Prefactor     9.7057        17.387        .15931E-06   -.54510E-05
   7  norm          9.4071        10.491        .34660E-05    .12861E-03
   8  Prefactor     .10000E-03    2.1395        .32881E-07** at limit **
   9  Prefactor     .10000E-03    25.706       -.11535E-06** at limit **
  10  Prefactor     .10000E-03    136.80        .13550E-04** at limit **
  11  Prefactor     .10002E-03    250.36       -.86928E-04** at limit **
  12  Prefactor     2.7994        10.600       -.61845E-06   -.14657E-03
  13  norm          1.8155        .23601        .25783E-08   -.13166E-03
  14  Prefactor     .10000E-03    9.3420        .19612E-06** at limit **
  15  Normalizat    .57391        .29683       -.22749E-05    .11176E-03
  16  Prefactor     1.2269        .11987        .23632E-06    .62455E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.839
  norm       = 8.40832
  Prefactor  = 0.0001
  norm       = 11.9999
  Prefactor  = 3.83584
  Prefactor  = 9.70568
  norm       = 9.40714
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010002
  Prefactor  = 2.79936
  norm       = 1.81555
  Prefactor  = 0.0001
  Normalizat = 0.573915
  Prefactor  = 1.22689
 **********
 **   18 **HESSE 
 **********

 FCN=   8887.116     FROM HESSE     STATUS=OK           205 CALLS     1686 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.839        50.271        .59877E-04   -1.4368    
   2  norm          8.4083        3.3438        .10420E-03   -1.5128    
   3  Prefactor     .10000E-03    13.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          12.000        8.1397        .11564E-03   -1.5015    
   5  Prefactor     3.8358        16.819        .20613E-03   -1.5316    
   6  Prefactor     9.7057        17.370        .12863E-03   -1.5085    
   7  norm          9.4071        10.520        .13064E-03   -1.5094    
   8  Prefactor     .10000E-03    2.1467        .13463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    25.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    137.68        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10002E-03    250.51        .41534E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.7994        10.578        .24314E-03   -1.5373    
  13  norm          1.8155        .21007        .14022E-04   -1.5438    
  14  Prefactor     .10000E-03    55.308        .49299E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .57391        .30334        .57329E-03   -1.0910    
  16  Prefactor     1.2269        .12492        .16740E-03   -.85508    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.4342e-10
Minuit parameter uncertainties:
  1  50.3188
  2  3.34389
  3  6.25684e-06
  4  8.14049
  5  16.0717
  6  17.3791
  7  10.5218
  8  4.66286e-06
  9  1.03675e-05
  10  0.00037488
  11  0.00454611
  12  10.5851
  13  0.210071
  14  6.91512e-05
  15  0.30422
  16  0.124954
Done.

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

Extracting fit parameters...

4FGL J1440.0-1530
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  4.663e-06  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.227e+00  1.250e-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:  5.739e-01  3.042e-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: 7.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/694073/likelihoodResults_578102401_578361601_4FGL_J1440.0-1530_daily_bin1307.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) = 8887.11834046
delta logL = -0.00221143628914

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8887.11612999
delta logL = -9.6393887361e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10751E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1988       1.0000          .0000       10.000    
     3 'Normalizat'    .57397       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2269       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=   8887.116     FROM MIGRAD    STATUS=FAILED        87 CALLS      236 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10111E-03    15.899        .13915E-02** at limit **
   2  Index         2.1486        6.0591        .50000        .95759E-04
   3  Normalizat    .57391        .16745E-01    .57329E-03   -.44381E-04
   4  Prefactor     1.2269        .69868E-02    .16740E-03   -.14941E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8887.116     FROM SIMPLEX   STATUS=UNCHANGED    119 CALLS      355 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10111E-03    15.899        .29084E-03** at limit **
   2  Index         2.1486        6.0591        .85594E-03    .95759E-04
   3  Normalizat    .57391        .16745E-01    .21039E-04   -.44381E-04
   4  Prefactor     1.2269        .69868E-02    .63946E-05   -.14941E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8887.116     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      405 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    35.312        .27831E-02** at limit **
   2  Index         1.4816        9.1306        .50000       -.72305E-08
   3  Normalizat    .57393        .20879E-01    .22932E-04    .13649E-02
   4  Prefactor     1.2269        .87118E-02    .66960E-05    .42079E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.4816
  Normalizat = 0.573928
  Prefactor  = 1.22689
 **********
 **   18 **HESSE 
 **********

 FCN=   8887.116     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      434 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    164.24        .55662E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4816        5.1616        .50000       -.78057    
   3  Normalizat    .57393        .47215E-01    .45863E-05   -1.0910    
   4  Prefactor     1.2269        .19698E-01    .13392E-05   -.85508    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.43857e-09
Minuit parameter uncertainties:
  1  7.36597e-05
  2  563.313
  3  0.0472187
  4  0.0196982
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/694073': 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) = 8887.11612053
delta logL = 8.49987009133e-06

Extracting fit parameters...

4FGL J1440.0-1530
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  7.366e-05  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  1.482e+00  5.633e+02  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.227e+00  1.970e-02  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:  5.739e-01  4.722e-02  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/694073/cmap_HighResolution_578102401_578361601_4FGL_J1440.0-1530_daily_bin1307.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.62e-03', job_status='DONE', photon_flux_upper_limit='7.36e-08', time_completed='2021-09-10 04:52:22.925469', job_id='694073', GAL2='1.23', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1631274742.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='8.50e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1307' AND source_name='4FGL J1440.0-1530' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 04:52:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 694073: <4FGL_J1440.0-1530_daily_bin1307> in cluster <slac> Done

Job <4FGL_J1440.0-1530_daily_bin1307> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 04:41:24 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 04:41:26 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:41:26 2021
Terminated at Fri Sep 10 04:52:23 2021
Results reported at Fri Sep 10 04:52:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.0-1530_daily_bin1307 220.007 -15.5154 578102401 578361601 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 :                                   637.00 sec.
    Max Memory :                                 1137 MB
    Average Memory :                             307.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   657 sec.
    Turnaround time :                            659 sec.

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

