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


Performing analysis on: 4FGL_J0723.5+2900_daily_bin449
RA = 110.885, Dec = 29.0075
tmin = 355708801, tmax = 355968001
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='302686', job_status='RUN', time_executed='2021-08-27 04:48:34.784662', time_epoch_executed='1630064914.78' WHERE source_name='4FGL J0723.5+2900' and cadence='daily' and bin_id='449'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/302686

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/302686/ft1_4FGL_J0723.5+2900_daily_bin449.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/302686/ft2_4FGL_J0723.5+2900_daily_bin449.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/302686/ft1_4FGL_J0723.5+2900_daily_bin449.fits outfile=/scratch/kocevski/302686/ft1_filteredMKT_4FGL_J0723.5+2900_daily_bin449.fits ra=110.885 dec=29.0075 rad=12.0 tmin=355708801.0 tmax=355968001.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 6.37
user 4.76
sys 1.57

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/302686/ft1_filtered_4FGL_J0723.5+2900_daily_bin449.fits" evtable="EVENTS" scfile=/scratch/kocevski/302686/ft2_4FGL_J0723.5+2900_daily_bin449.fits sctable="SC_DATA" outfile=/scratch/kocevski/302686/ltcube_355708801_355968001_4FGL_J0723.5+2900_daily_bin449.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/302686/ft2_4FGL_J0723.5+2900_daily_bin449.fits
.....................!
real 13.52
user 11.65
sys 1.82

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/302686/ft1_filtered_4FGL_J0723.5+2900_daily_bin449.fits evtable="EVENTS" scfile=/scratch/kocevski/302686/ft2_4FGL_J0723.5+2900_daily_bin449.fits sctable="SC_DATA" expcube=/scratch/kocevski/302686/ltcube_355708801_355968001_4FGL_J0723.5+2900_daily_bin449.fits outfile=/scratch/kocevski/302686/expmap_355708801_355968001_4FGL_J0723.5+2900_daily_bin449.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/302686/ltcube_355708801_355968001_4FGL_J0723.5+2900_daily_bin449.fits
.....................!
real 192.30
user 186.00
sys 5.87

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/302686/ft1_filtered_4FGL_J0723.5+2900_daily_bin449.fits scfile=/scratch/kocevski/302686/ft2_4FGL_J0723.5+2900_daily_bin449.fits outfile=/scratch/kocevski/302686/cmap_355708801_355968001_4FGL_J0723.5+2900_daily_bin449.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.85
user 0.37
sys 1.46

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/302686/ft1_filtered_4FGL_J0723.5+2900_daily_bin449.fits scfile=/scratch/kocevski/302686/ft2_4FGL_J0723.5+2900_daily_bin449.fits outfile=/scratch/kocevski/302686/cmap_HighResolution_355708801_355968001_4FGL_J0723.5+2900_daily_bin449.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.88
user 0.38
sys 1.45

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/302686/ft1_filtered_4FGL_J0723.5+2900_daily_bin449.fits evtable="EVENTS" scfile=/scratch/kocevski/302686/ft2_4FGL_J0723.5+2900_daily_bin449.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/302686/Model_4FGL_J0723.5+2900_daily_bin449.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/302686/ft1_filtered_4FGL_J0723.5+2900_daily_bin449.fits.....................!
real 106.19
user 102.95
sys 2.90

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/302686/ft1_filtered_4FGL_J0723.5+2900_daily_bin449.fits', '/scratch/kocevski/302686/ft2_4FGL_J0723.5+2900_daily_bin449.fits', expMap='/scratch/kocevski/302686/expmap_355708801_355968001_4FGL_J0723.5+2900_daily_bin449.fits', expCube='/scratch/kocevski/302686/ltcube_355708801_355968001_4FGL_J0723.5+2900_daily_bin449.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/302686/Model_4FGL_J0723.5+2900_daily_bin449.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/302686/ft1_filtered_4FGL_J0723.5+2900_daily_bin449.fits
Spacecraft file(s): /scratch/kocevski/302686/ft2_4FGL_J0723.5+2900_daily_bin449.fits
Exposure map: /scratch/kocevski/302686/expmap_355708801_355968001_4FGL_J0723.5+2900_daily_bin449.fits
Exposure cube: /scratch/kocevski/302686/ltcube_355708801_355968001_4FGL_J0723.5+2900_daily_bin449.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/302686/Model_4FGL_J0723.5+2900_daily_bin449.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) = 9142.41514778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9815       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .28061       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .27535E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.576       1.0000         .10000E-03   10000.    
     7 'norm      '    1.4351       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .35971E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.247       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.3798       1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.014       1.0000         .10000E-03   10000.    
    13 'norm      '    15.360       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1359       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .96028       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.

 FCN=   9142.246     FROM MIGRAD    STATUS=CONVERGED    379 CALLS     1382 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.8938        .90712E-02** at limit **
   2  Prefactor     1.9817        6.8793        .73609E-02    .56681E-03
   3  norm          .10000E-03    2.8740        .90712E-02** at limit **
   4  norm          .28063        .36433        .10340E-01    .79903E-03
   5  Prefactor     .10000E-03    4.0131        .58527E-01** at limit **
   6  Prefactor     16.584        9.8878        .24594E-02    .71660E-04
   7  norm          1.4228        1.3982        .90097E-02   -.30831E-03
   8  Prefactor     .28465        10.042        .98115E-01    .25661E-03
   9  norm          .10000E-03    1.2068        .90712E-02** at limit **
  10  Prefactor     27.267        26.431        .19187E-02   -.45979E-04
  11  Prefactor     7.3609        18.087        .36910E-02    .69056E-04
  12  Prefactor     24.026        25.694        .20435E-02   -.30653E-04
  13  norm          15.376        12.048        .25549E-02   -.70706E-04
  14  Prefactor     .10000E-03    9.3304        .90712E-02** at limit **
  15  Normalizat    1.1348        .17720        .69147E-01   -.21975E-04
  16  Prefactor     .96062        .88890E-01    .45769E-01    .17716E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.98166
  norm       = 0.0001
  norm       = 0.280632
  Prefactor  = 0.0001
  Prefactor  = 16.5842
  norm       = 1.42283
  Prefactor  = 0.284651
  norm       = 0.0001
  Prefactor  = 27.2669
  Prefactor  = 7.36086
  Prefactor  = 24.0261
  norm       = 15.3758
  Prefactor  = 0.0001
  Normalizat = 1.13485
  Prefactor  = 0.960618
 **********
 **   18 **HESSE 
 **********

 FCN=   9142.246     FROM HESSE     STATUS=OK           217 CALLS     1599 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.9027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.9817        6.8730        .29444E-03   -1.5426    
   3  norm          .10000E-03    2.8801        .15830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .28063        .32974        .63684E-03   -1.5602    
   5  Prefactor     .10000E-03    23.932        .36210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.584        9.8972        .98374E-04   -1.4893    
   7  norm          1.4228        1.4328        .10227E-03   -1.5469    
   8  Prefactor     .28465        13.521        .82000E-01   -1.5601    
   9  norm          .10000E-03    1.2110        .10243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     27.267        26.476        .76749E-04   -1.4663    
  11  Prefactor     7.3609        18.102        .14764E-03   -1.5165    
  12  Prefactor     24.026        25.693        .81742E-04   -1.4727    
  13  norm          15.376        12.098        .10220E-03   -1.4924    
  14  Prefactor     .10000E-03    9.3369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1348        .20076        .30594E-03   -.88641    
  16  Prefactor     .96062        .10198        .17839E-03   -.94054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.22703e-10
