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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin1299
RA = 141.005, Dec = 28.2755
tmin = 576028801, tmax = 576288001
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='222351', job_status='RUN', time_executed='2021-08-31 11:30:52.214840', time_epoch_executed='1630434652.21' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='1299'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222351

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222351/ft1_4FGL_J0924.0+2816_daily_bin1299.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222351/ft2_4FGL_J0924.0+2816_daily_bin1299.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222351/ft1_4FGL_J0924.0+2816_daily_bin1299.fits outfile=/scratch/kocevski/222351/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1299.fits ra=141.005 dec=28.2755 rad=12.0 tmin=576028801.0 tmax=576288001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.45
user 3.36
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/222351/ft2_4FGL_J0924.0+2816_daily_bin1299.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/222351/ft2_4FGL_J0924.0+2816_daily_bin1299.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/222351/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1299.fits evtable="EVENTS" outfile="/scratch/kocevski/222351/ft1_filtered_4FGL_J0924.0+2816_daily_bin1299.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.78
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222351/ft1_filtered_4FGL_J0924.0+2816_daily_bin1299.fits" evtable="EVENTS" scfile=/scratch/kocevski/222351/ft2_4FGL_J0924.0+2816_daily_bin1299.fits sctable="SC_DATA" outfile=/scratch/kocevski/222351/ltcube_576028801_576288001_4FGL_J0924.0+2816_daily_bin1299.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/222351/ft2_4FGL_J0924.0+2816_daily_bin1299.fits
.....................!
real 11.95
user 11.50
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222351/ft1_filtered_4FGL_J0924.0+2816_daily_bin1299.fits evtable="EVENTS" scfile=/scratch/kocevski/222351/ft2_4FGL_J0924.0+2816_daily_bin1299.fits sctable="SC_DATA" expcube=/scratch/kocevski/222351/ltcube_576028801_576288001_4FGL_J0924.0+2816_daily_bin1299.fits outfile=/scratch/kocevski/222351/expmap_576028801_576288001_4FGL_J0924.0+2816_daily_bin1299.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/222351/ltcube_576028801_576288001_4FGL_J0924.0+2816_daily_bin1299.fits
.....................!
real 189.88
user 184.90
sys 4.56

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
Added 170 point sources and 0 extended sources

