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


Performing analysis on: 4FGL_J0723.5+2900_daily_bin364
RA = 110.885, Dec = 29.0075
tmin = 333676801, tmax = 333936001
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='301313', job_status='RUN', time_executed='2021-08-27 04:42:17.741013', time_epoch_executed='1630064537.74' WHERE source_name='4FGL J0723.5+2900' and cadence='daily' and bin_id='364'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/301313

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/301313/ft1_4FGL_J0723.5+2900_daily_bin364.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/301313/ft2_4FGL_J0723.5+2900_daily_bin364.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/301313/ft1_4FGL_J0723.5+2900_daily_bin364.fits outfile=/scratch/kocevski/301313/ft1_filteredMKT_4FGL_J0723.5+2900_daily_bin364.fits ra=110.885 dec=29.0075 rad=12.0 tmin=333676801.0 tmax=333936001.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 9.13
user 3.60
sys 4.75

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/301313/ft1_filtered_4FGL_J0723.5+2900_daily_bin364.fits" evtable="EVENTS" scfile=/scratch/kocevski/301313/ft2_4FGL_J0723.5+2900_daily_bin364.fits sctable="SC_DATA" outfile=/scratch/kocevski/301313/ltcube_333676801_333936001_4FGL_J0723.5+2900_daily_bin364.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/301313/ft2_4FGL_J0723.5+2900_daily_bin364.fits
.....................!
real 18.34
user 11.72
sys 5.51

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/301313/ft1_filtered_4FGL_J0723.5+2900_daily_bin364.fits evtable="EVENTS" scfile=/scratch/kocevski/301313/ft2_4FGL_J0723.5+2900_daily_bin364.fits sctable="SC_DATA" expcube=/scratch/kocevski/301313/ltcube_333676801_333936001_4FGL_J0723.5+2900_daily_bin364.fits outfile=/scratch/kocevski/301313/expmap_333676801_333936001_4FGL_J0723.5+2900_daily_bin364.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/301313/ltcube_333676801_333936001_4FGL_J0723.5+2900_daily_bin364.fits
.....................!
real 197.30
user 184.75
sys 11.72

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/301313/ft1_filtered_4FGL_J0723.5+2900_daily_bin364.fits scfile=/scratch/kocevski/301313/ft2_4FGL_J0723.5+2900_daily_bin364.fits outfile=/scratch/kocevski/301313/cmap_333676801_333936001_4FGL_J0723.5+2900_daily_bin364.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 4.54
user 0.38
sys 4.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/301313/ft1_filtered_4FGL_J0723.5+2900_daily_bin364.fits scfile=/scratch/kocevski/301313/ft2_4FGL_J0723.5+2900_daily_bin364.fits outfile=/scratch/kocevski/301313/cmap_HighResolution_333676801_333936001_4FGL_J0723.5+2900_daily_bin364.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 5.05
user 0.38
sys 4.59

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8536       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    16.553       1.0000         .10000E-03   10000.    
     4 'norm      '    .44613       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.167       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.5653       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.5347       1.0000         .10000E-03   10000.    
     9 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.721       1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.707       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10215E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.5905       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .85939       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0505       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=   7804.328     FROM MIGRAD    STATUS=CONVERGED    294 CALLS     1265 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8540        9.6222       -.35905E-06   -.12702E-03
   2  Prefactor     .10000E-03    2.6931       -.14850E-07** at limit **
   3  norm          16.553        10.883       -.10118E-06   -.26630E-04
   4  norm          .44618        .66978       -.17876E-06   -.22156E-02
   5  Prefactor     13.166        6.9647        .22941E-06   -.43110E-04
   6  Prefactor     .10000E-03    10.027        .30016E-06** at limit **
   7  norm          1.5654        1.5333        .10531E-06    .18407E-03
   8  Prefactor     3.5339        11.943       -.91652E-06   -.15515E-03
   9  norm          .10000E-03    1.6301        .32607E-06** at limit **
  10  Prefactor     12.705        21.773       -.23920E-04   -.25511E-04
  11  Prefactor     34.704        18.959       -.12698E-05   -.18458E-04
  12  Prefactor     .10000E-03    12.509       -.44905E-06** at limit **
  13  norm          .10001E-03    5.7369        .47744E-06** at limit **
  14  Prefactor     6.6067        25.980        .39768E-04   -.13298E-04
  15  Normalizat    .85945        .18345        .46880E-06   -.89126E-04
  16  Prefactor     1.0505        .96212E-01   -.85739E-07   -.38188E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.85399
  Prefactor  = 0.0001
  norm       = 16.5531
  norm       = 0.44618
  Prefactor  = 13.166
  Prefactor  = 0.0001
  norm       = 1.56535
  Prefactor  = 3.53388
  norm       = 0.0001
  Prefactor  = 12.7049
  Prefactor  = 34.7043
  Prefactor  = 0.0001
  norm       = 0.000100006
  Prefactor  = 6.6067
  Normalizat = 0.859449
  Prefactor  = 1.05048
 **********
 **   18 **HESSE 
 **********

 FCN=   7804.328     FROM HESSE     STATUS=OK           211 CALLS     1476 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8540        9.6274        .18259E-03   -1.5267    
   2  Prefactor     .10000E-03    2.7068        .14158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          16.553        10.877        .98442E-04   -1.4894    
   4  norm          .44618        .61424        .83785E-03   -1.5574    
   5  Prefactor     13.166        6.9699        .11039E-03   -1.4982    
   6  Prefactor     .10000E-03    10.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.5654        1.5408        .95233E-04   -1.5458    
   8  Prefactor     3.5339        11.878        .21501E-03   -1.5332    
   9  norm          .10000E-03    1.6643        .10999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.705        21.814        .11231E-03   -1.4995    
  11  Prefactor     34.704        18.972        .68022E-04   -1.4529    
  12  Prefactor     .10000E-03    12.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10001E-03    27.694        .40521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.6067        25.882        .15632E-03   -1.5194    
  15  Normalizat    .85945        .20017        .33529E-03   -.97900    
  16  Prefactor     1.0505        .10698        .17123E-03   -.91065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.4773e-10
