/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 15 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 = 7387
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0924.0+2816_daily_bin356
RA = 141.005, Dec = 28.2755
tmin = 331603201, tmax = 331862401
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='216274', job_status='RUN', time_executed='2021-08-31 11:12:02.395853', time_epoch_executed='1630433522.4' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='356'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216274

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216274/ft1_4FGL_J0924.0+2816_daily_bin356.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216274/ft2_4FGL_J0924.0+2816_daily_bin356.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216274/ft1_4FGL_J0924.0+2816_daily_bin356.fits outfile=/scratch/kocevski/216274/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin356.fits ra=141.005 dec=28.2755 rad=12.0 tmin=331603201.0 tmax=331862401.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 3.27
user 3.04
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216274/ft1_filtered_4FGL_J0924.0+2816_daily_bin356.fits evtable="EVENTS" scfile=/scratch/kocevski/216274/ft2_4FGL_J0924.0+2816_daily_bin356.fits sctable="SC_DATA" expcube=/scratch/kocevski/216274/ltcube_331603201_331862401_4FGL_J0924.0+2816_daily_bin356.fits outfile=/scratch/kocevski/216274/expmap_331603201_331862401_4FGL_J0924.0+2816_daily_bin356.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/216274/ltcube_331603201_331862401_4FGL_J0924.0+2816_daily_bin356.fits
.....................!
real 189.74
user 185.63
sys 3.81

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/216274/ft1_filtered_4FGL_J0924.0+2816_daily_bin356.fits scfile=/scratch/kocevski/216274/ft2_4FGL_J0924.0+2816_daily_bin356.fits outfile=/scratch/kocevski/216274/cmap_331603201_331862401_4FGL_J0924.0+2816_daily_bin356.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.51
user 0.38
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/216274/ft1_filtered_4FGL_J0924.0+2816_daily_bin356.fits scfile=/scratch/kocevski/216274/ft2_4FGL_J0924.0+2816_daily_bin356.fits outfile=/scratch/kocevski/216274/cmap_HighResolution_331603201_331862401_4FGL_J0924.0+2816_daily_bin356.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10454E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.5719       1.0000         .10000E-03   10000.    
     4 'norm      '    49.843       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .19078E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.3396       1.0000         .10000E-03   10000.    
     8 'Prefactor '    24.646       1.0000         .10000E-03   10000.    
     9 'Prefactor '    33.503       1.0000         .10000E-03   10000.    
    10 'norm      '    2.9236       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.8900       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10300E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8669       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0408       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0192       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=   5547.568     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     2085 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .37608        .60506E-07** at limit **
   2  Prefactor     .10000E-03    27.744       -.19650E-04** at limit **
   3  Prefactor     5.5739        13.564       -.31691E-06   -.90646E-04
   4  norm          49.861        43.006        .15182E-04    .69111E-04
   5  Prefactor     .10030E-03    1.9113        .16252E-05** at limit **
   6  Prefactor     .10000E-03    15.767       -.86274E-05** at limit **
   7  norm          1.3396        1.2017        .67142E-08    .21973E-04
   8  Prefactor     24.644        21.191        .26019E-06   -.66969E-04
   9  Prefactor     33.518        33.823        .11488E-04    .68708E-05
  10  norm          2.9234        6.2319        .42396E-05   -.35089E-03
  11  Prefactor     1.8904        3.0306       -.38483E-06   -.62301E-03
  12  Prefactor     .10044E-03    11.827       -.21668E-05** at limit **
  13  Prefactor     .10000E-03    39.101        .27131E-04** at limit **
  14  Prefactor     3.8743        164.52        .25910E-04   -.10777E-04
  15  Prefactor     .10000E-03    2.5735        .13211E-06** at limit **
  16  Prefactor     .10000E-03    8.5110       -.33671E-07** at limit **
  17  Prefactor     .10000E-03    .76693        .15570E-06** at limit **
  18  norm          .10000E-03    6.5373        .12804E-06** at limit **
  19  Normalizat    1.0406        .17194       -.14427E-05   -.11890E-03
  20  Prefactor     1.0194        .17225       -.18695E-05   -.77409E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 5.57391
  norm       = 49.8607
  Prefactor  = 0.000100298
  Prefactor  = 0.0001
  norm       = 1.33959
  Prefactor  = 24.6437
  Prefactor  = 33.5184
  norm       = 2.92343
  Prefactor  = 1.89038
  Prefactor  = 0.000100439
  Prefactor  = 0.0001
  Prefactor  = 3.87434
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.04059
  Prefactor  = 1.01943
 **********
 **   18 **HESSE 
 **********

 FCN=   5547.568     FROM HESSE     STATUS=OK           299 CALLS     2384 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.0690        .88122E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    28.614        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.5739        13.551        .17020E-03   -1.5236    
   4  norm          49.861        43.209        .56802E-04   -1.4295    
   5  Prefactor     .10030E-03    16.668        .19654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3396        1.2100        .75099E-04   -1.5476    
   8  Prefactor     24.644        21.099        .80689E-04   -1.4715    
   9  Prefactor     33.518        33.840        .69230E-04   -1.4549    
  10  norm          2.9234        6.1432        .23758E-03   -1.5366    
  11  Prefactor     1.8904        3.0091        .15690E-03   -1.5433    
  12  Prefactor     .10044E-03    69.525        .49516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    39.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.8743        164.11        .20521E-03   -1.5314    
  15  Prefactor     .10000E-03    2.5881        .11666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.5901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .77770        .63668E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    6.6063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0406        .19612        .23025E-03   -.91683    
  20  Prefactor     1.0194        .19777        .23764E-03   -.92085    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36209e-08
