/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 123 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_J0924.0+2816_daily_bin1124
RA = 141.005, Dec = 28.2755
tmin = 530668801, tmax = 530928001
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='222070', job_status='RUN', time_executed='2021-08-31 11:29:50.285513', time_epoch_executed='1630434590.29' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='1124'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222070

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222070/ft1_4FGL_J0924.0+2816_daily_bin1124.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222070/ft2_4FGL_J0924.0+2816_daily_bin1124.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222070/ft1_4FGL_J0924.0+2816_daily_bin1124.fits outfile=/scratch/kocevski/222070/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1124.fits ra=141.005 dec=28.2755 rad=12.0 tmin=530668801.0 tmax=530928001.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.65
user 3.44
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/222070/ft2_4FGL_J0924.0+2816_daily_bin1124.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/222070/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1124.fits evtable="EVENTS" outfile="/scratch/kocevski/222070/ft1_filtered_4FGL_J0924.0+2816_daily_bin1124.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.51
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222070/ft1_filtered_4FGL_J0924.0+2816_daily_bin1124.fits" evtable="EVENTS" scfile=/scratch/kocevski/222070/ft2_4FGL_J0924.0+2816_daily_bin1124.fits sctable="SC_DATA" outfile=/scratch/kocevski/222070/ltcube_530668801_530928001_4FGL_J0924.0+2816_daily_bin1124.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/222070/ft2_4FGL_J0924.0+2816_daily_bin1124.fits
.....................!
real 14.59
user 14.04
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222070/ft1_filtered_4FGL_J0924.0+2816_daily_bin1124.fits evtable="EVENTS" scfile=/scratch/kocevski/222070/ft2_4FGL_J0924.0+2816_daily_bin1124.fits sctable="SC_DATA" expcube=/scratch/kocevski/222070/ltcube_530668801_530928001_4FGL_J0924.0+2816_daily_bin1124.fits outfile=/scratch/kocevski/222070/expmap_530668801_530928001_4FGL_J0924.0+2816_daily_bin1124.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/222070/ltcube_530668801_530928001_4FGL_J0924.0+2816_daily_bin1124.fits
.....................!
real 191.64
user 185.43
sys 3.91

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/222070/ft1_filtered_4FGL_J0924.0+2816_daily_bin1124.fits scfile=/scratch/kocevski/222070/ft2_4FGL_J0924.0+2816_daily_bin1124.fits outfile=/scratch/kocevski/222070/cmap_530668801_530928001_4FGL_J0924.0+2816_daily_bin1124.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 1.50
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222070/ft1_filtered_4FGL_J0924.0+2816_daily_bin1124.fits scfile=/scratch/kocevski/222070/ft2_4FGL_J0924.0+2816_daily_bin1124.fits outfile=/scratch/kocevski/222070/cmap_HighResolution_530668801_530928001_4FGL_J0924.0+2816_daily_bin1124.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.83
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/222070/ft1_filtered_4FGL_J0924.0+2816_daily_bin1124.fits evtable="EVENTS" scfile=/scratch/kocevski/222070/ft2_4FGL_J0924.0+2816_daily_bin1124.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/222070/Model_4FGL_J0924.0+2816_daily_bin1124.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/222070/ft1_filtered_4FGL_J0924.0+2816_daily_bin1124.fits.....................!
real 58.97
user 49.78
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/222070/ft1_filtered_4FGL_J0924.0+2816_daily_bin1124.fits', '/scratch/kocevski/222070/ft2_4FGL_J0924.0+2816_daily_bin1124.fits', expMap='/scratch/kocevski/222070/expmap_530668801_530928001_4FGL_J0924.0+2816_daily_bin1124.fits', expCube='/scratch/kocevski/222070/ltcube_530668801_530928001_4FGL_J0924.0+2816_daily_bin1124.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/222070/Model_4FGL_J0924.0+2816_daily_bin1124.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/222070/ft1_filtered_4FGL_J0924.0+2816_daily_bin1124.fits
Spacecraft file(s): /scratch/kocevski/222070/ft2_4FGL_J0924.0+2816_daily_bin1124.fits
Exposure map: /scratch/kocevski/222070/expmap_530668801_530928001_4FGL_J0924.0+2816_daily_bin1124.fits
Exposure cube: /scratch/kocevski/222070/ltcube_530668801_530928001_4FGL_J0924.0+2816_daily_bin1124.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/222070/Model_4FGL_J0924.0+2816_daily_bin1124.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) = 5761.81798042

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9335       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .52558E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    11.771       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1532       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .64565       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    59.980       1.0000         .10000E-03   10000.    
    10 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5806       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.0069       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.2311       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.1695       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .18519       1.0000         .10000E-03   10000.    
    18 'norm      '    .44093       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .81178       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2253       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=   5761.815     FROM MIGRAD    STATUS=CONVERGED    422 CALLS     2059 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9325        .83857       -.84805E-07    .67430E-04
   2  Prefactor     .10000E-03    6.9942       -.22987E-06** at limit **
   3  Prefactor     .10011E-03    86.127       -.16326E-04** at limit **
   4  norm          11.765        27.367        .35325E-05    .13837E-03
   5  Prefactor     3.1530        2.3232       -.74751E-08    .12977E-04
   6  Prefactor     .10000E-03    10.402        .18148E-07** at limit **
   7  norm          .64565        .77534        .16913E-06    .26766E-03
   8  Prefactor     .10000E-03    3.0747       -.28694E-07** at limit **
   9  Prefactor     59.987        52.591       -.34595E-05   -.11135E-03
  10  norm          .10000E-03    2.1267       -.36472E-07** at limit **
  11  Prefactor     3.5813        2.7744       -.24264E-05    .48632E-03
  12  Prefactor     .10000E-03    14.417        .34763E-06** at limit **
  13  Prefactor     .10000E-03    33.837       -.39744E-05** at limit **
  14  Prefactor     4.0150        59.424       -.13451E-04   -.80455E-04
  15  Prefactor     8.2361        6.6821       -.28632E-06    .10100E-03
  16  Prefactor     7.1695        9.4694       -.59186E-06    .78541E-04
  17  Prefactor     .19003        2.2444        .11249E-05    .12119E-02
  18  norm          .43706        8.2099        .33420E-06   -.15617E-03
  19  Normalizat    .81174        .16926        .83417E-06    .25277E-03
  20  Prefactor     1.2255        .17523        .12518E-05    .18347E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.93254
  Prefactor  = 0.0001
  Prefactor  = 0.000100107
  norm       = 11.7654
  Prefactor  = 3.15304
  Prefactor  = 0.0001
  norm       = 0.64565
  Prefactor  = 0.0001
  Prefactor  = 59.9874
  norm       = 0.0001
  Prefactor  = 3.58135
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 4.015
  Prefactor  = 8.23607
  Prefactor  = 7.16951
  Prefactor  = 0.190025
  norm       = 0.437057
  Normalizat = 0.811743
  Prefactor  = 1.22545
 **********
 **   18 **HESSE 
 **********

 FCN=   5761.815     FROM HESSE     STATUS=OK           299 CALLS     2358 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9325        .83655        .44105E-04   -1.5430    
   2  Prefactor     .10000E-03    7.0145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10011E-03    96.785        .44924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          11.765        27.562        .11676E-03   -1.5022    
   5  Prefactor     3.1530        2.3228        .96715E-04   -1.5353    
   6  Prefactor     .10000E-03    10.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .64565        .75625        .71485E-04   -1.5547    
   8  Prefactor     .10000E-03    3.0750        .12999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     59.987        52.885        .51806E-04   -1.4157    
  10  norm          .10000E-03    2.1381        .10811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.5813        2.7862        .53809E-03   -1.5329    
  12  Prefactor     .10000E-03    14.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    33.961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.0150        60.314        .20147E-03   -1.5307    
  15  Prefactor     8.2361        6.6615        .13974E-03   -1.5134    
  16  Prefactor     7.1695        9.4636        .14981E-03   -1.5172    
  17  Prefactor     .19003        7.6557        .16110E-02   -1.5621    
  18  norm          .43706        48.191        .41393E-02   -1.5576    
  19  Normalizat    .81174        .19582        .25521E-03   -.99635    
  20  Prefactor     1.2255        .20657        .22502E-03   -.85552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.63701e-09
