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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin99
RA = 141.005, Dec = 28.2755
tmin = 264988801, tmax = 265248001
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='214606', job_status='RUN', time_executed='2021-08-31 11:09:28.968790', time_epoch_executed='1630433368.97' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='99'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214606

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214606/ft1_4FGL_J0924.0+2816_daily_bin99.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214606/ft2_4FGL_J0924.0+2816_daily_bin99.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214606/ft1_4FGL_J0924.0+2816_daily_bin99.fits outfile=/scratch/kocevski/214606/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin99.fits ra=141.005 dec=28.2755 rad=12.0 tmin=264988801.0 tmax=265248001.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.46
user 1.25
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214606/ft1_filtered_4FGL_J0924.0+2816_daily_bin99.fits" evtable="EVENTS" scfile=/scratch/kocevski/214606/ft2_4FGL_J0924.0+2816_daily_bin99.fits sctable="SC_DATA" outfile=/scratch/kocevski/214606/ltcube_264988801_265248001_4FGL_J0924.0+2816_daily_bin99.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/214606/ft2_4FGL_J0924.0+2816_daily_bin99.fits
.....................!
real 14.44
user 14.07
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214606/ft1_filtered_4FGL_J0924.0+2816_daily_bin99.fits evtable="EVENTS" scfile=/scratch/kocevski/214606/ft2_4FGL_J0924.0+2816_daily_bin99.fits sctable="SC_DATA" expcube=/scratch/kocevski/214606/ltcube_264988801_265248001_4FGL_J0924.0+2816_daily_bin99.fits outfile=/scratch/kocevski/214606/expmap_264988801_265248001_4FGL_J0924.0+2816_daily_bin99.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/214606/ltcube_264988801_265248001_4FGL_J0924.0+2816_daily_bin99.fits
.....................!
real 191.29
user 186.11
sys 4.68

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/214606/ft1_filtered_4FGL_J0924.0+2816_daily_bin99.fits scfile=/scratch/kocevski/214606/ft2_4FGL_J0924.0+2816_daily_bin99.fits outfile=/scratch/kocevski/214606/cmap_264988801_265248001_4FGL_J0924.0+2816_daily_bin99.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214606/ft1_filtered_4FGL_J0924.0+2816_daily_bin99.fits scfile=/scratch/kocevski/214606/ft2_4FGL_J0924.0+2816_daily_bin99.fits outfile=/scratch/kocevski/214606/cmap_HighResolution_264988801_265248001_4FGL_J0924.0+2816_daily_bin99.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.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26391       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    30.402       1.0000         .10000E-03   10000.    
     7 'norm      '    1.7567       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.2779       1.0000         .10000E-03   10000.    
     9 'Prefactor '    84.221       1.0000         .10000E-03   10000.    
    10 'norm      '    .11549E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11638E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10242E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    76.742       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.2307       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.1891       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.8557       1.0000         .10000E-03   10000.    
    18 'norm      '    16.323       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0878       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0354       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=   7963.709     FROM MIGRAD    STATUS=CONVERGED    396 CALLS     2015 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26387        .57876       -.57228E-06   -.30387E-02
   2  Prefactor     .10000E-03    3.3420        .39494E-07** at limit **
   3  Prefactor     .10000E-03    16.320       -.12477E-04** at limit **
   4  norm          .10000E-03    9.7728        .10905E-05** at limit **
   5  Prefactor     .10000E-03    .99007        .77807E-07** at limit **
   6  Prefactor     30.423        30.508        .31213E-04    .82328E-04
   7  norm          1.7563        1.4057       -.28776E-08    .10196E-03
   8  Prefactor     7.2516        20.471       -.45635E-04   -.10382E-03
   9  Prefactor     84.219        46.625       -.20823E-05    .38153E-04
  10  norm          .10000E-03    4.6927        .12620E-05** at limit **
  11  Prefactor     .10000E-03    2.4749       -.11934E-06** at limit **
  12  Prefactor     .10000E-03    28.473       -.15088E-04** at limit **
  13  Prefactor     .10000E-03    22.131        .26615E-04** at limit **
  14  Prefactor     76.747        46.265        .41989E-05   -.11940E-05
  15  Prefactor     5.2301        4.9087       -.11604E-07   -.23420E-03
  16  Prefactor     4.1900        7.0703       -.86193E-06   -.23455E-03
  17  Prefactor     3.8557        2.0576       -.16831E-06   -.73494E-04
  18  norm          16.323        7.8021       -.11837E-06    .55133E-05
  19  Normalizat    1.0876        .15411        .35280E-05    .25228E-03
  20  Prefactor     1.0356        .15286       -.11150E-05    .47788E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.263866
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.4231
  norm       = 1.75628
  Prefactor  = 7.25161
  Prefactor  = 84.2194
  norm       = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 76.7471
  Prefactor  = 5.23012
  Prefactor  = 4.18998
  Prefactor  = 3.85573
  norm       = 16.323
  Normalizat = 1.0876
  Prefactor  = 1.03561
 **********
 **   18 **HESSE 
 **********

 FCN=   7963.709     FROM HESSE     STATUS=OK           285 CALLS     2300 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26387        .57894        .95630E-04   -1.5605    
   2  Prefactor     .10000E-03    3.3475        .15926E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    9.7798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    .99789        .86700E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     30.423        30.476        .72666E-04   -1.4604    
   7  norm          1.7563        1.4109        .91680E-04   -1.5443    
   8  Prefactor     7.2516        20.598        .14868E-03   -1.5169    
   9  Prefactor     84.219        46.642        .43772E-04   -1.3870    
  10  norm          .10000E-03    4.7324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.5736        .27368E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    28.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    22.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     76.747        46.269        .45838E-04   -1.3954    
  15  Prefactor     5.2301        4.9030        .17576E-03   -1.5251    
  16  Prefactor     4.1900        7.0675        .19691E-03   -1.5299    
  17  Prefactor     3.8557        2.0567        .89866E-04   -1.5315    
  18  norm          16.323        7.8002        .99134E-04   -1.4900    
  19  Normalizat    1.0876        .17453        .23997E-03   -.90151    
  20  Prefactor     1.0356        .17317        .24901E-03   -.91552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83124e-09
