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


Performing analysis on: 4FGL_J1440.0-1530_daily_bin500
RA = 220.007, Dec = -15.5154
tmin = 368928001, tmax = 369187201
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='690682', job_status='RUN', time_executed='2021-09-10 04:31:25.562173', time_epoch_executed='1631273485.56' WHERE source_name='4FGL J1440.0-1530' and cadence='daily' and bin_id='500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/690682

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/690682/ft1_4FGL_J1440.0-1530_daily_bin500.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/690682/ft2_4FGL_J1440.0-1530_daily_bin500.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/690682/ft1_4FGL_J1440.0-1530_daily_bin500.fits outfile=/scratch/kocevski/690682/ft1_filteredMKT_4FGL_J1440.0-1530_daily_bin500.fits ra=220.007 dec=-15.5154 rad=12.0 tmin=368928001.0 tmax=369187201.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.32
user 3.13
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/690682/ft2_4FGL_J1440.0-1530_daily_bin500.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/690682/ft1_filteredMKT_4FGL_J1440.0-1530_daily_bin500.fits evtable="EVENTS" outfile="/scratch/kocevski/690682/ft1_filtered_4FGL_J1440.0-1530_daily_bin500.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.59
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/690682/ft1_filtered_4FGL_J1440.0-1530_daily_bin500.fits" evtable="EVENTS" scfile=/scratch/kocevski/690682/ft2_4FGL_J1440.0-1530_daily_bin500.fits sctable="SC_DATA" outfile=/scratch/kocevski/690682/ltcube_368928001_369187201_4FGL_J1440.0-1530_daily_bin500.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/690682/ft2_4FGL_J1440.0-1530_daily_bin500.fits
.....................!
real 12.12
user 11.71
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/690682/ft1_filtered_4FGL_J1440.0-1530_daily_bin500.fits evtable="EVENTS" scfile=/scratch/kocevski/690682/ft2_4FGL_J1440.0-1530_daily_bin500.fits sctable="SC_DATA" expcube=/scratch/kocevski/690682/ltcube_368928001_369187201_4FGL_J1440.0-1530_daily_bin500.fits outfile=/scratch/kocevski/690682/expmap_368928001_369187201_4FGL_J1440.0-1530_daily_bin500.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/690682/ltcube_368928001_369187201_4FGL_J1440.0-1530_daily_bin500.fits
.....................!
real 191.81
user 185.76
sys 5.68

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/690682/ft1_filtered_4FGL_J1440.0-1530_daily_bin500.fits scfile=/scratch/kocevski/690682/ft2_4FGL_J1440.0-1530_daily_bin500.fits outfile=/scratch/kocevski/690682/cmap_368928001_369187201_4FGL_J1440.0-1530_daily_bin500.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.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/690682/ft1_filtered_4FGL_J1440.0-1530_daily_bin500.fits scfile=/scratch/kocevski/690682/ft2_4FGL_J1440.0-1530_daily_bin500.fits outfile=/scratch/kocevski/690682/cmap_HighResolution_368928001_369187201_4FGL_J1440.0-1530_daily_bin500.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/690682/ft1_filtered_4FGL_J1440.0-1530_daily_bin500.fits evtable="EVENTS" scfile=/scratch/kocevski/690682/ft2_4FGL_J1440.0-1530_daily_bin500.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/690682/Model_4FGL_J1440.0-1530_daily_bin500.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/690682/ft1_filtered_4FGL_J1440.0-1530_daily_bin500.fits.....................!
real 64.96
user 63.49
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    76.470       1.0000         .10000E-03   10000.    
     2 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.1690       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.2067       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11538E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.3608       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.6294       1.0000         .10000E-03   10000.    
    13 'norm      '    .61474       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.9219       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2299       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0797       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=   7479.824     FROM MIGRAD    STATUS=CONVERGED    296 CALLS     1447 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     76.456        66.181       -.32118E-06   -.70962E-04
   2  norm          .10000E-03    1.3921        .25582E-07** at limit **
   3  Prefactor     .10000E-03    19.577        .13618E-06** at limit **
   4  norm          4.1689        8.8415       -.16232E-06   -.13373E-04
   5  Prefactor     4.2060        30.121        .10444E-04   -.33292E-04
   6  Prefactor     .10001E-03    87.581       -.25921E-05** at limit **
   7  norm          1.3626        56.902        .22899E-05   -.58173E-05
   8  Prefactor     .10000E-03    3.1944       -.17039E-07** at limit **
   9  Prefactor     .10000E-03    18.606       -.44993E-07** at limit **
  10  Prefactor     .10000E-03    44.443       -.71428E-06** at limit **
  11  Prefactor     .10001E-03    59.683        .20750E-05** at limit **
  12  Prefactor     3.6289        8.5895        .38729E-06   -.37609E-04
  13  norm          .61459        .17880       -.13244E-07    .37886E-03
  14  Prefactor     6.9304        12.597        .61183E-06    .73276E-05
  15  Normalizat    1.2299        .28648       -.90918E-06   -.31634E-04
  16  Prefactor     1.0798        .11150       -.24489E-06   -.70729E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 76.4563
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.16887
  Prefactor  = 4.20605
  Prefactor  = 0.000100006
  norm       = 1.36263
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100009
  Prefactor  = 3.62893
  norm       = 0.614591
  Prefactor  = 6.93038
  Normalizat = 1.22987
  Prefactor  = 1.07977
 **********
 **   18 **HESSE 
 **********

 FCN=   7479.824     FROM HESSE     STATUS=OK           199 CALLS     1646 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     76.456        66.219        .45919E-04   -1.3957    
   2  norm          .10000E-03    1.4193        .99556E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.1689        8.8260        .19739E-03   -1.5300    
   5  Prefactor     4.2060        30.169        .98241E-03   -1.5298    
   6  Prefactor     .10001E-03    89.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3626        57.551        .37438E-03   -1.5475    
   8  Prefactor     .10000E-03    3.2060        .15088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    44.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    60.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.6289        8.5770        .21207E-03   -1.5327    
  13  norm          .61459        .19048        .15039E-04   -1.5551    
  14  Prefactor     6.9304        13.429        .15249E-03   -1.5181    
  15  Normalizat    1.2299        .33178        .42109E-03   -.85685    
  16  Prefactor     1.0798        .13006        .17676E-03   -.90116    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90254e-10
