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


Performing analysis on: 4FGL_J0723.5+2900_daily_bin1129
RA = 110.885, Dec = 29.0075
tmin = 531964801, tmax = 532224001
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='306102', job_status='RUN', time_executed='2021-08-27 04:58:36.270214', time_epoch_executed='1630065516.27' WHERE source_name='4FGL J0723.5+2900' and cadence='daily' and bin_id='1129'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/306102

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/306102/ft1_4FGL_J0723.5+2900_daily_bin1129.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/306102/ft2_4FGL_J0723.5+2900_daily_bin1129.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/306102/ft1_4FGL_J0723.5+2900_daily_bin1129.fits outfile=/scratch/kocevski/306102/ft1_filteredMKT_4FGL_J0723.5+2900_daily_bin1129.fits ra=110.885 dec=29.0075 rad=12.0 tmin=531964801.0 tmax=532224001.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.31
user 3.29
sys 1.00

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/306102/ft1_filtered_4FGL_J0723.5+2900_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/306102/ft2_4FGL_J0723.5+2900_daily_bin1129.fits sctable="SC_DATA" expcube=/scratch/kocevski/306102/ltcube_531964801_532224001_4FGL_J0723.5+2900_daily_bin1129.fits outfile=/scratch/kocevski/306102/expmap_531964801_532224001_4FGL_J0723.5+2900_daily_bin1129.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/306102/ltcube_531964801_532224001_4FGL_J0723.5+2900_daily_bin1129.fits
.....................!
real 191.10
user 184.99
sys 5.71

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/306102/ft1_filtered_4FGL_J0723.5+2900_daily_bin1129.fits scfile=/scratch/kocevski/306102/ft2_4FGL_J0723.5+2900_daily_bin1129.fits outfile=/scratch/kocevski/306102/cmap_531964801_532224001_4FGL_J0723.5+2900_daily_bin1129.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.33
user 0.38
sys 0.93

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/306102/ft1_filtered_4FGL_J0723.5+2900_daily_bin1129.fits scfile=/scratch/kocevski/306102/ft2_4FGL_J0723.5+2900_daily_bin1129.fits outfile=/scratch/kocevski/306102/cmap_HighResolution_531964801_532224001_4FGL_J0723.5+2900_daily_bin1129.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.33
user 0.38
sys 0.94

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.833       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.3978       1.0000         .10000E-03   10000.    
     3 'norm      '    6.4790       1.0000         .10000E-03   10000.    
     4 'norm      '    1.0896       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0082       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.1053       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.0919       1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.169       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .75899E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    58.126       1.0000         .10000E-03   10000.    
    13 'norm      '    46.376       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2328       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .91511       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9538.035     FROM MIGRAD    STATUS=CONVERGED    103 CALLS     1292 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.835        11.264       -.16748E-04    .93723E-04
   2  Prefactor     4.3987        5.6580        .92034E-06   -.12982E-03
   3  norm          6.4797        2.7417        .72204E-06    .41603E-03
   4  norm          1.0897        .65753       -.30188E-07    .29657E-03
   5  Prefactor     3.0117        6.1411       -.40659E-05   -.16353E-03
   6  Prefactor     .10000E-03    9.1648        .21164E-06** at limit **
   7  norm          2.1053        1.3445       -.11180E-06   -.36711E-03
   8  Prefactor     .10000E-03    11.561        .20643E-05** at limit **
   9  norm          1.0155        10.965       -.45710E-05   -.69374E-03
  10  Prefactor     26.282        32.662        .13994E-04    .34136E-03
  11  Prefactor     .43788        222.27       -.17153E-04   -.11356E-03
  12  Prefactor     58.218        23.635        .70911E-05   -.13225E-02
  13  norm          46.382        1.2288        .37703E-06   -.65488E-03
  14  Prefactor     .10000E-03    81.502       -.25245E-05** at limit **
  15  Normalizat    1.2326        .20598       -.17653E-05   -.17210E-03
  16  Prefactor     .91510        .10248        .33876E-05   -.54734E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 20.8349
  Prefactor  = 4.39867
  norm       = 6.47969
  norm       = 1.08975
  Prefactor  = 3.01171
  Prefactor  = 0.0001
  norm       = 2.10526
  Prefactor  = 0.0001
  norm       = 1.01549
  Prefactor  = 26.2823
  Prefactor  = 0.437884
  Prefactor  = 58.218
  norm       = 46.3823
  Prefactor  = 0.0001
  Normalizat = 1.23259
  Prefactor  = 0.915105
 **********
 **   18 **HESSE 
 **********

 FCN=   9538.035     FROM HESSE     STATUS=OK           247 CALLS     1539 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.835        11.269        .21938E-02   -1.4795    
   2  Prefactor     4.3987        6.2557        .48012E-02   -1.5288    
   3  norm          6.4797        6.3817        .39418E-02   -1.5199    
   4  norm          1.0897        .66443        .11464E-01   -1.5499    
   5  Prefactor     3.0117        6.1633        .58503E-02   -1.5361    
   6  Prefactor     .10000E-03    9.0572        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.1053        1.3439        .71094E-02   -1.5418    
   8  Prefactor     .10000E-03    11.406        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.0155        18.187        .11434E-01   -1.5506    
  10  Prefactor     26.282        46.852        .19577E-02   -1.4682    
  11  Prefactor     .43788        24.339        .11209       -1.5576    
  12  Prefactor     58.218        52.463        .13155E-02   -1.4180    
  13  norm          46.382        15.706        .14719E-02   -1.4345    
  14  Prefactor     .10000E-03    79.579        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.2326        .18549        .72212E-01   -.85602    
  16  Prefactor     .91510        .90331E-01    .45197E-01   -.95615    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81547e-05
