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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin69
RA = 141.005, Dec = 28.2755
tmin = 257212801, tmax = 257472001
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='214550', job_status='RUN', time_executed='2021-08-31 11:09:11.191542', time_epoch_executed='1630433351.19' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='69'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214550

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214550/ft1_4FGL_J0924.0+2816_daily_bin69.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214550/ft2_4FGL_J0924.0+2816_daily_bin69.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214550/ft1_4FGL_J0924.0+2816_daily_bin69.fits outfile=/scratch/kocevski/214550/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin69.fits ra=141.005 dec=28.2755 rad=12.0 tmin=257212801.0 tmax=257472001.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.55
user 2.10
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214550/ft1_filtered_4FGL_J0924.0+2816_daily_bin69.fits" evtable="EVENTS" scfile=/scratch/kocevski/214550/ft2_4FGL_J0924.0+2816_daily_bin69.fits sctable="SC_DATA" outfile=/scratch/kocevski/214550/ltcube_257212801_257472001_4FGL_J0924.0+2816_daily_bin69.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/214550/ft2_4FGL_J0924.0+2816_daily_bin69.fits
.....................!
real 15.42
user 14.95
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214550/ft1_filtered_4FGL_J0924.0+2816_daily_bin69.fits evtable="EVENTS" scfile=/scratch/kocevski/214550/ft2_4FGL_J0924.0+2816_daily_bin69.fits sctable="SC_DATA" expcube=/scratch/kocevski/214550/ltcube_257212801_257472001_4FGL_J0924.0+2816_daily_bin69.fits outfile=/scratch/kocevski/214550/expmap_257212801_257472001_4FGL_J0924.0+2816_daily_bin69.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/214550/ltcube_257212801_257472001_4FGL_J0924.0+2816_daily_bin69.fits
.....................!
real 192.47
user 186.03
sys 4.82

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/214550/ft1_filtered_4FGL_J0924.0+2816_daily_bin69.fits scfile=/scratch/kocevski/214550/ft2_4FGL_J0924.0+2816_daily_bin69.fits outfile=/scratch/kocevski/214550/cmap_257212801_257472001_4FGL_J0924.0+2816_daily_bin69.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.58
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214550/ft1_filtered_4FGL_J0924.0+2816_daily_bin69.fits scfile=/scratch/kocevski/214550/ft2_4FGL_J0924.0+2816_daily_bin69.fits outfile=/scratch/kocevski/214550/cmap_HighResolution_257212801_257472001_4FGL_J0924.0+2816_daily_bin69.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.59
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2903       1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.789       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.688       1.0000         .10000E-03   10000.    
     4 'norm      '    46.062       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .20552E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .15155E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.2930       1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.992       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.326       1.0000         .10000E-03   10000.    
    10 'norm      '    .60553       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.1420       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.106       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11863E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10473E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5300       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.2985       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .39219       1.0000         .10000E-03   10000.    
    18 'norm      '    7.0367       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0436       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .90463       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=   7981.882     FROM MIGRAD    STATUS=CONVERGED    419 CALLS     2095 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2901        .77881       -.14667E-06   -.30891E-03
   2  Prefactor     23.786        14.303        .19559E-05   -.45366E-05
   3  Prefactor     20.691        15.671        .11754E-05   -.43002E-04
   4  norm          46.068        29.807        .33937E-05   -.25624E-05
   5  Prefactor     .10152E-03    1.2478        .10009E-05** at limit **
   6  Prefactor     .10000E-03    24.535       -.16257E-04** at limit **
   7  norm          1.2930        1.1202       -.37888E-07   -.97917E-04
   8  Prefactor     31.094        21.927        .17005E-05    .25140E-03
   9  Prefactor     11.342        23.874        .64469E-05   -.18173E-05
  10  norm          .56705        6.8849       -.99373E-06    .10885E-03
  11  Prefactor     5.1416        4.0156       -.70742E-07   -.12508E-03
  12  Prefactor     11.120        19.009       -.62456E-06   -.94723E-05
  13  Prefactor     .10000E-03    13.352        .72383E-07** at limit **
  14  Prefactor     .10000E-03    25.247        .88597E-05** at limit **
  15  Prefactor     1.5281        1.0560        .28457E-06   -.15370E-02
  16  Prefactor     1.2948        8.6704       -.61677E-05   -.12539E-04
  17  Prefactor     .39206        1.0321        .58291E-07    .63595E-04
  18  norm          7.0375        6.9595        .20862E-05   -.69823E-05
  19  Normalizat    1.0438        .15517       -.33653E-06   -.71611E-04
  20  Prefactor     .90464        .14603       -.99532E-06   -.50629E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.29013
  Prefactor  = 23.7859
  Prefactor  = 20.6913
  norm       = 46.068
  Prefactor  = 0.000101521
  Prefactor  = 0.0001
  norm       = 1.29302
  Prefactor  = 31.0942
  Prefactor  = 11.3423
  norm       = 0.567052
  Prefactor  = 5.14159
  Prefactor  = 11.1205
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.52805
  Prefactor  = 1.2948
  Prefactor  = 0.392058
  norm       = 7.03753
  Normalizat = 1.0438
  Prefactor  = 0.90464
 **********
 **   18 **HESSE 
 **********

 FCN=   7981.882     FROM HESSE     STATUS=OK           315 CALLS     2410 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2901        .76668        .55204E-04   -1.5481    
   2  Prefactor     23.786        14.265        .82127E-04   -1.4732    
   3  Prefactor     20.691        15.713        .88061E-04   -1.4798    
   4  norm          46.068        29.799        .59077E-04   -1.4349    
   5  Prefactor     .10152E-03    1.9188        .36561E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    24.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.2930        1.1198        .38922E-04   -1.5481    
   8  Prefactor     31.094        21.457        .71972E-04   -1.4592    
   9  Prefactor     11.342        23.869        .11904E-03   -1.5034    
  10  norm          .56705        20.575        .38692E-02   -1.5557    
  11  Prefactor     5.1416        4.0255        .14521E-03   -1.5254    
  12  Prefactor     11.120        19.044        .12022E-03   -1.5041    
  13  Prefactor     .10000E-03    13.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    25.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.5281        5.0068        .16991E-02   -1.5461    
  16  Prefactor     1.2948        8.7400        .38793E-03   -1.5480    
  17  Prefactor     .39206        .98383        .14150E-02   -1.5583    
  18  norm          7.0375        6.9689        .15123E-03   -1.5177    
  19  Normalizat    1.0438        .18058        .23537E-03   -.91577    
  20  Prefactor     .90464        .16875        .24941E-03   -.95979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.66899e-09
