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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin38
RA = 141.005, Dec = 28.2755
tmin = 249177601, tmax = 249436801
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='214504', job_status='RUN', time_executed='2021-08-31 11:09:53.423082', time_epoch_executed='1630433393.42' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='38'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214504

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214504/ft1_4FGL_J0924.0+2816_daily_bin38.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214504/ft2_4FGL_J0924.0+2816_daily_bin38.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214504/ft1_4FGL_J0924.0+2816_daily_bin38.fits outfile=/scratch/kocevski/214504/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin38.fits ra=141.005 dec=28.2755 rad=12.0 tmin=249177601.0 tmax=249436801.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.45
user 1.27
sys 0.13

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214504/ft1_filtered_4FGL_J0924.0+2816_daily_bin38.fits evtable="EVENTS" scfile=/scratch/kocevski/214504/ft2_4FGL_J0924.0+2816_daily_bin38.fits sctable="SC_DATA" expcube=/scratch/kocevski/214504/ltcube_249177601_249436801_4FGL_J0924.0+2816_daily_bin38.fits outfile=/scratch/kocevski/214504/expmap_249177601_249436801_4FGL_J0924.0+2816_daily_bin38.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/214504/ltcube_249177601_249436801_4FGL_J0924.0+2816_daily_bin38.fits
.....................!
real 189.35
user 185.57
sys 3.32

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/214504/ft1_filtered_4FGL_J0924.0+2816_daily_bin38.fits scfile=/scratch/kocevski/214504/ft2_4FGL_J0924.0+2816_daily_bin38.fits outfile=/scratch/kocevski/214504/cmap_249177601_249436801_4FGL_J0924.0+2816_daily_bin38.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214504/ft1_filtered_4FGL_J0924.0+2816_daily_bin38.fits scfile=/scratch/kocevski/214504/ft2_4FGL_J0924.0+2816_daily_bin38.fits outfile=/scratch/kocevski/214504/cmap_HighResolution_249177601_249436801_4FGL_J0924.0+2816_daily_bin38.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.57
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2832       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.1689       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.2131       1.0000         .10000E-03   10000.    
     4 'norm      '    68.163       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.0546       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.435       1.0000         .10000E-03   10000.    
     7 'norm      '    .12167E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.801       1.0000         .10000E-03   10000.    
     9 'Prefactor '    39.290       1.0000         .10000E-03   10000.    
    10 'norm      '    2.6413       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10653E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    95.034       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.5438       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .59150       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3336       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=   5693.959     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2068 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2832        .67468       -.24043E-06    .11582E-03
   2  Prefactor     9.1680        8.6506       -.44154E-06    .11927E-04
   3  Prefactor     3.2119        12.076       -.71223E-05   -.11521E-03
   4  norm          68.159        36.281       -.47576E-05    .30397E-04
   5  Prefactor     4.0542        4.0189       -.69758E-06   -.15506E-03
   6  Prefactor     14.433        33.069       -.50417E-05    .24585E-05
   7  norm          .10000E-03    1.2903       -.11657E-05** at limit **
   8  Prefactor     19.802        17.786       -.77273E-06    .54251E-04
   9  Prefactor     39.289        41.797       -.16448E-05    .34640E-04
  10  norm          2.6411        4.9397       -.15384E-05   -.38371E-03
  11  Prefactor     .10000E-03    1.4411       -.19716E-06** at limit **
  12  Prefactor     .10000E-03    12.820       -.22393E-05** at limit **
  13  Prefactor     .10000E-03    30.913        .55407E-05** at limit **
  14  Prefactor     94.881        66.144       -.14584E-03    .28394E-04
  15  Prefactor     9.5468        7.4738        .83199E-06    .18866E-03
  16  Prefactor     .10000E-03    7.5226       -.15028E-05** at limit **
  17  Prefactor     .10000E-03    .73201       -.61891E-06** at limit **
  18  norm          .10000E-03    8.5120        .16806E-05** at limit **
  19  Normalizat    .59128        .16672        .19821E-04    .15452E-03
  20  Prefactor     1.3339        .17102       -.53482E-07    .84976E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.28316
  Prefactor  = 9.16797
  Prefactor  = 3.21185
  norm       = 68.1585
  Prefactor  = 4.05424
  Prefactor  = 14.4332
  norm       = 0.000100002
  Prefactor  = 19.8022
  Prefactor  = 39.2893
  norm       = 2.64106
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 94.8805
  Prefactor  = 9.54683
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Normalizat = 0.591282
  Prefactor  = 1.3339
 **********
 **   18 **HESSE 
 **********

 FCN=   5693.959     FROM HESSE     STATUS=OK           295 CALLS     2363 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2832        .66869        .43114E-04   -1.5481    
   2  Prefactor     9.1680        8.6517        .13236E-03   -1.5102    
   3  Prefactor     3.2119        12.058        .22601E-03   -1.5350    
   4  norm          68.159        36.293        .48616E-04   -1.4055    
   5  Prefactor     4.0542        4.0107        .14386E-03   -1.5305    
   6  Prefactor     14.433        33.041        .10542E-03   -1.4948    
   7  norm          .10000E-03    2.4982        .16562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     19.802        17.752        .90009E-04   -1.4818    
   9  Prefactor     39.289        41.800        .63945E-04   -1.4454    
  10  norm          2.6411        4.9101        .21932E-03   -1.5383    
  11  Prefactor     .10000E-03    1.4561        .88390E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    30.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     94.881        66.188        .20614E-03   -1.3757    
  15  Prefactor     9.5468        7.4761        .12972E-03   -1.5090    
  16  Prefactor     .10000E-03    7.6481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.0886        .12531E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    8.6429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .59128        .19102        .28731E-03   -1.0836    
  20  Prefactor     1.3339        .19790        .21237E-03   -.82305    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.89148e-09