Minuit parameter uncertainties:
  1  9.63045
  2  5.28587e-07
  3  10.8782
  4  0.614252
  5  6.97032
  6  9.01986e-08
  7  1.54079
  8  11.8858
  9  4.06178e-05
  10  21.8277
  11  18.9754
  12  9.4917e-05
  13  0.000834088
  14  25.9262
  15  0.200347
  16  0.107005
Done.

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

Extracting fit parameters...

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  1.317e+01  6.970e+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.050e+00  1.070e-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.594e-01  2.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.78
Ra Dec: 110.885 29.008
Photon Index (Fixed Index): 2.67 +/- 0.00
Photon Flux (Fixed Index): 8.87e-08 +/- 4.69e-08
Energy Flux (Fixed Index): 2.18e-05 +/- 1.16e-05

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) = 7804.20761786
delta logL = 0.120037937968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7804.20280211
delta logL = 0.124853682109

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.286       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3972       1.0000          .0000       10.000    
     3 'Normalizat'    .87686       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0445       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=   7804.203     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      263 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.316        170.77        .25611E-02   -.41265E-04
   2  Index         2.3996        6.1927        .21784        .21175E-05
   3  Normalizat    .87642        .10724        .75104E-01    .82855E-05
   4  Prefactor     1.0445        .48713E-01    .40246E-01   -.51241E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3157
  Index      = 2.39961
  Normalizat = 0.876425
  Prefactor  = 1.0445
 **********
 **   18 **HESSE 
 **********

 FCN=   7804.203     FROM HESSE     STATUS=OK            31 CALLS      294 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.316        8.8549        .10244E-03   -1.4925    
   2  Index         2.3996        .52693        .74393E-02   -.54694    
   3  Normalizat    .87642        .19257        .33238E-03   -.97294    
   4  Prefactor     1.0445        .10585        .17164E-03   -.91260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83124e-11
Minuit parameter uncertainties:
  1  8.85565
  2  0.52828
  3  0.192723
  4  0.105867
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/301313': 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) = 7804.20277741
delta logL = 0.124878380943

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.045e+00  1.059e-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.764e-01  1.927e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.98
Ra Dec: 110.885 29.008
Photon Index (Free Index): 2.40 +/- 0.53
Photon Flux (Free Index): 7.61e-08 +/- 4.94e-08
Energy Flux (Free Index): 2.50e-05 +/- 1.60e-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/301313/cmap_HighResolution_333676801_333936001_4FGL_J0723.5+2900_daily_bin364.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.87e-08', energy_flux2='2.50e-05', photon_flux_error='4.69e-08', dlogl='1.25e-01', energy_flux='2.18e-05', photon_flux2='7.61e-08', job_status='DONE', time_completed='2021-08-27 04:53:03.463661', photon_index_error2='0.53', photon_index2='2.40', ts='6.78', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.60e-05', EG='0.86', time_epoch_completed='1630065183.46', return_code='0', job_id='301313', GAL2='1.04', EG2='0.88', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='4.94e-08', ts2='6.98', photon_index='2.67' WHERE bin_id='364' AND source_name='4FGL J0723.5+2900' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 04:53:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 301313: <4FGL_J0723.5+2900_daily_bin364> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0723.5+2900_daily_bin364 110.885 29.0075 333676801 333936001 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 :                                   712.05 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             303.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            744 sec.

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

