/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 103 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 = 7496
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0723.5+2900_daily_bin20
RA = 110.885, Dec = 29.0075
tmin = 244512001, tmax = 244771201
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='299749', job_status='RUN', time_executed='2021-08-27 04:37:43.141516', time_epoch_executed='1630064263.14' WHERE source_name='4FGL J0723.5+2900' and cadence='daily' and bin_id='20'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/299749

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/299749/ft1_4FGL_J0723.5+2900_daily_bin20.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/299749/ft2_4FGL_J0723.5+2900_daily_bin20.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/299749/ft1_4FGL_J0723.5+2900_daily_bin20.fits outfile=/scratch/kocevski/299749/ft1_filteredMKT_4FGL_J0723.5+2900_daily_bin20.fits ra=110.885 dec=29.0075 rad=12.0 tmin=244512001.0 tmax=244771201.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 2.77
user 1.27
sys 1.48

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/299749/ft1_filtered_4FGL_J0723.5+2900_daily_bin20.fits" evtable="EVENTS" scfile=/scratch/kocevski/299749/ft2_4FGL_J0723.5+2900_daily_bin20.fits sctable="SC_DATA" outfile=/scratch/kocevski/299749/ltcube_244512001_244771201_4FGL_J0723.5+2900_daily_bin20.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/299749/ft2_4FGL_J0723.5+2900_daily_bin20.fits
.....................!
real 14.95
user 13.07
sys 1.83

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/299749/ft1_filtered_4FGL_J0723.5+2900_daily_bin20.fits evtable="EVENTS" scfile=/scratch/kocevski/299749/ft2_4FGL_J0723.5+2900_daily_bin20.fits sctable="SC_DATA" expcube=/scratch/kocevski/299749/ltcube_244512001_244771201_4FGL_J0723.5+2900_daily_bin20.fits outfile=/scratch/kocevski/299749/expmap_244512001_244771201_4FGL_J0723.5+2900_daily_bin20.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/299749/ltcube_244512001_244771201_4FGL_J0723.5+2900_daily_bin20.fits
.....................!
real 192.96
user 186.68
sys 5.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/299749/ft1_filtered_4FGL_J0723.5+2900_daily_bin20.fits scfile=/scratch/kocevski/299749/ft2_4FGL_J0723.5+2900_daily_bin20.fits outfile=/scratch/kocevski/299749/cmap_244512001_244771201_4FGL_J0723.5+2900_daily_bin20.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.88
user 0.38
sys 1.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/299749/ft1_filtered_4FGL_J0723.5+2900_daily_bin20.fits scfile=/scratch/kocevski/299749/ft2_4FGL_J0723.5+2900_daily_bin20.fits outfile=/scratch/kocevski/299749/cmap_HighResolution_244512001_244771201_4FGL_J0723.5+2900_daily_bin20.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.72
user 0.39
sys 1.32

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.530       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .22547E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    40.752       1.0000         .10000E-03   10000.    
     4 'norm      '    1.8531       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .14260E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.1734       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .76928E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14386E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    39.881       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.2523       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0168       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89300       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=   9122.327     FROM MIGRAD    STATUS=CONVERGED    327 CALLS     1347 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.531        7.9766        .62653E-07   -.89319E-04
   2  Prefactor     .10000E-03    12.511        .14619E-05** at limit **
   3  norm          40.755        13.361        .31688E-06   -.25383E-03
   4  norm          1.8532        .78459       -.64131E-09   -.90391E-03
   5  Prefactor     .10000E-03    1.8693        .41689E-06** at limit **
   6  Prefactor     .10001E-03    47.658       -.15569E-04** at limit **
   7  norm          1.1738        1.1176       -.19876E-06   -.11719E-02
   8  Prefactor     .10000E-03    11.123        .79617E-06** at limit **
   9  norm          .12147        34.013        .15450E-04   -.12803E-03
  10  Prefactor     .10000E-03    53.473        .14264E-05** at limit **
  11  Prefactor     39.856        19.569        .70773E-06    .30163E-03
  12  Prefactor     .10000E-03    11.489        .20287E-06** at limit **
  13  norm          1.2283        11.241        .26922E-05    .24820E-03
  14  Prefactor     .10000E-03    6.1561        .79775E-07** at limit **
  15  Normalizat    1.0166        .17670       -.36545E-05   -.53191E-03
  16  Prefactor     .89299        .89197E-01    .44821E-06    .38323E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.531
  Prefactor  = 0.000100002
  norm       = 40.7546
  norm       = 1.8532
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  norm       = 1.17383
  Prefactor  = 0.0001
  norm       = 0.121466
  Prefactor  = 0.000100001
  Prefactor  = 39.8557
  Prefactor  = 0.0001
  norm       = 1.22828
  Prefactor  = 0.0001
  Normalizat = 1.01665
  Prefactor  = 0.892987
 **********
 **   18 **HESSE 
 **********

 FCN=   9122.327     FROM HESSE     STATUS=OK           199 CALLS     1546 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.531        7.9797        .11798E-03   -1.5029    
   2  Prefactor     .10000E-03    13.012        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          40.755        13.352        .62792E-04   -1.4430    
   4  norm          1.8532        .78112        .52575E-04   -1.5436    
   5  Prefactor     .10000E-03    1.8857        .12768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    46.912        .51313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.1738        1.1103        .95974E-04   -1.5491    
   8  Prefactor     .10000E-03    11.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .12147        36.488        .23373E-02   -1.5638    
  10  Prefactor     .10000E-03    53.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     39.856        20.466        .63471E-04   -1.4444    
  12  Prefactor     .10000E-03    11.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2283        11.179        .39943E-03   -1.5486    
  14  Prefactor     .10000E-03    6.1573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.0166        .19061        .31747E-03   -.92475    
  16  Prefactor     .89299        .96004E-01    .17688E-03   -.96387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.00211e-09