Minuit parameter uncertainties:
  1  0.766681
  2  14.267
  3  15.7163
  4  29.8084
  5  0.00341675
  6  3.30301e-05
  7  1.11978
  8  21.4626
  9  23.8887
  10  6.83335
  11  4.02571
  12  19.054
  13  1.07221e-06
  14  8.63468e-06
  15  5.00813
  16  6.72918
  17  0.983871
  18  6.96969
  19  0.180685
  20  0.16885
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  5.142e+00  4.026e+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.046e-01  1.688e-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.044e+00  1.807e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 141.005 28.276
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 4.96e-08 +/- 3.88e-08
Energy Flux (Fixed Index): 1.43e-05 +/- 1.12e-05

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

Saving results to:
/scratch/kocevski/214550/likelihoodResults_257212801_257472001_4FGL_J0924.0+2816_daily_bin69.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) = 7980.42449273
delta logL = 1.45774444198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7980.40630353
delta logL = 1.47593364317

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94746       1.0000         .10000E-03   10000.    
     2 'Index     '    4.0990       1.0000          .0000       10.000    
     3 'Normalizat'    .96259       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96433       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=   7980.406     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      253 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94610        5.7385        .93108E-02    .93437E-03
   2  Index         4.0998        2.4224        .11580        .18054E-03
   3  Normalizat    .96267        .42524E-01    .45696E-01    .10522E-04
   4  Prefactor     .96427        .42348E-01    .45820E-01    .85097E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.946105
  Index      = 4.09984
  Normalizat = 0.962668
  Prefactor  = 0.964273
 **********
 **   18 **HESSE 
 **********

 FCN=   7980.406     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      286 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94610        11.427        .41883E-04   -1.5513    
   2  Index         4.0998        3.6769        .44999E-02   -.18102    
   3  Normalizat    .96267        .16811        .24363E-03   -.94292    
   4  Prefactor     .96427        .16667        .24251E-03   -.93930    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.96332e-07
Minuit parameter uncertainties:
  1  6.57739
  2  4.15316
  3  0.168197
  4  0.166757
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214550': 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): 102
logL (Free Index) = 7980.40630314
delta logL = 1.47593403

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  9.461e-01  6.577e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  4.100e+00  4.153e+00  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.643e-01  1.668e-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.627e-01  1.682e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.53
Ra Dec: 141.005 28.276
Photon Index (Free Index): 4.10 +/- 4.15
Photon Flux (Free Index): 1.06e-07 +/- 5.40e-08
Energy Flux (Free Index): 1.55e-05 +/- 1.30e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/214550/cmap_HighResolution_257212801_257472001_4FGL_J0924.0+2816_daily_bin69.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.54e-03', comment='SUCCESS', photon_flux='4.96e-08', energy_flux2='1.55e-05', photon_flux_error='3.88e-08', dlogl='1.48e+00', energy_flux='1.43e-05', photon_flux2='1.06e-07', job_status='DONE', time_completed='2021-08-31 11:20:14.428623', photon_index_error2='4.15', photon_index2='4.10', ts='2.18', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.23e-07', energy_flux_error2='1.30e-05', EG='1.04', time_epoch_completed='1630434014.43', return_code='0', job_id='214550', GAL2='0.96', EG2='0.96', return_code2='102', energy_flux_error='1.12e-05', photon_flux_error2='5.40e-08', ts2='5.53', photon_index='2.51' WHERE bin_id='69' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:20:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 214550: <4FGL_J0924.0+2816_daily_bin69> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin69 141.005 28.2755 257212801 257472001 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 :                                   660.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            836 sec.

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