Minuit parameter uncertainties:
  1  11.2702
  2  6.25658
  3  6.38241
  4  0.664434
  5  6.16464
  6  4.66391e-05
  7  1.34396
  8  0.000122201
  9  8.59761
  10  46.9174
  11  6.53127
  12  52.5043
  13  15.7073
  14  0.000346174
  15  0.18559
  16  0.090346
Done.

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

Extracting fit parameters...

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  3.012e+00  6.165e+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.151e-01  9.035e-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.233e+00  1.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/306102/likelihoodResults_531964801_532224001_4FGL_J0723.5+2900_daily_bin1129.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) = 9536.46963922
delta logL = 1.56560613625

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9536.03596477
delta logL = 1.99928059018

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16829E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    9.9999       1.0000          .0000       10.000    
     3 'Normalizat'    1.1453       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94715       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9536.036     FROM MIGRAD    STATUS=CONVERGED    122 CALLS      501 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16809E-03    .12757E-03    .11430E-05** at limit **
   2  Index        10.0000        .77265        .37214    ** at limit **
   3  Normalizat    1.1457        .20061        .32933E-03    .84231E-05
   4  Prefactor     .94695        .10328        .18708E-03   -.97621E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000168094
  Index      = 10
  Normalizat = 1.14569
  Prefactor  = 0.946955
 **********
 **   18 **HESSE 
 **********

 FCN=   9536.036     FROM HESSE     STATUS=OK            31 CALLS      532 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16809E-03    .12035E-03    .74894E-07   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .62211        .41766        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1457        .20115        .13173E-04   -.88298    
   4  Prefactor     .94695        .10343        .37415E-04   -.94519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52908e-11
Minuit parameter uncertainties:
  1  0.000120354
  2  8.04499e-06
  3  0.201288
  4  0.10345
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/306102': 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) = 9536.0359532
delta logL = 1.99929216139

Extracting fit parameters...

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  1.681e-04  1.204e-04  1.000e-04  1.000e+04 ( 1.000e-12)
303        Index:  1.000e+01  8.045e-06  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.470e-01  1.034e-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.146e+00  2.013e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.53
Ra Dec: 110.885 29.008
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 9.16e-08 +/- 6.35e-08
Energy Flux (Free Index): 1.02e-05 +/- 7.15e-06

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/306102/cmap_HighResolution_531964801_532224001_4FGL_J0723.5+2900_daily_bin1129.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.92e-03', comment='SUCCESS', energy_flux2='1.02e-05', dlogl='2.00e+00', photon_flux2='9.16e-08', job_status='DONE', time_completed='2021-08-27 05:10:59.606639', photon_index_error2='0.00', photon_index2='10.00', ts='0.29', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='7.15e-06', EG='1.23', time_epoch_completed='1630066259.61', return_code='0', job_id='306102', GAL2='0.95', EG2='1.15', return_code2='0', photon_flux_error2='6.35e-08', ts2='4.53', photon_index='2.67' WHERE bin_id='1129' AND source_name='4FGL J0723.5+2900' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 05:10:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 306102: <4FGL_J0723.5+2900_daily_bin1129> in cluster <slac> Done

Job <4FGL_J0723.5+2900_daily_bin1129> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 27 04:56:15 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 04:56:17 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:56:17 2021
Terminated at Fri Aug 27 05:11:00 2021
Results reported at Fri Aug 27 05:11:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0723.5+2900_daily_bin1129 110.885 29.0075 531964801 532224001 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 :                                   742.57 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             293.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            885 sec.

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