Minuit parameter uncertainties:
  1  4.07466e-05
  2  6.87577
  3  2.67842e-06
  4  0.32974
  5  6.97268e-05
  6  9.89821
  7  1.43281
  8  3.92398
  9  1.06223e-06
  10  26.4879
  11  18.1158
  12  25.7046
  13  12.1002
  14  2.30796e-05
  15  0.200898
  16  0.101996
Done.

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

Extracting fit parameters...

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  1.000e-04  6.973e-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.606e-01  1.020e-01  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.135e+00  2.009e-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: 8.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/302686/likelihoodResults_355708801_355968001_4FGL_J0723.5+2900_daily_bin449.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) = 9142.24658935
delta logL = -0.000195816881387

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9142.24638402
delta logL = 9.51438414631e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13912E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8092       1.0000          .0000       10.000    
     3 'Normalizat'    1.1349       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96059       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=   9142.155     FROM MIGRAD    STATUS=FAILED       169 CALLS      341 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35448        99.608        .12706E-03   -.84999E-04
   2  Index         4.1967        7.8499        .94601E-02    .12723E-03
   3  Normalizat    1.1104        .16603        .30898E-03   -.35691E-04
   4  Prefactor     .96764        .88408E-01    .17784E-03   -.12913E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9142.155     FROM SIMPLEX   STATUS=UNCHANGED     92 CALLS      433 TOTAL
                     EDM=   .89E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35448        99.608        .13855E-03   -.84999E-04
   2  Index         4.1967        7.8499        .24802E-02    .12723E-03
   3  Normalizat    1.1104        .16603        .10741E-03   -.35691E-04
   4  Prefactor     .96764        .88408E-01    .73540E-04   -.12913E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9142.155     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      467 TOTAL
                     EDM=   .44E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35448        5.8899        .50825E-05   -.89473E-04
   2  Index         4.1967        6.9421        .18920E-02   -.31125E-05
   3  Normalizat    1.1104        .19268        .12359E-04   -.35691E-04
   4  Prefactor     .96764        .10182        .71134E-05   -.12786E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.354483
  Index      = 4.19675
  Normalizat = 1.11044
  Prefactor  = 0.967638
 **********
 **   18 **HESSE 
 **********

 FCN=   9142.155     FROM HESSE     STATUS=OK            23 CALLS      490 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35448        4.1047        .10165E-05   -1.5589    
   2  Index         4.1967        3.8015        .75681E-04   -.16135    
   3  Normalizat    1.1104        .19297        .24718E-05   -.89417    
   4  Prefactor     .96764        .10190        .14227E-05   -.93816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83521e-12
