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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin89
RA = 141.005, Dec = 28.2755
tmin = 262396801, tmax = 262656001
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='215869', job_status='RUN', time_executed='2021-08-31 11:14:54.778479', time_epoch_executed='1630433694.78' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='89'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/215869

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/215869/ft1_4FGL_J0924.0+2816_daily_bin89.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/215869/ft2_4FGL_J0924.0+2816_daily_bin89.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/215869/ft1_4FGL_J0924.0+2816_daily_bin89.fits outfile=/scratch/kocevski/215869/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin89.fits ra=141.005 dec=28.2755 rad=12.0 tmin=262396801.0 tmax=262656001.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 1.41
user 1.23
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/215869/ft1_filtered_4FGL_J0924.0+2816_daily_bin89.fits" evtable="EVENTS" scfile=/scratch/kocevski/215869/ft2_4FGL_J0924.0+2816_daily_bin89.fits sctable="SC_DATA" outfile=/scratch/kocevski/215869/ltcube_262396801_262656001_4FGL_J0924.0+2816_daily_bin89.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/215869/ft2_4FGL_J0924.0+2816_daily_bin89.fits
.....................!
real 12.67
user 12.29
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/215869/ft1_filtered_4FGL_J0924.0+2816_daily_bin89.fits evtable="EVENTS" scfile=/scratch/kocevski/215869/ft2_4FGL_J0924.0+2816_daily_bin89.fits sctable="SC_DATA" expcube=/scratch/kocevski/215869/ltcube_262396801_262656001_4FGL_J0924.0+2816_daily_bin89.fits outfile=/scratch/kocevski/215869/expmap_262396801_262656001_4FGL_J0924.0+2816_daily_bin89.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/215869/ltcube_262396801_262656001_4FGL_J0924.0+2816_daily_bin89.fits
.....................!
real 190.83
user 185.35
sys 5.06

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/215869/ft1_filtered_4FGL_J0924.0+2816_daily_bin89.fits scfile=/scratch/kocevski/215869/ft2_4FGL_J0924.0+2816_daily_bin89.fits outfile=/scratch/kocevski/215869/cmap_262396801_262656001_4FGL_J0924.0+2816_daily_bin89.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/215869/ft1_filtered_4FGL_J0924.0+2816_daily_bin89.fits scfile=/scratch/kocevski/215869/ft2_4FGL_J0924.0+2816_daily_bin89.fits outfile=/scratch/kocevski/215869/cmap_HighResolution_262396801_262656001_4FGL_J0924.0+2816_daily_bin89.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3869       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.155       1.0000         .10000E-03   10000.    
     4 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.5655       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13369E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    13.617       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .49503E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    31.974       1.0000         .10000E-03   10000.    
    13 'Prefactor '    40.484       1.0000         .10000E-03   10000.    
    14 'Prefactor '    71.839       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.108       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .31513E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    29.466       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .81619       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2134       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=   7628.567     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     2065 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3869        .63348        .92307E-02    .26368E-03
   2  Prefactor     .10000E-03    6.9907        .90712E-02** at limit **
   3  Prefactor     14.158        13.883        .26615E-02    .16159E-02
   4  norm          .10000E-03    12.864        .90712E-02** at limit **
   5  Prefactor     2.5658        2.9827        .63714E-02    .45230E-03
   6  Prefactor     .10000E-03    10.932        .90712E-02** at limit **
   7  norm          .10000E-03    .91572        .29508E-01** at limit **
   8  Prefactor     .10000E-03    12.772        .90712E-02** at limit **
   9  Prefactor     .10000E-03    91.964        .90712E-02** at limit **
  10  norm          13.620        8.2357        .27136E-02    .72623E-03
  11  Prefactor     .10000E-03    1.5424        .68035E-01** at limit **
  12  Prefactor     31.979        25.477        .17715E-02   -.11969E-02
  13  Prefactor     40.484        44.580        .15750E-02    .31879E-03
  14  Prefactor     71.839        44.190        .11841E-02    .33021E-03
  15  Prefactor     10.109        6.4861        .31509E-02    .20563E-03
  16  Prefactor     .10000E-03    2.8477        .90712E-02** at limit **
  17  Prefactor     .10000E-03    .80141        .45763E-01** at limit **
  18  norm          29.467        10.916        .18452E-02    .51067E-03
  19  Normalizat    .81610        .15807        .43821E-01    .69840E-04
  20  Prefactor     1.2134        .15513        .51925E-01    .61231E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.38695
  Prefactor  = 0.0001
  Prefactor  = 14.1582
  norm       = 0.0001
  Prefactor  = 2.56585
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 13.6199
  Prefactor  = 0.0001
  Prefactor  = 31.9785
  Prefactor  = 40.4841
  Prefactor  = 71.8387
  Prefactor  = 10.109
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 29.4673
  Normalizat = 0.816102
  Prefactor  = 1.2134
 **********
 **   18 **HESSE 
 **********

 FCN=   7628.567     FROM HESSE     STATUS=OK           291 CALLS     2356 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3869        .62645        .45261E-04   -1.5472    
   2  Prefactor     .10000E-03    7.0431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.158        13.864        .10646E-03   -1.4955    
   4  norm          .10000E-03    12.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5658        2.9701        .15675E-03   -1.5388    
   6  Prefactor     .10000E-03    10.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.8880        .16054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    92.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.620        8.2417        .10854E-03   -1.4970    
  11  Prefactor     .10000E-03    11.540        .20203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     31.979        25.431        .70862E-04   -1.4576    
  13  Prefactor     40.484        44.575        .62998E-04   -1.4435    
  14  Prefactor     71.839        44.183        .47365E-04   -1.4011    
  15  Prefactor     10.109        6.4736        .12603E-03   -1.5072    
  16  Prefactor     .10000E-03    2.8656        .14393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.735        .15062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          29.467        10.910        .73808E-04   -1.4622    
  19  Normalizat    .81610        .18280        .26557E-03   -.99474    
  20  Prefactor     1.2134        .18199        .22957E-03   -.85920    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.5163e-09
