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


Performing analysis on: 4FGL_J0723.5+2900_daily_bin65
RA = 110.885, Dec = 29.0075
tmin = 256176001, tmax = 256435201
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='299814', job_status='RUN', time_executed='2021-08-27 04:36:06.039799', time_epoch_executed='1630064166.04' WHERE source_name='4FGL J0723.5+2900' and cadence='daily' and bin_id='65'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/299814

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/299814/ft1_4FGL_J0723.5+2900_daily_bin65.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/299814/ft2_4FGL_J0723.5+2900_daily_bin65.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/299814/ft1_4FGL_J0723.5+2900_daily_bin65.fits outfile=/scratch/kocevski/299814/ft1_filteredMKT_4FGL_J0723.5+2900_daily_bin65.fits ra=110.885 dec=29.0075 rad=12.0 tmin=256176001.0 tmax=256435201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.18
user 1.26
sys 0.87

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/299814/ft2_4FGL_J0723.5+2900_daily_bin65.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/299814/ft2_4FGL_J0723.5+2900_daily_bin65.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/299814/ft1_filteredMKT_4FGL_J0723.5+2900_daily_bin65.fits evtable="EVENTS" outfile="/scratch/kocevski/299814/ft1_filtered_4FGL_J0723.5+2900_daily_bin65.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 1.18
user 0.33
sys 0.84

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/299814/ft1_filtered_4FGL_J0723.5+2900_daily_bin65.fits" evtable="EVENTS" scfile=/scratch/kocevski/299814/ft2_4FGL_J0723.5+2900_daily_bin65.fits sctable="SC_DATA" outfile=/scratch/kocevski/299814/ltcube_256176001_256435201_4FGL_J0723.5+2900_daily_bin65.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/299814/ft2_4FGL_J0723.5+2900_daily_bin65.fits
.....................!
real 13.69
user 12.53
sys 1.12

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/299814/ft1_filtered_4FGL_J0723.5+2900_daily_bin65.fits evtable="EVENTS" scfile=/scratch/kocevski/299814/ft2_4FGL_J0723.5+2900_daily_bin65.fits sctable="SC_DATA" expcube=/scratch/kocevski/299814/ltcube_256176001_256435201_4FGL_J0723.5+2900_daily_bin65.fits outfile=/scratch/kocevski/299814/expmap_256176001_256435201_4FGL_J0723.5+2900_daily_bin65.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/299814/ltcube_256176001_256435201_4FGL_J0723.5+2900_daily_bin65.fits
.....................!
real 191.16
user 185.87
sys 4.92

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
Extended source IC 443 in ROI with RadialGaussian spatial model.
Added 182 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0723.5+2900 @ 110.885 29.0075

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/299814/ft1_filtered_4FGL_J0723.5+2900_daily_bin65.fits scfile=/scratch/kocevski/299814/ft2_4FGL_J0723.5+2900_daily_bin65.fits outfile=/scratch/kocevski/299814/cmap_256176001_256435201_4FGL_J0723.5+2900_daily_bin65.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=110.885 yref=29.0075 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 1.25
user 0.40
sys 0.82

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/299814/ft1_filtered_4FGL_J0723.5+2900_daily_bin65.fits scfile=/scratch/kocevski/299814/ft2_4FGL_J0723.5+2900_daily_bin65.fits outfile=/scratch/kocevski/299814/cmap_HighResolution_256176001_256435201_4FGL_J0723.5+2900_daily_bin65.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=110.885 yref=29.0075 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 1.22
user 0.39
sys 0.82

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/299814/ft1_filtered_4FGL_J0723.5+2900_daily_bin65.fits evtable="EVENTS" scfile=/scratch/kocevski/299814/ft2_4FGL_J0723.5+2900_daily_bin65.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/299814/Model_4FGL_J0723.5+2900_daily_bin65.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
adding source IC 443
Working on...
/scratch/kocevski/299814/ft1_filtered_4FGL_J0723.5+2900_daily_bin65.fits.....................!
real 122.20
user 119.61
sys 2.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/299814/ft1_filtered_4FGL_J0723.5+2900_daily_bin65.fits', '/scratch/kocevski/299814/ft2_4FGL_J0723.5+2900_daily_bin65.fits', expMap='/scratch/kocevski/299814/expmap_256176001_256435201_4FGL_J0723.5+2900_daily_bin65.fits', expCube='/scratch/kocevski/299814/ltcube_256176001_256435201_4FGL_J0723.5+2900_daily_bin65.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/299814/Model_4FGL_J0723.5+2900_daily_bin65.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0723.5+2900'

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  1.024e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        Index:  2.672e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  5.857e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/299814/ft1_filtered_4FGL_J0723.5+2900_daily_bin65.fits
Spacecraft file(s): /scratch/kocevski/299814/ft2_4FGL_J0723.5+2900_daily_bin65.fits
Exposure map: /scratch/kocevski/299814/expmap_256176001_256435201_4FGL_J0723.5+2900_daily_bin65.fits
Exposure cube: /scratch/kocevski/299814/ltcube_256176001_256435201_4FGL_J0723.5+2900_daily_bin65.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/299814/Model_4FGL_J0723.5+2900_daily_bin65.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) = 10607.0301513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.549       1.0000         .10000E-03   10000.    
     3 'norm      '    16.991       1.0000         .10000E-03   10000.    
     4 'norm      '    1.1591       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10523E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.2771       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10828E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .86530       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.4007       1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.589       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10423E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.3881       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.3939       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0376       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95663       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10606.94     FROM MIGRAD    STATUS=CONVERGED    297 CALLS     1307 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.1170       -.46652E-08** at limit **
   2  Prefactor     14.548        9.7757       -.25710E-06   -.62427E-04
   3  norm          16.987        10.001       -.31424E-06   -.48453E-04
   4  norm          1.1589        .72980       -.10211E-06   -.10907E-02
   5  Prefactor     .10000E-03    4.4092        .54386E-07** at limit **
   6  Prefactor     .10000E-03    13.931        .21359E-06** at limit **
   7  norm          1.2778        1.3091       -.18098E-06   -.91044E-03
   8  Prefactor     .10000E-03    18.849        .28604E-06** at limit **
   9  norm          .85471        4.0449        .39028E-05   -.87248E-03
  10  Prefactor     3.3882        83.869       -.50738E-04   -.13506E-03
  11  Prefactor     18.586        13.011       -.13341E-05   -.16775E-03
  12  Prefactor     .10000E-03    10.533        .26975E-06** at limit **
  13  norm          3.3859        5.7608        .21008E-05   -.24019E-03
  14  Prefactor     4.3939        9.2301       -.16223E-06   -.82116E-04
  15  Normalizat    1.0380        .16354        .28755E-05   -.24151E-03
  16  Prefactor     .95648        .83335E-01   -.60601E-06    .16745E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 14.5477
  norm       = 16.9872
  norm       = 1.15888
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.2778
  Prefactor  = 0.0001
  norm       = 0.854709
  Prefactor  = 3.38823
  Prefactor  = 18.5859
  Prefactor  = 0.0001
  norm       = 3.38595
  Prefactor  = 4.39393
  Normalizat = 1.03802
  Prefactor  = 0.956482
 **********
 **   18 **HESSE 
 **********

 FCN=   10606.94     FROM HESSE     STATUS=OK           205 CALLS     1512 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.1191        .14634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.548        9.7766        .10501E-03   -1.4945    
   3  norm          16.987        10.000        .97164E-04   -1.4883    
   4  norm          1.1589        .71624        .66318E-04   -1.5493    
   5  Prefactor     .10000E-03    4.4907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.2778        1.2813        .11521E-03   -1.5482    
   8  Prefactor     .10000E-03    19.298        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .85471        3.3114        .30107E-03   -1.5523    
  10  Prefactor     3.3882        71.557        .21939E-03   -1.5340    
  11  Prefactor     18.586        12.679        .92895E-04   -1.4845    
  12  Prefactor     .10000E-03    10.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.3859        5.7145        .21981E-03   -1.5340    
  14  Prefactor     4.3939        9.2173        .19213E-03   -1.5289    
  15  Normalizat    1.0380        .18547        .31953E-03   -.91768    
  16  Prefactor     .95648        .95271E-01    .17843E-03   -.94194    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22776e-09
