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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin19
RA = 141.005, Dec = 28.2755
tmin = 244252801, tmax = 244512001
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='214474', job_status='RUN', time_executed='2021-08-31 11:09:03.726606', time_epoch_executed='1630433343.73' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='19'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214474

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214474/ft1_4FGL_J0924.0+2816_daily_bin19.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214474/ft2_4FGL_J0924.0+2816_daily_bin19.fits


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

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

Done.
real 2.43
user 2.19
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214474/ft1_filtered_4FGL_J0924.0+2816_daily_bin19.fits" evtable="EVENTS" scfile=/scratch/kocevski/214474/ft2_4FGL_J0924.0+2816_daily_bin19.fits sctable="SC_DATA" outfile=/scratch/kocevski/214474/ltcube_244252801_244512001_4FGL_J0924.0+2816_daily_bin19.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/214474/ft2_4FGL_J0924.0+2816_daily_bin19.fits
.....................!
real 12.06
user 11.74
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214474/ft1_filtered_4FGL_J0924.0+2816_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/214474/ft2_4FGL_J0924.0+2816_daily_bin19.fits sctable="SC_DATA" expcube=/scratch/kocevski/214474/ltcube_244252801_244512001_4FGL_J0924.0+2816_daily_bin19.fits outfile=/scratch/kocevski/214474/expmap_244252801_244512001_4FGL_J0924.0+2816_daily_bin19.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/214474/ltcube_244252801_244512001_4FGL_J0924.0+2816_daily_bin19.fits
.....................!
real 190.00
user 185.58
sys 3.96

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/214474/ft1_filtered_4FGL_J0924.0+2816_daily_bin19.fits scfile=/scratch/kocevski/214474/ft2_4FGL_J0924.0+2816_daily_bin19.fits outfile=/scratch/kocevski/214474/cmap_244252801_244512001_4FGL_J0924.0+2816_daily_bin19.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.51
user 0.37
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214474/ft1_filtered_4FGL_J0924.0+2816_daily_bin19.fits scfile=/scratch/kocevski/214474/ft2_4FGL_J0924.0+2816_daily_bin19.fits outfile=/scratch/kocevski/214474/cmap_HighResolution_244252801_244512001_4FGL_J0924.0+2816_daily_bin19.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.53
user 0.40
sys 0.12

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2436       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.435       1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.607       1.0000         .10000E-03   10000.    
     4 'norm      '    10.478       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.6225       1.0000         .10000E-03   10000.    
     6 'Prefactor '    36.387       1.0000         .10000E-03   10000.    
     7 'norm      '    .38007       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4801       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    8.1597       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.6419       1.0000         .10000E-03   10000.    
    12 'Prefactor '    52.146       1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.157       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.2106       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.3774       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.726       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .90983       1.0000         .10000E-03   10000.    
    18 'norm      '    23.801       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .90420       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92092       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=   6005.040     FROM MIGRAD    STATUS=CONVERGED    417 CALLS     2043 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2436        .87053        .10444E-07    .37325E-05
   2  Prefactor     17.435        12.777        .51872E-07   -.85866E-06
   3  Prefactor     21.604        15.790       -.74388E-07   -.10388E-05
   4  norm          10.478        19.381        .13930E-06   -.66376E-06
   5  Prefactor     2.6220        2.9972        .53380E-07   -.32388E-05
   6  Prefactor     36.398        43.886       -.40989E-05    .23351E-05
   7  norm          .38085        1.8191        .34079E-06   -.14420E-04
   8  Prefactor     4.3939        40.175        .30977E-05    .21007E-04
   9  Prefactor     .10000E-03    20.495       -.10862E-07** at limit **
  10  norm          8.1655        9.8812        .14470E-06   -.53191E-04
  11  Prefactor     3.6415        3.4442        .25591E-07   -.14871E-04
  12  Prefactor     52.143        29.861        .10094E-06   -.11413E-04
  13  Prefactor     17.155        36.904        .28205E-06   -.21086E-05
  14  Prefactor     2.2111        201.06        .14075E-05   -.97558E-06
  15  Prefactor     5.3768        5.8872        .11804E-05   -.48873E-04
  16  Prefactor     11.726        8.5971        .76410E-07   -.68653E-05
  17  Prefactor     .90974        1.3663        .82918E-07    .25718E-03
  18  norm          23.801        9.8028       -.67653E-07   -.52066E-05
  19  Normalizat    .90427        .17438       -.70912E-06   -.10103E-04
  20  Prefactor     .92085        .16499        .28432E-06   -.36804E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.24364
  Prefactor  = 17.435
  Prefactor  = 21.6035
  norm       = 10.4781
  Prefactor  = 2.62203
  Prefactor  = 36.3981
  norm       = 0.380853
  Prefactor  = 4.39393
  Prefactor  = 0.0001
  norm       = 8.16547
  Prefactor  = 3.64146
  Prefactor  = 52.1426
  Prefactor  = 17.1551
  Prefactor  = 2.21106
  Prefactor  = 5.37679
  Prefactor  = 11.7257
  Prefactor  = 0.909739
  norm       = 23.8009
  Normalizat = 0.904272
  Prefactor  = 0.920852
 **********
 **   18 **HESSE 
 **********

 FCN=   6005.040     FROM HESSE     STATUS=OK           311 CALLS     2354 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2436        .86893        .42081E-04   -1.5408    
   2  Prefactor     17.435        12.798        .95919E-04   -1.4873    
   3  Prefactor     21.604        15.834        .86170E-04   -1.4778    
   4  norm          10.478        19.379        .12378E-03   -1.5060    
   5  Prefactor     2.6220        2.9874        .13833E-03   -1.5384    
   6  Prefactor     36.398        43.806        .66438E-04   -1.4501    
   7  norm          .38085        1.8154        .19378E-03   -1.5585    
   8  Prefactor     4.3939        39.492        .19023E-03   -1.5289    
   9  Prefactor     .10000E-03    20.514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1655        9.7585        .70176E-03   -1.5136    
  11  Prefactor     3.6415        3.3995        .12904E-03   -1.5326    
  12  Prefactor     52.143        29.856        .55540E-04   -1.4263    
  13  Prefactor     17.155        36.897        .96694E-04   -1.4879    
  14  Prefactor     2.2111        202.49        .27665E-03   -1.5411    
  15  Prefactor     5.3768        5.8843        .86649E-03   -1.5244    
  16  Prefactor     11.726        8.5999        .11699E-03   -1.5023    
  17  Prefactor     .90974        1.1561        .10777E-02   -1.5517    
  18  norm          23.801        9.8027        .82106E-04   -1.4732    
  19  Normalizat    .90427        .20128        .24421E-03   -.96310    
  20  Prefactor     .92085        .19095        .24342E-03   -.95416    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99205e-11