Minuit parameter uncertainties:
  1  0.836555
  2  3.10591e-05
  3  0.006455
  4  27.5916
  5  2.32286
  6  8.91687e-08
  7  0.756264
  8  1.10488e-06
  9  52.9265
  10  1.89311e-06
  11  2.78632
  12  5.6125e-05
  13  0.000359848
  14  31.1604
  15  6.6621
  16  9.46558
  17  2.41198
  18  9.18524
  19  0.195989
  20  0.206709
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  3.581e+00  2.786e+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.225e+00  2.067e-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:  8.117e-01  1.960e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.68
Ra Dec: 141.005 28.276
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 3.45e-08 +/- 2.69e-08
Energy Flux (Fixed Index): 9.97e-06 +/- 7.75e-06

TS (Fixed Index): 3.68
Ra Dec: 141.005 28.276
Photon Flux Upper Limit: 9.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/222070/likelihoodResults_530668801_530928001_4FGL_J0924.0+2816_daily_bin1124.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) = 5760.35077311
delta logL = 1.46434915548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5760.34433393
delta logL = 1.47078833666

Fit tolerance = 1e-08

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

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

 FCN=   5760.344     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      211 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8925        2.8771        .51135E-02   -.62338E-04
   2  Index         1.5156        .35902        .18552       -.75330E-04
   3  Normalizat    .84493        .16191        .44194E-01    .18069E-04
   4  Prefactor     1.2011        .17222        .51293E-01    .10755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.89253
  Index      = 1.51556
  Normalizat = 0.844927
  Prefactor  = 1.20107
 **********
 **   18 **HESSE 
 **********

 FCN=   5760.344     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .73E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8925        3.2951        .10765E-03   -1.5313    
   2  Index         1.5156        .45558        .74014E-02   -.77105    
   3  Normalizat    .84493        .18942        .25049E-03   -.98423    
   4  Prefactor     1.2011        .20156        .22677E-03   -.86298    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2732e-12
