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


Performing analysis on: 4FGL_J0723.5+2900_daily_bin311
RA = 110.885, Dec = 29.0075
tmin = 319939201, tmax = 320198401
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='301239', job_status='RUN', time_executed='2021-08-27 04:44:36.079867', time_epoch_executed='1630064676.08' WHERE source_name='4FGL J0723.5+2900' and cadence='daily' and bin_id='311'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/301239

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/301239/ft1_4FGL_J0723.5+2900_daily_bin311.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/301239/ft2_4FGL_J0723.5+2900_daily_bin311.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/301239/ft1_4FGL_J0723.5+2900_daily_bin311.fits outfile=/scratch/kocevski/301239/ft1_filteredMKT_4FGL_J0723.5+2900_daily_bin311.fits ra=110.885 dec=29.0075 rad=12.0 tmin=319939201.0 tmax=320198401.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 4.64
user 3.25
sys 1.35

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/301239/ft1_filtered_4FGL_J0723.5+2900_daily_bin311.fits" evtable="EVENTS" scfile=/scratch/kocevski/301239/ft2_4FGL_J0723.5+2900_daily_bin311.fits sctable="SC_DATA" outfile=/scratch/kocevski/301239/ltcube_319939201_320198401_4FGL_J0723.5+2900_daily_bin311.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/301239/ft2_4FGL_J0723.5+2900_daily_bin311.fits
.....................!
real 13.09
user 11.40
sys 1.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/301239/ft1_filtered_4FGL_J0723.5+2900_daily_bin311.fits evtable="EVENTS" scfile=/scratch/kocevski/301239/ft2_4FGL_J0723.5+2900_daily_bin311.fits sctable="SC_DATA" expcube=/scratch/kocevski/301239/ltcube_319939201_320198401_4FGL_J0723.5+2900_daily_bin311.fits outfile=/scratch/kocevski/301239/expmap_319939201_320198401_4FGL_J0723.5+2900_daily_bin311.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/301239/ltcube_319939201_320198401_4FGL_J0723.5+2900_daily_bin311.fits
.....................!
real 191.46
user 184.87
sys 6.06

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/301239/ft1_filtered_4FGL_J0723.5+2900_daily_bin311.fits scfile=/scratch/kocevski/301239/ft2_4FGL_J0723.5+2900_daily_bin311.fits outfile=/scratch/kocevski/301239/cmap_319939201_320198401_4FGL_J0723.5+2900_daily_bin311.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.69
user 0.36
sys 1.29

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/301239/ft1_filtered_4FGL_J0723.5+2900_daily_bin311.fits scfile=/scratch/kocevski/301239/ft2_4FGL_J0723.5+2900_daily_bin311.fits outfile=/scratch/kocevski/301239/cmap_HighResolution_319939201_320198401_4FGL_J0723.5+2900_daily_bin311.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.73
user 0.38
sys 1.29

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    18.095       1.0000         .10000E-03   10000.    
     4 'norm      '    4.3892       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.7573       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .88847E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .59776       1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.130       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.6384       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .96073       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .97390       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=   8105.698     FROM MIGRAD    STATUS=CONVERGED    309 CALLS     1479 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.9471       -.18919E-05** at limit **
   2  Prefactor     .10000E-03    3.7643       -.19576E-07** at limit **
   3  norm          18.094        11.050       -.20280E-06   -.86101E-04
   4  norm          4.3894        1.0786       -.30200E-07   -.45481E-03
   5  Prefactor     2.7576        5.9684       -.64943E-06   -.80952E-03
   6  Prefactor     .10000E-03    10.903        .33282E-05** at limit **
   7  norm          .10000E-03    .96256       -.67904E-07** at limit **
   8  Prefactor     .10003E-03    6.5546        .35204E-08** at limit **
   9  norm          .59945        2.5799        .49267E-05   -.20407E-02
  10  Prefactor     19.105        36.105       -.37562E-04   -.49769E-03
  11  Prefactor     .10000E-03    18.291        .63463E-05** at limit **
  12  Prefactor     2.6332        169.01       -.69867E-05   -.12042E-03
  13  norm          .10000E-03    7.2102        .91160E-06** at limit **
  14  Prefactor     .10000E-03    15.552       -.89217E-05** at limit **
  15  Normalizat    .96066        .17570        .21014E-05   -.90110E-03
  16  Prefactor     .97388        .90496E-01    .18314E-06   -.80674E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 18.0935
  norm       = 4.38937
  Prefactor  = 2.75757
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100031
  norm       = 0.599453
  Prefactor  = 19.1051
  Prefactor  = 0.0001
  Prefactor  = 2.63318
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.960656
  Prefactor  = 0.973875
 **********
 **   18 **HESSE 
 **********

 FCN=   8105.698     FROM HESSE     STATUS=OK           199 CALLS     1678 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.0065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.7768        .17057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          18.094        11.048        .94154E-04   -1.4857    
   4  norm          4.3894        1.0787        .44102E-04   -1.5289    
   5  Prefactor     2.7576        5.9654        .24514E-03   -1.5376    
   6  Prefactor     .10000E-03    11.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .99470        .17159E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10003E-03    43.110        .44016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .59945        8.1930        .22923E-02   -1.5553    
  10  Prefactor     19.105        35.629        .91572E-04   -1.4833    
  11  Prefactor     .10000E-03    18.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.6332        165.04        .25102E-03   -1.5383    
  13  norm          .10000E-03    7.2728        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .96066        .19452        .31920E-03   -.94360    
  16  Prefactor     .97388        .10164        .17420E-03   -.93605    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.92349e-09