Minuit parameter uncertainties:
  1  4.47289e-05
  2  0.000261533
  3  13.5589
  4  43.2363
  5  0.00445499
  6  8.80318e-06
  7  1.20999
  8  21.1054
  9  33.8591
  10  6.14449
  11  3.00934
  12  0.011058
  13  1.83107e-05
  14  50.5795
  15  6.12388e-06
  16  3.76321e-05
  17  3.47331e-06
  18  1.95109e-05
  19  0.196255
  20  0.197913
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.890e+00  3.009e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.019e+00  1.979e-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.041e+00  1.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/216274/likelihoodResults_331603201_331862401_4FGL_J0924.0+2816_daily_bin356.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5547.54864622
delta logL = 0.0197897805929

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5547.54528787
delta logL = 0.0231481306009

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1418       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2608       1.0000          .0000       10.000    
     3 'Normalizat'    1.0451       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0163       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=   5547.545     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      243 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1417        3.4177        .16538E-03    .40887E-03
   2  Index         2.2609        1.0842        .14049E-01    .22602E-04
   3  Normalizat    1.0451        .19235        .22981E-03    .14149E-04
   4  Prefactor     1.0163        .19646        .23795E-03    .13903E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.14172
  Index      = 2.26091
  Normalizat = 1.04505
  Prefactor  = 1.01628
 **********
 **   18 **HESSE 
 **********

 FCN=   5547.545     FROM HESSE     STATUS=OK            25 CALLS      268 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1417        3.3813        .66154E-05   -1.5415    
   2  Index         2.2609        1.0729        .56198E-03   -.57975    
   3  Normalizat    1.0451        .19248        .91923E-05   -.91536    
   4  Prefactor     1.0163        .19660        .95179E-05   -.92189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0306e-10
Minuit parameter uncertainties:
  1  3.38163
  2  1.08506
  3  0.192611
  4  0.196735
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216274': 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) = 5547.54528786
delta logL = 0.0231481408273

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  2.142e+00  3.382e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.261e+00  1.085e+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.016e+00  1.967e-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.045e+00  1.926e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.51
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/216274/cmap_HighResolution_331603201_331862401_4FGL_J0924.0+2816_daily_bin356.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.02e-03', job_status='DONE', photon_flux_upper_limit='9.03e-08', time_completed='2021-08-31 11:21:20.599938', job_id='216274', GAL2='1.02', fit_tolerance='1e-08', EG2='1.05', EG='1.04', time_epoch_completed='1630434080.6', return_code2='0', ts='0.51', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.31e-02', ts2='0.56', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='356' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:21:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 216274: <4FGL_J0924.0+2816_daily_bin356> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin356 141.005 28.2755 331603201 331862401 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 :                                   553.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             370.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   593 sec.
    Turnaround time :                            604 sec.

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