Minuit parameter uncertainties:
  1  6.22546e-07
  2  9.77767
  3  10.0011
  4  0.716241
  5  1.07627e-05
  6  6.08194e-05
  7  1.28129
  8  4.7821e-06
  9  3.3121
  10  31.1839
  11  12.6811
  12  0.000111406
  13  5.71546
  14  9.22024
  15  0.185589
  16  0.0952876
Done.

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

Extracting fit parameters...

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  1.000e-04  1.076e-05  1.000e-04  1.000e+04 ( 1.000e-12)
303        Index:  2.672e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  5.857e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  9.565e-01  9.529e-02  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  1.038e+00  1.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 110.885 29.008
Photon Flux Upper Limit: 7.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/299814/likelihoodResults_256176001_256435201_4FGL_J0723.5+2900_daily_bin65.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) = 10606.9368909
delta logL = -0.00106167482409

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10606.9358293
delta logL = -1.121970854e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6766       1.0000          .0000       10.000    
     3 'Normalizat'    1.0381       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95647       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+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=   10606.83     FROM MIGRAD    STATUS=FAILED       240 CALLS      393 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .38765E-02    .60008E-03** at limit **
   2  Index         9.4008        5.0148        .50000        .21145E-03
   3  Normalizat    1.0124        .30155E-01    .31953E-03    .12545E-03
   4  Prefactor     .96520        .16234E-01    .17843E-03    .26279E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10606.83     FROM SIMPLEX   STATUS=UNCHANGED    145 CALLS      538 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .38765E-02    .77991E-05** at limit **
   2  Index         9.4008        5.0148        .19570E-02    .21145E-03
   3  Normalizat    1.0124        .30155E-01    .16958E-04    .12545E-03
   4  Prefactor     .96520        .16234E-01    .46540E-05    .26279E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10606.83     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      626 TOTAL
                     EDM=   .54E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .16893E-01    .38641E-03** at limit **
   2  Index         9.4008        5.1901        .16117E-01    .16958E-05
   3  Normalizat    1.0124        .51412E-01    .25562E-05    .80054E-04
   4  Prefactor     .96520        .27703E-01    .71371E-05    .22938E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 9.40075
  Normalizat = 1.01244
  Prefactor  = 0.965196
 **********
 **   18 **HESSE 
 **********

 FCN=   10606.83     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      661 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .20225E-01    .36302E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.4008        5.2954        .64467E-03    1.0762    
   3  Normalizat    1.0124        .55091E-01    .51125E-06   -.92615    
   4  Prefactor     .96520        .29530E-01    .14274E-05   -.93899    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.04656e-11