Minuit parameter uncertainties:
  1  2.41239
  2  4.33944
  3  0.193089
  4  0.101924
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/302686': 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) = 9142.15481785
delta logL = 0.0915756850482

Extracting fit parameters...

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  3.545e-01  2.412e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        Index:  4.197e+00  4.339e+00  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.676e-01  1.019e-01  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.110e+00  1.931e-01  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/302686/cmap_HighResolution_355708801_355968001_4FGL_J0723.5+2900_daily_bin449.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.70e-03', job_status='DONE', photon_flux_upper_limit='8.52e-08', time_completed='2021-08-27 05:00:54.762257', job_id='302686', GAL2='0.97', fit_tolerance='1e-08', EG2='1.11', EG='1.13', time_epoch_completed='1630065654.76', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='9.16e-02', ts2='0.21', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='449' AND source_name='4FGL J0723.5+2900' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 05:00:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 302686: <4FGL_J0723.5+2900_daily_bin449> in cluster <slac> Done

Job <4FGL_J0723.5+2900_daily_bin449> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 27 04:45:32 2021
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 04:45:33 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:45:33 2021
Terminated at Fri Aug 27 05:00:55 2021
Results reported at Fri Aug 27 05:00:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0723.5+2900_daily_bin449 110.885 29.0075 355708801 355968001 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 :                                   758.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             300.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            923 sec.

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

