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


Performing analysis on: 4FGL_J0723.5+2900_daily_bin1430
RA = 110.885, Dec = 29.0075
tmin = 609984001, tmax = 610243201
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='308852', job_status='RUN', time_executed='2021-08-27 05:05:44.893689', time_epoch_executed='1630065944.89' WHERE source_name='4FGL J0723.5+2900' and cadence='daily' and bin_id='1430'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/308852

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/308852/ft1_4FGL_J0723.5+2900_daily_bin1430.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/308852/ft2_4FGL_J0723.5+2900_daily_bin1430.fits


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

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

Done.
real 5.54
user 4.81
sys 0.70

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/308852/ft1_filtered_4FGL_J0723.5+2900_daily_bin1430.fits" evtable="EVENTS" scfile=/scratch/kocevski/308852/ft2_4FGL_J0723.5+2900_daily_bin1430.fits sctable="SC_DATA" outfile=/scratch/kocevski/308852/ltcube_609984001_610243201_4FGL_J0723.5+2900_daily_bin1430.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/308852/ft2_4FGL_J0723.5+2900_daily_bin1430.fits
.....................!
real 12.38
user 11.53
sys 0.80

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/308852/ft1_filtered_4FGL_J0723.5+2900_daily_bin1430.fits evtable="EVENTS" scfile=/scratch/kocevski/308852/ft2_4FGL_J0723.5+2900_daily_bin1430.fits sctable="SC_DATA" expcube=/scratch/kocevski/308852/ltcube_609984001_610243201_4FGL_J0723.5+2900_daily_bin1430.fits outfile=/scratch/kocevski/308852/expmap_609984001_610243201_4FGL_J0723.5+2900_daily_bin1430.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/308852/ltcube_609984001_610243201_4FGL_J0723.5+2900_daily_bin1430.fits
.....................!
real 191.97
user 185.94
sys 5.54

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/308852/ft1_filtered_4FGL_J0723.5+2900_daily_bin1430.fits scfile=/scratch/kocevski/308852/ft2_4FGL_J0723.5+2900_daily_bin1430.fits outfile=/scratch/kocevski/308852/cmap_609984001_610243201_4FGL_J0723.5+2900_daily_bin1430.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 0.99
user 0.35
sys 0.60

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/308852/ft1_filtered_4FGL_J0723.5+2900_daily_bin1430.fits scfile=/scratch/kocevski/308852/ft2_4FGL_J0723.5+2900_daily_bin1430.fits outfile=/scratch/kocevski/308852/cmap_HighResolution_609984001_610243201_4FGL_J0723.5+2900_daily_bin1430.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 0.98
user 0.38
sys 0.58

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    41.781       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.3143       1.0000         .10000E-03   10000.    
     3 'norm      '    5.6787       1.0000         .10000E-03   10000.    
     4 'norm      '    .41777       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.4698       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .65898       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .21073E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    61.161       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10328E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .29432E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    13.065       1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.028       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.5195       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .93089       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=   7610.021     FROM MIGRAD    STATUS=CONVERGED    288 CALLS     1484 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          41.777        20.411        .23234E-06   -.70195E-04
   2  Prefactor     7.3126        16.559       -.52710E-06   -.69358E-05
   3  norm          5.6781        9.6112        .33121E-05   -.66153E-04
   4  norm          .41804        .62246        .44053E-06    .21218E-02
   5  Prefactor     9.4737        11.363       -.98643E-06    .10651E-03
   6  Prefactor     .10000E-03    6.9868        .28602E-06** at limit **
   7  norm          .65886        1.5030        .63325E-06    .75364E-03
   8  Prefactor     .10000E-03    11.140       -.21873E-06** at limit **
   9  norm          .10000E-03    8.7997       -.99494E-05** at limit **
  10  Prefactor     61.056        55.213       -.91728E-06   -.45681E-06
  11  Prefactor     .10000E-03    21.323       -.15263E-05** at limit **
  12  Prefactor     .10000E-03    62.221       -.13953E-04** at limit **
  13  norm          13.069        17.138       -.59346E-06    .68979E-04
  14  Prefactor     15.998        31.894       -.13739E-05   -.11865E-03
  15  Normalizat    1.5190        .24766        .64362E-05   -.33327E-05
  16  Prefactor     .93108        .11593       -.36624E-05    .64835E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 41.7768
  Prefactor  = 7.31262
  norm       = 5.6781
  norm       = 0.418044
  Prefactor  = 9.4737
  Prefactor  = 0.0001
  norm       = 0.658862
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 61.0563
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 13.0687
  Prefactor  = 15.9978
  Normalizat = 1.51903
  Prefactor  = 0.931085
 **********
 **   18 **HESSE 
 **********

 FCN=   7610.021     FROM HESSE     STATUS=OK           205 CALLS     1689 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          41.777        20.457        .62017E-04   -1.4414    
   2  Prefactor     7.3126        16.545        .14831E-03   -1.5167    
   3  norm          5.6781        9.5965        .84282E-03   -1.5231    
   4  norm          .41804        .51347        .81850E-03   -1.5579    
   5  Prefactor     9.4737        11.420        .13023E-03   -1.5092    
   6  Prefactor     .10000E-03    6.9969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .65886        1.2388        .15825E-02   -1.5546    
   8  Prefactor     .10000E-03    11.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    8.9244        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     61.056        55.242        .25653E-03   -1.4144    
  11  Prefactor     .10000E-03    21.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    62.545        .21398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          13.069        17.173        .11082E-03   -1.4985    
  14  Prefactor     15.998        31.945        .10004E-03   -1.4908    
  15  Normalizat    1.5190        .27169        .33409E-03   -.77245    
  16  Prefactor     .93108        .12733        .20465E-03   -.95063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6263e-09