Minuit parameter uncertainties:
  1  1.47273e-07
  2  13.6008
  3  0.0550945
  4  0.0295304
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/299814': 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) = 10606.8307262
delta logL = 0.105103074164

Extracting fit parameters...

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  1.000e-04  1.473e-07  1.000e-04  1.000e+04 ( 1.000e-12)
303        Index:  9.401e+00  1.360e+01  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  5.857e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  9.652e-01  2.953e-02  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  1.012e+00  5.509e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 110.885 29.008

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/299814/cmap_HighResolution_256176001_256435201_4FGL_J0723.5+2900_daily_bin65.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.93e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2021-08-27 04:49:03.130107', job_id='299814', GAL2='0.97', fit_tolerance='1e-08', EG2='1.01', EG='1.04', time_epoch_completed='1630064943.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.05e-01', ts2='0.23', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='65' AND source_name='4FGL J0723.5+2900' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 04:49:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 299814: <4FGL_J0723.5+2900_daily_bin65> in cluster <slac> Done

Job <4FGL_J0723.5+2900_daily_bin65> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Aug 27 04:35:33 2021
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 04:35:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 27 04:35:35 2021
Terminated at Fri Aug 27 04:49:03 2021
Results reported at Fri Aug 27 04:49:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0723.5+2900_daily_bin65 110.885 29.0075 256176001 256435201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0723.5+2900 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   786.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             355.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            810 sec.

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