Minuit parameter uncertainties:
  1  3.29529
  2  0.456819
  3  0.189571
  4  0.201693
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222070': 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) = 5760.34433184
delta logL = 1.47079042405

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  3.893e+00  3.295e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  1.516e+00  4.568e-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.201e+00  2.017e-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:  8.449e-01  1.896e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.63
Ra Dec: 141.005 28.276
Photon Index (Free Index): 1.52 +/- 0.46
Photon Flux (Free Index): 1.49e-08 +/- 1.35e-08
Energy Flux (Free Index): 4.47e-05 +/- 5.57e-05

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/222070/cmap_HighResolution_530668801_530928001_4FGL_J0924.0+2816_daily_bin1124.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.76e-03', comment='SUCCESS', photon_flux='3.45e-08', energy_flux2='4.47e-05', photon_flux_error='2.69e-08', dlogl='1.47e+00', energy_flux='9.97e-06', photon_flux2='1.49e-08', job_status='DONE', time_completed='2021-08-31 11:39:45.950350', photon_index_error2='0.46', photon_index2='1.52', ts='3.68', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', photon_flux_upper_limit='9.97e-08', energy_flux_error2='5.57e-05', EG='0.81', time_epoch_completed='1630435185.95', return_code='0', job_id='222070', GAL2='1.20', EG2='0.84', return_code2='0', energy_flux_error='7.75e-06', photon_flux_error2='1.35e-08', ts2='6.63', photon_index='2.51' WHERE bin_id='1124' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:39:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 222070: <4FGL_J0924.0+2816_daily_bin1124> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin1124> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug 31 11:26:25 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:26:42 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:26:42 2021
Terminated at Tue Aug 31 11:39:46 2021
Results reported at Tue Aug 31 11:39:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin1124 141.005 28.2755 530668801 530928001 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 :                                   566.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             242.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            801 sec.

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