Minuit parameter uncertainties:
  1  20.4601
  2  16.5553
  3  9.59913
  4  0.513474
  5  11.423
  6  1.6904e-05
  7  1.23887
  8  9.62476e-05
  9  0.000169712
  10  55.2889
  11  0.000111872
  12  0.000430723
  13  17.1795
  14  31.9786
  15  0.271951
  16  0.127374
Done.

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

Extracting fit parameters...

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  9.474e+00  1.142e+01  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.311e-01  1.274e-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.519e+00  2.720e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.83
Ra Dec: 110.885 29.008
Photon Flux Upper Limit: 2.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.67e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/308852/likelihoodResults_609984001_610243201_4FGL_J0723.5+2900_daily_bin1430.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) = 7609.17531568
delta logL = 0.845248395065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7609.17413319
delta logL = 0.846430884179

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9786       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8501       1.0000          .0000       10.000    
     3 'Normalizat'    1.4246       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95902       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=   7609.174     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      267 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9767        54.797        .45059E-02    .51618E-03
   2  Index         3.8504        3.2999        .17626        .12416E-03
   3  Normalizat    1.4247        .77267E-01    .77449E-01   -.17257E-04
   4  Prefactor     .95893        .38311E-01    .45753E-01   -.48514E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.9767
  Index      = 3.85045
  Normalizat = 1.42469
  Prefactor  = 0.958934
 **********
 **   18 **HESSE 
 **********

 FCN=   7609.174     FROM HESSE     STATUS=OK            33 CALLS      300 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9767        11.349        .12156E-03   -1.5262    
   2  Index         3.8504        1.5560        .61085E-02   -.23199    
   3  Normalizat    1.4247        .26631        .34276E-03   -.79917    
   4  Prefactor     .95893        .12683        .20197E-03   -.94111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69315e-08
Minuit parameter uncertainties:
  1  11.354
  2  1.58382
  3  0.266572
  4  0.126874
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/308852': 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) = 7609.17413274
delta logL = 0.846431337915

Extracting fit parameters...

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  4.977e+00  1.135e+01  1.000e-04  1.000e+04 ( 1.000e-12)
303        Index:  3.850e+00  1.584e+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.589e-01  1.269e-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.425e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.77
Ra Dec: 110.885 29.008
Photon Index (Free Index): 3.85 +/- 1.58
Photon Flux (Free Index): 1.58e-07 +/- 1.11e-07
Energy Flux (Free Index): 2.43e-05 +/- 1.79e-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/308852/cmap_HighResolution_609984001_610243201_4FGL_J0723.5+2900_daily_bin1430.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.67e-02', comment='SUCCESS', energy_flux2='2.43e-05', dlogl='8.46e-01', photon_flux2='1.58e-07', job_status='DONE', time_completed='2021-08-27 05:16:26.437776', photon_index_error2='1.58', photon_index2='3.85', ts='0.83', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='2.12e-07', energy_flux_error2='1.79e-05', EG='1.52', time_epoch_completed='1630066586.44', return_code='0', job_id='308852', GAL2='0.96', EG2='1.42', return_code2='0', photon_flux_error2='1.11e-07', ts2='2.77', photon_index='2.67' WHERE bin_id='1430' AND source_name='4FGL J0723.5+2900' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 05:16:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0045>
Subject: Job 308852: <4FGL_J0723.5+2900_daily_bin1430> in cluster <slac> Done

Job <4FGL_J0723.5+2900_daily_bin1430> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 27 05:05:19 2021
Job was executed on host(s) <bullet0045>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 05:05:20 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:05:20 2021
Terminated at Fri Aug 27 05:16:27 2021
Results reported at Fri Aug 27 05:16:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0723.5+2900_daily_bin1430 110.885 29.0075 609984001 610243201 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 :                                   639.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             340.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            668 sec.

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