Setting source of interest to:
4FGL J0924.0+2816 @ 141.005 28.2755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/222351/ft1_filtered_4FGL_J0924.0+2816_daily_bin1299.fits scfile=/scratch/kocevski/222351/ft2_4FGL_J0924.0+2816_daily_bin1299.fits outfile=/scratch/kocevski/222351/cmap_576028801_576288001_4FGL_J0924.0+2816_daily_bin1299.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=141.005 yref=28.2755 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.74
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222351/ft1_filtered_4FGL_J0924.0+2816_daily_bin1299.fits scfile=/scratch/kocevski/222351/ft2_4FGL_J0924.0+2816_daily_bin1299.fits outfile=/scratch/kocevski/222351/cmap_HighResolution_576028801_576288001_4FGL_J0924.0+2816_daily_bin1299.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=141.005 yref=28.2755 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.69
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/222351/ft1_filtered_4FGL_J0924.0+2816_daily_bin1299.fits evtable="EVENTS" scfile=/scratch/kocevski/222351/ft2_4FGL_J0924.0+2816_daily_bin1299.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/222351/Model_4FGL_J0924.0+2816_daily_bin1299.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
Working on...
/scratch/kocevski/222351/ft1_filtered_4FGL_J0924.0+2816_daily_bin1299.fits.....................!
real 57.19
user 49.05
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/222351/ft1_filtered_4FGL_J0924.0+2816_daily_bin1299.fits', '/scratch/kocevski/222351/ft2_4FGL_J0924.0+2816_daily_bin1299.fits', expMap='/scratch/kocevski/222351/expmap_576028801_576288001_4FGL_J0924.0+2816_daily_bin1299.fits', expCube='/scratch/kocevski/222351/ltcube_576028801_576288001_4FGL_J0924.0+2816_daily_bin1299.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/222351/Model_4FGL_J0924.0+2816_daily_bin1299.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0924.0+2816'

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.227e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/222351/ft1_filtered_4FGL_J0924.0+2816_daily_bin1299.fits
Spacecraft file(s): /scratch/kocevski/222351/ft2_4FGL_J0924.0+2816_daily_bin1299.fits
Exposure map: /scratch/kocevski/222351/expmap_576028801_576288001_4FGL_J0924.0+2816_daily_bin1299.fits
Exposure cube: /scratch/kocevski/222351/ltcube_576028801_576288001_4FGL_J0924.0+2816_daily_bin1299.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/222351/Model_4FGL_J0924.0+2816_daily_bin1299.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) = 5743.15443224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1872       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.2781       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.034       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2677       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.095       1.0000         .10000E-03   10000.    
    14 'Prefactor '    51.736       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.0755       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.9857       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    98.029       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .73549       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1711       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5743.154     FROM MIGRAD    STATUS=CONVERGED    412 CALLS     2016 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1872        .72005       -.79382E-08   -.43318E-03
   2  Prefactor     .10000E-03    11.847        .68952E-05** at limit **
   3  Prefactor     3.2767        11.305        .10614E-05   -.62139E-03
   4  norm          .10000E-03    13.238       -.92751E-05** at limit **
   5  Prefactor     .10000E-03    1.4340        .75330E-08** at limit **
   6  Prefactor     .10000E-03    19.278        .38997E-05** at limit **
   7  norm          .10000E-03    .57596       -.39855E-08** at limit **
   8  Prefactor     16.035        16.221        .25432E-06   -.29661E-04
   9  Prefactor     .10000E-03    45.779       -.19873E-05** at limit **
  10  norm          .10000E-03    6.9173        .42934E-06** at limit **
  11  Prefactor     3.2676        3.4981       -.20778E-07   -.85875E-04
  12  Prefactor     .10000E-03    7.6047       -.92855E-06** at limit **
  13  Prefactor     21.094        44.609       -.14054E-05   -.92919E-05
  14  Prefactor     51.733        53.558       -.21595E-05   -.23744E-04
  15  Prefactor     4.0753        4.3500        .52529E-06   -.19807E-02
  16  Prefactor     1.9858        3.6420        .24823E-06   -.35204E-04
  17  Prefactor     .10000E-03    1.1726       -.28725E-07** at limit **
  18  norm          98.029        17.990       -.55742E-07   -.21730E-05
  19  Normalizat    .73551        .16318       -.72243E-07   -.48928E-04
  20  Prefactor     1.1711        .16795       -.28099E-07   -.50485E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.18718
  Prefactor  = 0.0001
  Prefactor  = 3.27667
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 16.035
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.26762
  Prefactor  = 0.0001
  Prefactor  = 21.0938
  Prefactor  = 51.7334
  Prefactor  = 4.07535
  Prefactor  = 1.98577
  Prefactor  = 0.0001
  norm       = 98.0289
  Normalizat = 0.735512
  Prefactor  = 1.17106
 **********
 **   18 **HESSE 
 **********

 FCN=   5743.154     FROM HESSE     STATUS=OK           289 CALLS     2305 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1872        .72000        .48246E-04   -1.5490    
   2  Prefactor     .10000E-03    11.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.2767        14.075        .11182E-02   -1.5346    
   4  norm          .10000E-03    13.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.4446        .88595E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    19.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .58126        .56125E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.035        16.223        .10002E-03   -1.4907    
   9  Prefactor     .10000E-03    45.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    7.0044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2676        3.4887        .13789E-03   -1.5346    
  12  Prefactor     .10000E-03    7.6158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.094        44.609        .87208E-04   -1.4789    
  14  Prefactor     51.733        53.603        .55758E-04   -1.4268    
  15  Prefactor     4.0753        6.1544        .99856E-03   -1.5304    
  16  Prefactor     1.9858        3.6178        .19061E-03   -1.5426    
  17  Prefactor     .10000E-03    1.2118        .16012E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          98.029        18.038        .40600E-04   -1.3725    
  19  Normalizat    .73551        .18668        .25832E-03   -1.0251    
  20  Prefactor     1.1711        .18924        .22197E-03   -.87227    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.02674e-09
