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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin270
RA = 141.005, Dec = 28.2755
tmin = 309312001, tmax = 309571201
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='216072', job_status='RUN', time_executed='2021-08-31 11:11:35.614318', time_epoch_executed='1630433495.61' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='270'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216072

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216072/ft1_4FGL_J0924.0+2816_daily_bin270.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216072/ft2_4FGL_J0924.0+2816_daily_bin270.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216072/ft1_4FGL_J0924.0+2816_daily_bin270.fits outfile=/scratch/kocevski/216072/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin270.fits ra=141.005 dec=28.2755 rad=12.0 tmin=309312001.0 tmax=309571201.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.04
user 3.73
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/216072/ft2_4FGL_J0924.0+2816_daily_bin270.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/216072/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin270.fits evtable="EVENTS" outfile="/scratch/kocevski/216072/ft1_filtered_4FGL_J0924.0+2816_daily_bin270.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.63
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216072/ft1_filtered_4FGL_J0924.0+2816_daily_bin270.fits evtable="EVENTS" scfile=/scratch/kocevski/216072/ft2_4FGL_J0924.0+2816_daily_bin270.fits sctable="SC_DATA" expcube=/scratch/kocevski/216072/ltcube_309312001_309571201_4FGL_J0924.0+2816_daily_bin270.fits outfile=/scratch/kocevski/216072/expmap_309312001_309571201_4FGL_J0924.0+2816_daily_bin270.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/216072/ltcube_309312001_309571201_4FGL_J0924.0+2816_daily_bin270.fits
.....................!
real 190.77
user 185.27
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/216072/ft1_filtered_4FGL_J0924.0+2816_daily_bin270.fits scfile=/scratch/kocevski/216072/ft2_4FGL_J0924.0+2816_daily_bin270.fits outfile=/scratch/kocevski/216072/cmap_309312001_309571201_4FGL_J0924.0+2816_daily_bin270.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/216072/ft1_filtered_4FGL_J0924.0+2816_daily_bin270.fits scfile=/scratch/kocevski/216072/ft2_4FGL_J0924.0+2816_daily_bin270.fits outfile=/scratch/kocevski/216072/cmap_HighResolution_309312001_309571201_4FGL_J0924.0+2816_daily_bin270.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5445       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    48.194       1.0000         .10000E-03   10000.    
     7 'norm      '    .80095       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10205E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.6973       1.0000         .10000E-03   10000.    
    10 'norm      '    2.4338       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.6854       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10464E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11028E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.9756       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10722E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    20.630       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1576       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .98692       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=   6246.826     FROM MIGRAD    STATUS=CONVERGED    416 CALLS     2025 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5445        .77736       -.13380E-06    .33157E-03
   2  Prefactor     .10000E-03    3.8581        .25953E-06** at limit **
   3  Prefactor     .10000E-03    11.551       -.54438E-05** at limit **
   4  norm          .10000E-03    6.9137       -.15730E-05** at limit **
   5  Prefactor     .10000E-03    1.4162       -.13173E-06** at limit **
   6  Prefactor     48.177        41.453       -.16860E-04   -.36186E-04
   7  norm          .80095        .89625       -.52827E-07    .33122E-03
   8  Prefactor     .10000E-03    11.224        .68090E-05** at limit **
   9  Prefactor     1.6248        153.69       -.26194E-03    .96409E-04
  10  norm          2.4343        7.2903       -.72069E-06   -.43636E-03
  11  Prefactor     3.6854        3.5300       -.15943E-07    .13314E-03
  12  Prefactor     .10000E-03    5.8528        .21384E-05** at limit **
  13  Prefactor     .10000E-03    59.429        .23524E-04** at limit **
  14  Prefactor     .10000E-03    26.552       -.48236E-05** at limit **
  15  Prefactor     3.9749        5.4512       -.10366E-05   -.35555E-03
  16  Prefactor     .10000E-03    5.1520       -.79912E-06** at limit **
  17  Prefactor     .10000E-03    1.4115       -.65771E-06** at limit **
  18  norm          20.631        10.685       -.64438E-06   -.35280E-03
  19  Normalizat    1.1575        .16654        .20694E-05    .87072E-03
  20  Prefactor     .98699        .17028        .51591E-05    .65027E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54451
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 48.1774
  norm       = 0.80095
  Prefactor  = 0.0001
  Prefactor  = 1.62484
  norm       = 2.43432
  Prefactor  = 3.68544
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.97494
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 20.6306
  Normalizat = 1.15746
  Prefactor  = 0.986992
 **********
 **   18 **HESSE 
 **********

 FCN=   6246.826     FROM HESSE     STATUS=OK           287 CALLS     2312 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5445        .76969        .47701E-04   -1.5459    
   2  Prefactor     .10000E-03    3.8758        .15160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    6.9146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.4307        .91831E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     48.177        41.444        .57761E-04   -1.4319    
   7  norm          .80095        .89201        .76959E-04   -1.5529    
   8  Prefactor     .10000E-03    11.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.6248        157.04        .32295E-03   -1.5453    
  10  norm          2.4343        7.2657        .26229E-03   -1.5396    
  11  Prefactor     3.6854        3.5215        .13780E-03   -1.5324    
  12  Prefactor     .10000E-03    5.8607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    59.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    26.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.9749        5.4425        .20229E-03   -1.5309    
  16  Prefactor     .10000E-03    5.1949        .17519E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.2598        .18148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          20.631        10.686        .44092E-03   -1.4799    
  19  Normalizat    1.1575        .18958        .22652E-03   -.87928    
  20  Prefactor     .98699        .19434        .25096E-03   -.93164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21522e-09