Minuit parameter uncertainties:
  1  7.98044
  2  0.000348817
  3  13.3526
  4  0.78112
  5  1.54488e-05
  6  0.00127335
  7  1.11033
  8  3.48353e-05
  9  4.21135
  10  0.000352925
  11  20.4698
  12  4.02372e-05
  13  7.41272
  14  4.63871e-06
  15  0.190742
  16  0.0960226
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  8.930e-01  9.602e-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:  1.017e+00  1.907e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 110.885 29.008
Photon Flux Upper Limit: 5.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/299749/likelihoodResults_244512001_244771201_4FGL_J0723.5+2900_daily_bin20.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9122.32962683
delta logL = -0.00252580293636

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9122.32710092
delta logL = 1.00288161775e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6598       1.0000          .0000       10.000    
     3 'Normalizat'    1.0167       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89297       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=   9122.327     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      254 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.5781        .12844E-01** at limit **
   2  Index         2.2766        6.0314        .50000        .19327E-07
   3  Normalizat    1.0167        .98507E-02    .31747E-03   -.42257E-04
   4  Prefactor     .89298        .52113E-02    .17688E-03   -.52191E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.27655
  Normalizat = 1.01666
  Prefactor  = 0.892983
 **********
 **   18 **HESSE 
 **********

 FCN=   9122.327     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      283 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    100.54        .13444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2766        5.0229        .50000       -.57602    
   3  Normalizat    1.0167        .33482E-01    .12699E-04   -.92475    
   4  Prefactor     .89298        .17713E-01    .70750E-05   -.96387    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.9627e-09
Minuit parameter uncertainties:
  1  0.00019697
  2  605.926
  3  0.0334826
  4  0.0177133
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/299749': 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) = 9122.32709842
delta logL = 2.60592423729e-06

Extracting fit parameters...

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  1.000e-04  1.970e-04  1.000e-04  1.000e+04 ( 1.000e-12)
303        Index:  2.277e+00  6.059e+02  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:  8.930e-01  1.771e-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:  1.017e+00  3.348e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 110.885 29.008

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/299749/cmap_HighResolution_244512001_244771201_4FGL_J0723.5+2900_daily_bin20.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.47e-03', job_status='DONE', photon_flux_upper_limit='5.69e-08', time_completed='2021-08-27 04:49:18.435692', job_id='299749', GAL2='0.89', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1630064958.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='2.61e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='20' AND source_name='4FGL J0723.5+2900' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 04:49:18 PDT 2021


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

Job <4FGL_J0723.5+2900_daily_bin20> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Aug 27 04:35:28 2021
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 04:35:29 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:35:29 2021
Terminated at Fri Aug 27 04:49:19 2021
Results reported at Fri Aug 27 04:49:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0723.5+2900_daily_bin20 110.885 29.0075 244512001 244771201 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 :                                   713.41 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            831 sec.

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

