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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin376
RA = 141.005, Dec = 28.2755
tmin = 336787201, tmax = 337046401
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='217506', job_status='RUN', time_executed='2021-08-31 11:16:18.319158', time_epoch_executed='1630433778.32' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='376'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217506

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217506/ft1_4FGL_J0924.0+2816_daily_bin376.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217506/ft2_4FGL_J0924.0+2816_daily_bin376.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217506/ft1_4FGL_J0924.0+2816_daily_bin376.fits outfile=/scratch/kocevski/217506/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin376.fits ra=141.005 dec=28.2755 rad=12.0 tmin=336787201.0 tmax=337046401.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 6.95
user 6.48
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217506/ft2_4FGL_J0924.0+2816_daily_bin376.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/217506/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin376.fits evtable="EVENTS" outfile="/scratch/kocevski/217506/ft1_filtered_4FGL_J0924.0+2816_daily_bin376.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.92
user 0.35
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217506/ft1_filtered_4FGL_J0924.0+2816_daily_bin376.fits evtable="EVENTS" scfile=/scratch/kocevski/217506/ft2_4FGL_J0924.0+2816_daily_bin376.fits sctable="SC_DATA" expcube=/scratch/kocevski/217506/ltcube_336787201_337046401_4FGL_J0924.0+2816_daily_bin376.fits outfile=/scratch/kocevski/217506/expmap_336787201_337046401_4FGL_J0924.0+2816_daily_bin376.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/217506/ltcube_336787201_337046401_4FGL_J0924.0+2816_daily_bin376.fits
.....................!
real 194.10
user 186.31
sys 5.08

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/217506/ft1_filtered_4FGL_J0924.0+2816_daily_bin376.fits scfile=/scratch/kocevski/217506/ft2_4FGL_J0924.0+2816_daily_bin376.fits outfile=/scratch/kocevski/217506/cmap_336787201_337046401_4FGL_J0924.0+2816_daily_bin376.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217506/ft1_filtered_4FGL_J0924.0+2816_daily_bin376.fits scfile=/scratch/kocevski/217506/ft2_4FGL_J0924.0+2816_daily_bin376.fits outfile=/scratch/kocevski/217506/cmap_HighResolution_336787201_337046401_4FGL_J0924.0+2816_daily_bin376.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/217506/ft1_filtered_4FGL_J0924.0+2816_daily_bin376.fits evtable="EVENTS" scfile=/scratch/kocevski/217506/ft2_4FGL_J0924.0+2816_daily_bin376.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217506/Model_4FGL_J0924.0+2816_daily_bin376.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/217506/ft1_filtered_4FGL_J0924.0+2816_daily_bin376.fits.....................!
real 47.04
user 44.51
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5332       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .28449E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    32.353       1.0000         .10000E-03   10000.    
     4 'norm      '    30.766       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10360E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.5786       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12138E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .16889E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.578       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .52033E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.521       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.1501       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .34674       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.1410       1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .99562       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92746       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=   4974.819     FROM MIGRAD    STATUS=CONVERGED    432 CALLS     2119 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5332        .98680        .15860E-07    .15278E-02
   2  Prefactor     .10003E-03    12.940        .49374E-05** at limit **
   3  Prefactor     32.353        19.898       -.53627E-06    .11095E-03
   4  norm          30.768        31.919       -.26151E-06    .49630E-04
   5  Prefactor     .10000E-03    2.2423       -.30154E-06** at limit **
   6  Prefactor     .10000E-03    42.117       -.34681E-05** at limit **
   7  norm          .10000E-03    .48939       -.42872E-07** at limit **
   8  Prefactor     9.5459        16.826       -.41073E-05   -.90554E-04
   9  Prefactor     .10000E-03    136.82        .40202E-05** at limit **
  10  norm          .10000E-03    4.7150       -.83920E-06** at limit **
  11  Prefactor     .10000E-03    2.0881       -.26458E-06** at limit **
  12  Prefactor     10.577        17.874        .17161E-06    .66655E-04
  13  Prefactor     .10000E-03    189.47        .39579E-05** at limit **
  14  Prefactor     17.494        60.666        .99066E-05    .85688E-04
  15  Prefactor     1.1479        8.7275       -.49863E-05    .28599E-03
  16  Prefactor     .31894        38.835       -.16163E-04    .17869E-03
  17  Prefactor     3.1402        2.4884        .10973E-06    .42102E-03
  18  norm          .10000E-03    3.3087        .14157E-06** at limit **
  19  Normalizat    .99577        .18392        .20257E-05    .67288E-03
  20  Prefactor     .92739        .17633        .13024E-05    .47654E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53318
  Prefactor  = 0.000100029
  Prefactor  = 32.3534
  norm       = 30.7683
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.54594
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.5771
  Prefactor  = 0.000100002
  Prefactor  = 17.4939
  Prefactor  = 1.14786
  Prefactor  = 0.318942
  Prefactor  = 3.14024
  norm       = 0.0001
  Normalizat = 0.995765
  Prefactor  = 0.927394
 **********
 **   18 **HESSE 
 **********

 FCN=   4974.819     FROM HESSE     STATUS=OK           293 CALLS     2412 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5332        .96917        .41406E-04   -1.5390    
   2  Prefactor     .10003E-03    31.758        .39886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     32.353        19.971        .70447E-04   -1.4570    
   4  norm          30.768        31.868        .72235E-04   -1.4598    
   5  Prefactor     .10000E-03    4.0039        .20444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    42.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .49116        .48181E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.5459        16.935        .12948E-03   -1.5090    
   9  Prefactor     .10000E-03    138.50        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.7385        .14929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.4238        .19420E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.577        17.868        .12319E-03   -1.5057    
  13  Prefactor     .10000E-03    192.44        .21138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.494        61.623        .95683E-04   -1.4871    
  15  Prefactor     1.1479        9.3158        .39842E-03   -1.5494    
  16  Prefactor     .31894        45.167        .37758E-02   -1.5595    
  17  Prefactor     3.1402        2.4809        .94647E-04   -1.5354    
  18  norm          .10000E-03    3.3175        .12530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .99577        .21398        .22706E-03   -.93172    
  20  Prefactor     .92739        .20592        .23893E-03   -.95190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56002e-09