Minuit parameter uncertainties:
  1  0.720008
  2  0.000110041
  3  13.5872
  4  0.00019671
  5  4.54006e-07
  6  9.20975e-05
  7  9.216e-08
  8  16.2272
  9  7.20786e-05
  10  4.49622e-06
  11  3.48888
  12  1.43631e-05
  13  44.6798
  14  53.653
  15  6.1553
  16  3.6182
  17  3.52758e-07
  18  18.0388
  19  0.186837
  20  0.189347
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  3.268e+00  3.489e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.171e+00  1.893e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  7.355e-01  1.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.18
Ra Dec: 141.005 28.276
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 3.15e-08 +/- 3.36e-08
Energy Flux (Fixed Index): 9.09e-06 +/- 9.71e-06

TS (Fixed Index): 1.18
Ra Dec: 141.005 28.276
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/222351/likelihoodResults_576028801_576288001_4FGL_J0924.0+2816_daily_bin1299.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) = 5742.49234558
delta logL = 0.66164257846

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5742.22825069
delta logL = 0.925737466725

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14055E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    8.6700       1.0000          .0000       10.000    
     3 'Normalizat'    .68259       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2209       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5742.228     FROM MIGRAD    STATUS=CONVERGED    180 CALLS      519 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13965E-03    .86816E-02   -.52003E-07** at limit **
   2  Index         8.6729        8.0136       -.51288E-04    .28755E-04
   3  Normalizat    .68258        .17309       -.14563E-05    .81591E-04
   4  Prefactor     1.2209        .18548        .39848E-05    .97522E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000139652
  Index      = 8.67294
  Normalizat = 0.682576
  Prefactor  = 1.22092
 **********
 **   18 **HESSE 
 **********

 FCN=   5742.228     FROM HESSE     STATUS=OK            41 CALLS      560 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13965E-03    .88328E-04    .25266E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.6729        .36828        .18267        .82506    
   3  Normalizat    .68258        .15624        .60441E-01   -1.0458    
   4  Prefactor     1.2209        .16388        .49355E-01   -.85690    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.06658e-10
Minuit parameter uncertainties:
  1  8.83282e-05
  2  0.369006
  3  0.15634
  4  0.163953
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222351': 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) = 5742.22824964
delta logL = 0.925738515191

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.397e-04  8.833e-05  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  8.673e+00  3.690e-01  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.221e+00  1.640e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  6.826e-01  1.563e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.18
Ra Dec: 141.005 28.276
Photon Index (Free Index): 8.67 +/- 0.37
Photon Flux (Free Index): 5.66e-08 +/- 5.14e-08
Energy Flux (Free Index): 6.47e-06 +/- 5.88e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/222351/cmap_HighResolution_576028801_576288001_4FGL_J0924.0+2816_daily_bin1299.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.07e-03', comment='SUCCESS', photon_flux='3.15e-08', energy_flux2='6.47e-06', photon_flux_error='3.36e-08', dlogl='9.26e-01', energy_flux='9.09e-06', photon_flux2='5.66e-08', job_status='DONE', time_completed='2021-08-31 11:41:06.298029', photon_index_error2='0.37', photon_index2='8.67', ts='1.18', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='1.04e-07', energy_flux_error2='5.88e-06', EG='0.74', time_epoch_completed='1630435266.3', return_code='0', job_id='222351', GAL2='1.22', EG2='0.68', return_code2='0', energy_flux_error='9.71e-06', photon_flux_error2='5.14e-08', ts2='3.18', photon_index='2.51' WHERE bin_id='1299' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:41:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 222351: <4FGL_J0924.0+2816_daily_bin1299> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin1299> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug 31 11:26:46 2021
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:27:11 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 11:27:11 2021
Terminated at Tue Aug 31 11:41:07 2021
Results reported at Tue Aug 31 11:41:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin1299 141.005 28.2755 576028801 576288001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0924.0+2816 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   584.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             274.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            861 sec.

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