Minuit parameter uncertainties:
  1  0.626451
  2  1.07234e-05
  3  13.867
  4  0.000128825
  5  2.97027
  6  5.19984e-06
  7  4.62301e-06
  8  0.000171722
  9  5.70106e-06
  10  8.24237
  11  8.93968e-05
  12  25.4398
  13  44.6118
  14  44.2035
  15  6.47402
  16  7.13305e-06
  17  0.00027675
  18  10.9105
  19  0.182939
  20  0.182081
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  8.940e-05  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.213e+00  1.821e-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.161e-01  1.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/215869/likelihoodResults_262396801_262656001_4FGL_J0924.0+2816_daily_bin89.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): 102
logL (Free Index) = 7628.56716259
delta logL = -0.000412834724557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7628.56674823
delta logL = 1.52049506141e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7628.375     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      281 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22631E-01    .39434       -.20871E-05   -.36072E-02
   2  Index         5.4358        3.9407        .15843E-03   -.62476E-04
   3  Normalizat    .78006        .18387        .19074E-04    .12421E-03
   4  Prefactor     1.2373        .18487       -.15603E-04    .35393E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0226305
  Index      = 5.4358
  Normalizat = 0.780062
  Prefactor  = 1.23728
 **********
 **   18 **HESSE 
 **********

 FCN=   7628.375     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      318 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22631E-01    .37719        .47344E-02   -1.5678    
   2  Index         5.4358        2.4490        .23096        .87271E-01
   3  Normalizat    .78006        .19695E-01    .43820E-01   -1.0081    
   4  Prefactor     1.2373        .20422E-01    .51500E-01   -.85192    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.57729e-09
Minuit parameter uncertainties:
  1  0.184375
  2  2.56023
  3  0.0196948
  4  0.0204226
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/215869': 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) = 7628.37468783
delta logL = 0.192061918163

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  2.263e-02  1.844e-01  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  5.436e+00  2.560e+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:  1.237e+00  2.042e-02  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  7.801e-01  1.969e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 141.005 28.276

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/215869/cmap_HighResolution_262396801_262656001_4FGL_J0924.0+2816_daily_bin89.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.88e-03', job_status='DONE', photon_flux_upper_limit='7.56e-08', time_completed='2021-08-31 11:25:41.367631', job_id='215869', GAL2='1.24', fit_tolerance='1e-08', EG2='0.78', EG='0.82', time_epoch_completed='1630434341.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='1.92e-01', ts2='0.42', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='89' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:25:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0299>
Subject: Job 215869: <4FGL_J0924.0+2816_daily_bin89> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin89 141.005 28.2755 262396801 262656001 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 :                                   644.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            895 sec.

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

