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


Performing analysis on: 4FGL_J0723.5+2900_daily_bin1299
RA = 110.885, Dec = 29.0075
tmin = 576028801, tmax = 576288001
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='307514', job_status='RUN', time_executed='2021-08-27 05:03:33.793439', time_epoch_executed='1630065813.79' WHERE source_name='4FGL J0723.5+2900' and cadence='daily' and bin_id='1299'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307514

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307514/ft1_4FGL_J0723.5+2900_daily_bin1299.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307514/ft2_4FGL_J0723.5+2900_daily_bin1299.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307514/ft1_4FGL_J0723.5+2900_daily_bin1299.fits outfile=/scratch/kocevski/307514/ft1_filteredMKT_4FGL_J0723.5+2900_daily_bin1299.fits ra=110.885 dec=29.0075 rad=12.0 tmin=576028801.0 tmax=576288001.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 13.06
user 3.45
sys 9.50

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/307514/ft2_4FGL_J0723.5+2900_daily_bin1299.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/307514/ft1_filteredMKT_4FGL_J0723.5+2900_daily_bin1299.fits evtable="EVENTS" outfile="/scratch/kocevski/307514/ft1_filtered_4FGL_J0723.5+2900_daily_bin1299.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 9.88
user 0.32
sys 9.50

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307514/ft1_filtered_4FGL_J0723.5+2900_daily_bin1299.fits" evtable="EVENTS" scfile=/scratch/kocevski/307514/ft2_4FGL_J0723.5+2900_daily_bin1299.fits sctable="SC_DATA" outfile=/scratch/kocevski/307514/ltcube_576028801_576288001_4FGL_J0723.5+2900_daily_bin1299.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/307514/ft2_4FGL_J0723.5+2900_daily_bin1299.fits
.....................!
real 23.33
user 12.56
sys 10.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307514/ft1_filtered_4FGL_J0723.5+2900_daily_bin1299.fits evtable="EVENTS" scfile=/scratch/kocevski/307514/ft2_4FGL_J0723.5+2900_daily_bin1299.fits sctable="SC_DATA" expcube=/scratch/kocevski/307514/ltcube_576028801_576288001_4FGL_J0723.5+2900_daily_bin1299.fits outfile=/scratch/kocevski/307514/expmap_576028801_576288001_4FGL_J0723.5+2900_daily_bin1299.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/307514/ltcube_576028801_576288001_4FGL_J0723.5+2900_daily_bin1299.fits
.....................!
real 200.73
user 185.13
sys 15.21

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/307514/ft1_filtered_4FGL_J0723.5+2900_daily_bin1299.fits scfile=/scratch/kocevski/307514/ft2_4FGL_J0723.5+2900_daily_bin1299.fits outfile=/scratch/kocevski/307514/cmap_576028801_576288001_4FGL_J0723.5+2900_daily_bin1299.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 10.70
user 0.35
sys 9.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307514/ft1_filtered_4FGL_J0723.5+2900_daily_bin1299.fits scfile=/scratch/kocevski/307514/ft2_4FGL_J0723.5+2900_daily_bin1299.fits outfile=/scratch/kocevski/307514/cmap_HighResolution_576028801_576288001_4FGL_J0723.5+2900_daily_bin1299.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 9.48
user 0.38
sys 8.93

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    35.492       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    12.635       1.0000         .10000E-03   10000.    
     4 'norm      '    .51270       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9172       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.107       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.6828       1.0000         .10000E-03   10000.    
     9 'norm      '    5.8166       1.0000         .10000E-03   10000.    
    10 'Prefactor '    29.339       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.867       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .84123       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0365       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=   7871.596     FROM MIGRAD    STATUS=CONVERGED    279 CALLS     1461 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          35.491        15.073       -.74589E-06    .23665E-04
   2  Prefactor     .10000E-03    3.9393       -.41270E-07** at limit **
   3  norm          12.635        11.479        .17386E-06   -.29451E-04
   4  norm          .51271        .48984       -.92044E-08   -.54645E-03
   5  Prefactor     1.9170        5.9060       -.31192E-05   -.99142E-03
   6  Prefactor     13.108        11.047        .25019E-06   -.54213E-04
   7  norm          .10000E-03    .79332       -.64217E-07** at limit **
   8  Prefactor     6.6834        10.531        .10702E-05   -.87779E-04
   9  norm          5.8162        4.9319       -.32722E-05   -.60453E-03
  10  Prefactor     29.372        45.546        .56894E-04    .14795E-04
  11  Prefactor     .10000E-03    10.279        .96579E-07** at limit **
  12  Prefactor     .10000E-03    18.005       -.15274E-05** at limit **
  13  norm          .10000E-03    2.2920        .42132E-07** at limit **
  14  Prefactor     14.865        41.593       -.44539E-05   -.20282E-04
  15  Normalizat    .84108        .19302       -.83373E-05    .24444E-03
  16  Prefactor     1.0366        .96552E-01    .17913E-05   -.38066E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 35.4907
  Prefactor  = 0.0001
  norm       = 12.635
  norm       = 0.512713
  Prefactor  = 1.91698
  Prefactor  = 13.1075
  norm       = 0.0001
  Prefactor  = 6.68337
  norm       = 5.81619
  Prefactor  = 29.3722
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 14.8653
  Normalizat = 0.841085
  Prefactor  = 1.03657
 **********
 **   18 **HESSE 
 **********

 FCN=   7871.596     FROM HESSE     STATUS=OK           207 CALLS     1668 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          35.491        15.089        .67268E-04   -1.4516    
   2  Prefactor     .10000E-03    3.9548        .17195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.635        11.476        .11269E-03   -1.4997    
   4  norm          .51271        .45424        .58626E-03   -1.5565    
   5  Prefactor     1.9170        5.9667        .30015E-03   -1.5431    
   6  Prefactor     13.108        11.066        .11064E-03   -1.4984    
   7  norm          .10000E-03    .79582        .76660E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.6834        10.478        .15522E-03   -1.5191    
   9  norm          5.8162        4.9426        .15057E-03   -1.5226    
  10  Prefactor     29.372        45.577        .73968E-04   -1.4624    
  11  Prefactor     .10000E-03    10.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.2946        .13117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.865        41.855        .10388E-03   -1.4937    
  15  Normalizat    .84108        .21548        .33635E-03   -.98562    
  16  Prefactor     1.0366        .10876        .16982E-03   -.91520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94801e-09