Minuit parameter uncertainties:
  1  66.2826
  2  1.05426e-06
  3  4.51188e-05
  4  8.82873
  5  22.5452
  6  0.0014852
  7  17.7287
  8  2.24479e-06
  9  2.06784e-05
  10  0.000486746
  11  0.00145507
  12  8.57989
  13  0.190484
  14  13.4349
  15  0.332351
  16  0.130098
Done.

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

Extracting fit parameters...

4FGL J1440.0-1530
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  2.245e-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.080e+00  1.301e-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.230e+00  3.324e-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: 9.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/690682/likelihoodResults_368928001_369187201_4FGL_J1440.0-1530_daily_bin500.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) = 7479.8249983
delta logL = -0.00148422921939

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7479.8235141
delta logL = -2.61579771177e-08

Fit tolerance = 1e-08

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

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

 FCN=   7479.824     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.315        .90712E-02** at limit **
   2  Index         2.2385        6.7451        .50000       -.16520E-04
   3  Normalizat    1.2299        .19817E-01    .95054E-01   -.21167E-05
   4  Prefactor     1.0798        .79012E-02    .38410E-01   -.43273E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.23846
  Normalizat = 1.22987
  Prefactor  = 1.07977
 **********
 **   18 **HESSE 
 **********

 FCN=   7479.824     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      235 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    162.27        .15105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2385        6.0947        .50000       -.58513    
   3  Normalizat    1.2299        .54848E-01    .42109E-03   -.85685    
   4  Prefactor     1.0798        .21921E-01    .17676E-03   -.90116    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.4579e-08
Minuit parameter uncertainties:
  1  1.9229e-05
  2  29.7137
  3  0.054851
  4  0.0219213
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/690682': 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) = 7479.82351403
delta logL = 4.12701410824e-08

Extracting fit parameters...

4FGL J1440.0-1530
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  1.923e-05  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.238e+00  2.971e+01  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.080e+00  2.192e-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:  1.230e+00  5.485e-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/690682/cmap_HighResolution_368928001_369187201_4FGL_J1440.0-1530_daily_bin500.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.51e-03', job_status='DONE', photon_flux_upper_limit='9.84e-08', time_completed='2021-09-10 04:40:45.235443', job_id='690682', GAL2='1.08', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1631274045.24', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.13e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='500' AND source_name='4FGL J1440.0-1530' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 04:40:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 690682: <4FGL_J1440.0-1530_daily_bin500> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.0-1530_daily_bin500 220.007 -15.5154 368928001 369187201 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 :                                   557.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             361.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   573 sec.
    Turnaround time :                            576 sec.

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