Minuit parameter uncertainties:
  1  0.57895
  2  4.40503e-06
  3  6.31291e-06
  4  1.42533e-06
  5  1.41172e-06
  6  30.4919
  7  1.41091
  8  20.6185
  9  46.6618
  10  0.000287749
  11  1.2957e-05
  12  2.79421e-05
  13  4.27057e-05
  14  46.2904
  15  4.90338
  16  7.06886
  17  2.05669
  18  7.8007
  19  0.174627
  20  0.173266
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  1.296e-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.036e+00  1.733e-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.088e+00  1.746e-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: 6.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/214606/likelihoodResults_264988801_265248001_4FGL_J0924.0+2816_daily_bin99.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) = 7963.71037221
delta logL = -0.0018546257179

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7963.70851802
delta logL = -4.38680217485e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5123       1.0000          .0000       10.000    
     3 'Normalizat'    1.0875       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0357       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7963.709     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      240 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.7657        .27400E-03** at limit **
   2  Index         2.5192        6.2593        .50000       -.24114E-04
   3  Normalizat    1.0876        .16773        .23997E-03    .29562E-04
   4  Prefactor     1.0356        .17110        .24901E-03    .51088E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.51919
  Normalizat = 1.0876
  Prefactor  = 1.03561
 **********
 **   18 **HESSE 
 **********

 FCN=   7963.709     FROM HESSE     STATUS=OK            29 CALLS      269 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.5876        .54800E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5192        6.2564        .50000       -.51917    
   3  Normalizat    1.0876        .16789        .95990E-05   -.90151    
   4  Prefactor     1.0356        .17127        .99606E-05   -.91552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23978e-09
Minuit parameter uncertainties:
  1  0.000125973
  2  4.34673
  3  0.167973
  4  0.171356
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214606': 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) = 7963.70851751
delta logL = 7.44348653825e-08

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  1.260e-04  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.519e+00  4.347e+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.036e+00  1.714e-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.088e+00  1.680e-01  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/214606/cmap_HighResolution_264988801_265248001_4FGL_J0924.0+2816_daily_bin99.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-03', job_status='DONE', photon_flux_upper_limit='6.04e-08', time_completed='2021-08-31 11:20:17.364065', job_id='214606', GAL2='1.04', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1630434017.36', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='7.44e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='99' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:20:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 214606: <4FGL_J0924.0+2816_daily_bin99> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin99 141.005 28.2755 264988801 265248001 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 :                                   647.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            834 sec.

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