Minuit parameter uncertainties:
  1  15.0908
  2  1.40555e-05
  3  11.4782
  4  0.454247
  5  5.96856
  6  11.0673
  7  1.20192e-06
  8  10.481
  9  4.94299
  10  45.6309
  11  2.08864e-05
  12  0.000399956
  13  1.92677e-06
  14  41.9375
  15  0.215704
  16  0.108781
Done.

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

Extracting fit parameters...

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  1.917e+00  5.969e+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

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.037e+00  1.088e-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:  8.411e-01  2.157e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 110.885 29.008
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/307514/likelihoodResults_576028801_576288001_4FGL_J0723.5+2900_daily_bin1299.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7870.5971776
delta logL = 0.99852380086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7870.53630388
delta logL = 1.05939752165

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53703       1.0000         .10000E-03   10000.    
     2 'Index     '    4.8164       1.0000          .0000       10.000    
     3 'Normalizat'    .76272       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0615       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=   7870.536     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      249 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53741        5.1215        .10467E-01   -.19946E-03
   2  Index         4.8168        2.7998        .18369        .16979E-03
   3  Normalizat    .76320        .42428E-01    .79426E-01    .35791E-04
   4  Prefactor     1.0612        .23660E-01    .39280E-01   -.29308E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.537408
  Index      = 4.81684
  Normalizat = 0.763198
  Prefactor  = 1.06124
 **********
 **   18 **HESSE 
 **********

 FCN=   7870.536     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      284 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53741        14.832        .48050E-03   -1.5561    
   2  Index         4.8168        7.3678        .63134E-02   -.36641E-01
   3  Normalizat    .76320        .16291        .35164E-03   -1.0145    
   4  Prefactor     1.0612        .88742E-01    .16804E-03   -.90715    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.54026e-08
Minuit parameter uncertainties:
  1  5.64751
  2  6.76345
  3  0.163014
  4  0.0887544
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307514': 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) = 7870.53629745
delta logL = 1.05940395556

Extracting fit parameters...

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  5.374e-01  5.648e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        Index:  4.817e+00  6.763e+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:  1.061e+00  8.875e-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:  7.632e-01  1.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.45
Ra Dec: 110.885 29.008
Photon Index (Free Index): 4.82 +/- 6.76
Photon Flux (Free Index): 7.06e-08 +/- 5.53e-08
Energy Flux (Free Index): 9.54e-06 +/- 1.12e-05

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/307514/cmap_HighResolution_576028801_576288001_4FGL_J0723.5+2900_daily_bin1299.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.05e-03', comment='SUCCESS', energy_flux2='9.54e-06', dlogl='1.06e+00', photon_flux2='7.06e-08', job_status='DONE', time_completed='2021-08-27 05:17:09.450928', photon_index_error2='6.76', photon_index2='4.82', ts='0.13', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='1.12e-05', EG='0.84', time_epoch_completed='1630066629.45', return_code='0', job_id='307514', GAL2='1.06', EG2='0.76', return_code2='102', photon_flux_error2='5.53e-08', ts2='2.45', photon_index='2.67' WHERE bin_id='1299' AND source_name='4FGL J0723.5+2900' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 05:17:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 307514: <4FGL_J0723.5+2900_daily_bin1299> in cluster <slac> Done

Job <4FGL_J0723.5+2900_daily_bin1299> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Aug 27 05:00:47 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 05:00:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 27 05:00:48 2021
Terminated at Fri Aug 27 05:17:11 2021
Results reported at Fri Aug 27 05:17:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0723.5+2900_daily_bin1299 110.885 29.0075 576028801 576288001 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 :                                   924.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            984 sec.

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