Minuit parameter uncertainties:
  1  0.769692
  2  1.44144e-06
  3  8.213e-06
  4  2.6665e-05
  5  8.76915e-06
  6  41.4689
  7  0.892027
  8  0.000132386
  9  32.0335
  10  7.26835
  11  3.52175
  12  7.22264e-07
  13  0.000118356
  14  2.48804e-05
  15  5.44322
  16  3.18379e-05
  17  6.29369e-05
  18  10.6866
  19  0.189695
  20  0.194479
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  3.685e+00  3.522e+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:  9.870e-01  1.945e-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:  1.157e+00  1.897e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.54
Ra Dec: 141.005 28.276
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 3.56e-08 +/- 3.39e-08
Energy Flux (Fixed Index): 1.03e-05 +/- 9.80e-06

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

Saving results to:
/scratch/kocevski/216072/likelihoodResults_309312001_309571201_4FGL_J0924.0+2816_daily_bin270.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) = 6246.8224545
delta logL = 0.00347065479582

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6246.8212083
delta logL = 0.00471685859975

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4997       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5790       1.0000          .0000       10.000    
     3 'Normalizat'    1.1551       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98860       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=   6246.821     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      199 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4997        78.557        .54031E-02   -.21487E-03
   2  Index         2.5789        6.2895        .23267        .53047E-04
   3  Normalizat    1.1551        .55015E-01    .36100E-01    .58508E-05
   4  Prefactor     .98860        .52234E-01    .46124E-01    .10191E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.4997
  Index      = 2.57894
  Normalizat = 1.1551
  Prefactor  = 0.988596
 **********
 **   18 **HESSE 
 **********

 FCN=   6246.821     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4997        4.0706        .13309E-03   -1.5334    
   2  Index         2.5789        .79352        .79898E-02   -.50546    
   3  Normalizat    1.1551        .18926        .22672E-03   -.88002    
   4  Prefactor     .98860        .19345        .25078E-03   -.93111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15139e-10
Minuit parameter uncertainties:
  1  4.07095
  2  0.79794
  3  0.189372
  4  0.193587
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216072': 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) = 6246.8212083
delta logL = 0.00471685899083

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  3.500e+00  4.071e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.579e+00  7.979e-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:  9.886e-01  1.936e-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:  1.155e+00  1.894e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.55
Ra Dec: 141.005 28.276
Photon Index (Free Index): 2.58 +/- 0.80
Photon Flux (Free Index): 3.72e-08 +/- 3.83e-08
Energy Flux (Free Index): 9.96e-06 +/- 1.01e-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/216072/cmap_HighResolution_309312001_309571201_4FGL_J0924.0+2816_daily_bin270.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.50e-03', comment='SUCCESS', photon_flux='3.56e-08', energy_flux2='9.96e-06', photon_flux_error='3.39e-08', dlogl='4.72e-03', energy_flux='1.03e-05', photon_flux2='3.72e-08', job_status='DONE', time_completed='2021-08-31 11:21:33.005649', photon_index_error2='0.80', photon_index2='2.58', ts='1.54', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.01e-05', EG='1.16', time_epoch_completed='1630434093.01', return_code='0', job_id='216072', GAL2='0.99', EG2='1.16', return_code2='0', energy_flux_error='9.80e-06', photon_flux_error2='3.83e-08', ts2='1.55', photon_index='2.51' WHERE bin_id='270' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:21:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0181>
Subject: Job 216072: <4FGL_J0924.0+2816_daily_bin270> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin270> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 11:11:02 2021
Job was executed on host(s) <bullet0181>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:11:07 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:11:07 2021
Terminated at Tue Aug 31 11:21:33 2021
Results reported at Tue Aug 31 11:21:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin270 141.005 28.2755 309312001 309571201 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 :                                   585.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   626 sec.
    Turnaround time :                            631 sec.

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