Minuit parameter uncertainties:
  1  0.868934
  2  12.8003
  3  15.8372
  4  19.391
  5  2.98759
  6  43.8446
  7  1.66288
  8  26.3688
  9  1.44263e-06
  10  9.76044
  11  3.39972
  12  29.8644
  13  36.9459
  14  42.4668
  15  5.8849
  16  8.60084
  17  1.1561
  18  9.80333
  19  0.20145
  20  0.191088
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  3.641e+00  3.400e+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.209e-01  1.911e-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:  9.043e-01  2.014e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.35
Ra Dec: 141.005 28.276
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 3.51e-08 +/- 3.28e-08
Energy Flux (Fixed Index): 1.01e-05 +/- 9.46e-06

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

Saving results to:
/scratch/kocevski/214474/likelihoodResults_244252801_244512001_4FGL_J0924.0+2816_daily_bin19.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) = 6005.03095657
delta logL = 0.00898053608853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6005.02972613
delta logL = 0.0102109729551

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8000       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3856       1.0000          .0000       10.000    
     3 'Normalizat'    .90910       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91786       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=   6005.030     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      198 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8001        103.02        .51767E-02    .51077E-03
   2  Index         2.3861        5.9438        .23959        .32771E-04
   3  Normalizat    .90912        .74292E-01    .45018E-01    .14311E-04
   4  Prefactor     .91785        .58572E-01    .45232E-01    .10165E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.80005
  Index      = 2.38611
  Normalizat = 0.909122
  Prefactor  = 0.91785
 **********
 **   18 **HESSE 
 **********

 FCN=   6005.030     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8001        3.6739        .13538E-03   -1.5318    
   2  Index         2.3861        .83815        .97507E-02   -.55011    
   3  Normalizat    .90912        .19102        .24363E-03   -.96140    
   4  Prefactor     .91785        .18967        .24377E-03   -.95520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34356e-10
Minuit parameter uncertainties:
  1  3.67416
  2  0.843651
  3  0.191165
  4  0.189802
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214474': 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) = 6005.02972594
delta logL = 0.0102111647457

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  3.800e+00  3.674e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.386e+00  8.437e-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.178e-01  1.898e-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:  9.091e-01  1.912e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.37
Ra Dec: 141.005 28.276
Photon Index (Free Index): 2.39 +/- 0.84
Photon Flux (Free Index): 3.14e-08 +/- 3.90e-08
Energy Flux (Free Index): 1.05e-05 +/- 1.04e-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/214474/cmap_HighResolution_244252801_244512001_4FGL_J0924.0+2816_daily_bin19.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.60e-03', comment='SUCCESS', photon_flux='3.51e-08', energy_flux2='1.05e-05', photon_flux_error='3.28e-08', dlogl='1.02e-02', energy_flux='1.01e-05', photon_flux2='3.14e-08', job_status='DONE', time_completed='2021-08-31 11:18:28.355791', photon_index_error2='0.84', photon_index2='2.39', ts='2.35', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='1.04e-05', EG='0.90', time_epoch_completed='1630433908.36', return_code='0', job_id='214474', GAL2='0.92', EG2='0.91', return_code2='0', energy_flux_error='9.46e-06', photon_flux_error2='3.90e-08', ts2='2.37', photon_index='2.51' WHERE bin_id='19' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:18:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 214474: <4FGL_J0924.0+2816_daily_bin19> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin19> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 11:06:15 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:06:16 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:06:16 2021
Terminated at Tue Aug 31 11:18:29 2021
Results reported at Tue Aug 31 11:18:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin19 141.005 28.2755 244252801 244512001 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 :                                   563.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            734 sec.

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