Minuit parameter uncertainties:
  1  8.04826e-06
  2  5.59096e-06
  3  11.049
  4  1.07867
  5  5.96664
  6  4.17643e-05
  7  3.33229e-06
  8  0.00232305
  9  4.43267
  10  35.6685
  11  0.000130537
  12  41.8132
  13  1.67634e-06
  14  7.8526e-06
  15  0.194667
  16  0.101658
Done.

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

Extracting fit parameters...

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  2.758e+00  5.967e+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:  9.739e-01  1.017e-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:  9.607e-01  1.947e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/301239/likelihoodResults_319939201_320198401_4FGL_J0723.5+2900_daily_bin311.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) = 8105.68530153
delta logL = 0.012236889841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8105.68106296
delta logL = 0.016475460744

Fit tolerance = 1e-08

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

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

 FCN=   8105.681     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      274 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1985        7.5746        .25357E-03   -.15064E-04
   2  Index         3.0187        2.3922        .92132E-02    .82996E-05
   3  Normalizat    .95513        .18858        .32003E-03    .28419E-04
   4  Prefactor     .97582        .10169        .17405E-03    .62365E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.19852
  Index      = 3.0187
  Normalizat = 0.95513
  Prefactor  = 0.975815
 **********
 **   18 **HESSE 
 **********

 FCN=   8105.681     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1985        6.4521        .10143E-04   -1.5411    
   2  Index         3.0187        2.0636        .36853E-03   -.40744    
   3  Normalizat    .95513        .18866        .12801E-04   -.94549    
   4  Prefactor     .97582        .10162        .34811E-04   -.93540    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01119e-11
Minuit parameter uncertainties:
  1  6.45418
  2  2.14036
  3  0.188787
  4  0.101638
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/301239': 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) = 8105.68106293
delta logL = 0.0164754884045

Extracting fit parameters...

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  2.199e+00  6.454e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        Index:  3.019e+00  2.140e+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.758e-01  1.016e-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:  9.551e-01  1.888e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.26
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/301239/cmap_HighResolution_319939201_320198401_4FGL_J0723.5+2900_daily_bin311.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.64e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-08-27 04:55:39.697141', job_id='301239', GAL2='0.98', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1630065339.7', return_code2='0', ts='0.26', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.65e-02', ts2='0.30', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='311' AND source_name='4FGL J0723.5+2900' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 04:55:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 301239: <4FGL_J0723.5+2900_daily_bin311> in cluster <slac> Done

Job <4FGL_J0723.5+2900_daily_bin311> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Aug 27 04:40:35 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 04:40:36 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:40:36 2021
Terminated at Fri Aug 27 04:55:40 2021
Results reported at Fri Aug 27 04:55:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0723.5+2900_daily_bin311 110.885 29.0075 319939201 320198401 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 :                                   680.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             280.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            905 sec.

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