Minuit parameter uncertainties:
  1  0.969179
  2  0.00193134
  3  19.9751
  4  31.8858
  5  2.9554e-05
  6  0.0001859
  7  7.10322e-07
  8  16.9439
  9  5.23622e-05
  10  6.04416e-05
  11  3.66849e-05
  12  17.877
  13  0.00108158
  14  61.8487
  15  6.5412
  16  7.59565
  17  2.48101
  18  2.97318e-06
  19  0.214163
  20  0.20609
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  3.668e-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:  9.274e-01  2.061e-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.958e-01  2.142e-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: 8.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/217506/likelihoodResults_336787201_337046401_4FGL_J0924.0+2816_daily_bin376.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) = 4974.81930857
delta logL = -0.000642130183223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4974.81866588
delta logL = 5.62890818401e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5546       1.0000          .0000       10.000    
     3 'Normalizat'    .99571       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92745       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=   4974.819     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      234 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    2.8860        .56671E-01** at limit **
   2  Index         2.6112        6.2436        .50000       -.64735E-04
   3  Normalizat    .99576        .56946E-02    .46113E-01    .24441E-03
   4  Prefactor     .92739        .58335E-02    .45354E-01    .20304E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Index      = 2.61121
  Normalizat = 0.995763
  Prefactor  = 0.927395
 **********
 **   18 **HESSE 
 **********

 FCN=   4974.819     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      265 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    1254.5        .18067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6112        7.0044        .50000       -.49810    
   3  Normalizat    .99576        .64618E-01    .22706E-03   -.93173    
   4  Prefactor     .92739        .65762E-01    .23893E-03   -.95190    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.16846e-06
Minuit parameter uncertainties:
  1  0.00615726
  2  51.5601
  3  0.0646233
  4  0.0657678
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217506': 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) = 4974.81866494
delta logL = 1.50259438669e-06

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  6.157e-03  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.611e+00  5.156e+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.274e-01  6.577e-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:  9.958e-01  6.462e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/217506/cmap_HighResolution_336787201_337046401_4FGL_J0924.0+2816_daily_bin376.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', job_status='DONE', photon_flux_upper_limit='8.20e-08', time_completed='2021-08-31 11:25:45.157904', job_id='217506', GAL2='0.93', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1630434345.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.50e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='376' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:25:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 217506: <4FGL_J0924.0+2816_daily_bin376> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin376> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Tue Aug 31 11:15:55 2021
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:15:57 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:15:57 2021
Terminated at Tue Aug 31 11:25:45 2021
Results reported at Tue Aug 31 11:25:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin376 141.005 28.2755 336787201 337046401 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 :                                   555.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             312.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   588 sec.
    Turnaround time :                            590 sec.

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