Minuit parameter uncertainties:
  1  0.668695
  2  8.65288
  3  12.0675
  4  36.3043
  5  4.01096
  6  33.0825
  7  0.00015751
  8  17.7569
  9  41.8309
  10  4.91087
  11  2.643e-05
  12  8.80397e-05
  13  0.000519161
  14  66.2394
  15  7.4768
  16  0.000179763
  17  5.94459e-05
  18  6.5429e-05
  19  0.19123
  20  0.198009
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  2.643e-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.334e+00  1.980e-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:  5.913e-01  1.912e-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: 5.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/214504/likelihoodResults_249177601_249436801_4FGL_J0924.0+2816_daily_bin38.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) = 5693.96176059
delta logL = -0.00324453531721

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5693.9585163
delta logL = -2.41007001023e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10238E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4826       1.0000          .0000       10.000    
     3 'Normalizat'    .59125       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3340       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=   5693.959     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      256 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.4361        .90347E-02** at limit **
   2  Index         1.9816        7.4514        .50000        .10963E-05
   3  Normalizat    .59129        .90591E-02    .28730E-03    .15652E-02
   4  Prefactor     1.3339        .97520E-02    .21237E-03    .21299E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.98163
  Normalizat = 0.591291
  Prefactor  = 1.33389
 **********
 **   18 **HESSE 
 **********

 FCN=   5693.959     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      285 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    83.252        .10212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9816        5.9316        .50000       -.64810    
   3  Normalizat    .59129        .28049E-01    .57459E-04   -1.0836    
   4  Prefactor     1.3339        .30195E-01    .42473E-04   -.82305    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.37487e-08
Minuit parameter uncertainties:
  1  1.14074e-05
  2  405.28
  3  0.0280496
  4  0.0301949
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214504': 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) = 5693.9585076
delta logL = 8.45964314067e-06

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  1.141e-05  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  1.982e+00  4.053e+02  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.334e+00  3.019e-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:  5.913e-01  2.805e-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/214504/cmap_HighResolution_249177601_249436801_4FGL_J0924.0+2816_daily_bin38.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.58e-03', job_status='DONE', photon_flux_upper_limit='5.88e-08', time_completed='2021-08-31 11:18:53.918854', job_id='214504', GAL2='1.33', fit_tolerance='1e-08', EG2='0.59', EG='0.59', time_epoch_completed='1630433933.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.33', dlogl='8.46e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='38' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:18:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 214504: <4FGL_J0924.0+2816_daily_bin38> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin38 141.005 28.2755 249177601 249436801 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 :                                   539.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            757 sec.

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

