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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin45
RA = 141.005, Dec = 28.2755
tmin = 250992001, tmax = 251251201
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='214514', job_status='RUN', time_executed='2021-08-31 11:07:03.812951', time_epoch_executed='1630433223.81' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='45'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214514

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214514/ft1_4FGL_J0924.0+2816_daily_bin45.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214514/ft2_4FGL_J0924.0+2816_daily_bin45.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214514/ft1_4FGL_J0924.0+2816_daily_bin45.fits outfile=/scratch/kocevski/214514/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin45.fits ra=141.005 dec=28.2755 rad=12.0 tmin=250992001.0 tmax=251251201.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.49
user 1.25
sys 0.15

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214514/ft1_filtered_4FGL_J0924.0+2816_daily_bin45.fits evtable="EVENTS" scfile=/scratch/kocevski/214514/ft2_4FGL_J0924.0+2816_daily_bin45.fits sctable="SC_DATA" expcube=/scratch/kocevski/214514/ltcube_250992001_251251201_4FGL_J0924.0+2816_daily_bin45.fits outfile=/scratch/kocevski/214514/expmap_250992001_251251201_4FGL_J0924.0+2816_daily_bin45.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/214514/ltcube_250992001_251251201_4FGL_J0924.0+2816_daily_bin45.fits
.....................!
real 190.21
user 185.92
sys 3.89

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/214514/ft1_filtered_4FGL_J0924.0+2816_daily_bin45.fits scfile=/scratch/kocevski/214514/ft2_4FGL_J0924.0+2816_daily_bin45.fits outfile=/scratch/kocevski/214514/cmap_250992001_251251201_4FGL_J0924.0+2816_daily_bin45.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214514/ft1_filtered_4FGL_J0924.0+2816_daily_bin45.fits scfile=/scratch/kocevski/214514/ft2_4FGL_J0924.0+2816_daily_bin45.fits outfile=/scratch/kocevski/214514/cmap_HighResolution_250992001_251251201_4FGL_J0924.0+2816_daily_bin45.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/214514/ft1_filtered_4FGL_J0924.0+2816_daily_bin45.fits evtable="EVENTS" scfile=/scratch/kocevski/214514/ft2_4FGL_J0924.0+2816_daily_bin45.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/214514/Model_4FGL_J0924.0+2816_daily_bin45.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/214514/ft1_filtered_4FGL_J0924.0+2816_daily_bin45.fits.....................!
real 69.02
user 65.00
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0833       1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.730       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.337       1.0000         .10000E-03   10000.    
     4 'norm      '    71.724       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.4182       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10632E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.206       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.492       1.0000         .10000E-03   10000.    
    10 'norm      '    2.6411       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.450       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10982E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .55417E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.2622       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0298       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1210       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7607.836     FROM MIGRAD    STATUS=CONVERGED     90 CALLS     1735 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0829        .82823       -.53286E-06    .10920E-03
   2  Prefactor     22.725        4.0791        .83669E-05    .55416E-02
   3  Prefactor     15.324        5.8819        .14697E-04    .38535E-02
   4  norm          71.729        1.0780        .41719E-06    .27270E-03
   5  Prefactor     1.4173        2.0916        .22570E-06   -.51511E-04
   6  Prefactor     .16818E-03    90.733       -.17531E-03** at limit **
   7  norm          .10000E-03    .48398       -.99660E-06** at limit **
   8  Prefactor     10.221        8.6871        .25865E-04    .10780E-01
   9  Prefactor     21.474        4.9893       -.10876E-04    .37354E-02
  10  norm          2.6375        5.5560       -.19070E-04   -.11937E-02
  11  Prefactor     10.447        4.2549       -.77736E-06    .13956E-03
  12  Prefactor     .10026E-03    47.668        .23002E-04** at limit **
  13  Prefactor     .10000E-03    11.964        .97471E-05** at limit **
  14  Prefactor     .10604E-03    53.367        .87740E-04** at limit **
  15  Prefactor     .10537E-03    148.74       -.32524E-04** at limit **
  16  Prefactor     2.2617        3.9039        .25894E-05    .68642E-04
  17  Prefactor     .10000E-03    .99300       -.22712E-06** at limit **
  18  norm          .10000E-03    4.1014        .15950E-05** at limit **
  19  Normalizat    1.0302        .19032       -.87149E-05   -.44495E-03
  20  Prefactor     1.1210        .19176        .13009E-05   -.39272E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.08288
  Prefactor  = 22.725
  Prefactor  = 15.3235
  norm       = 71.7293
  Prefactor  = 1.41732
  Prefactor  = 0.000168176
  norm       = 0.0001
  Prefactor  = 10.221
  Prefactor  = 21.4741
  norm       = 2.63747
  Prefactor  = 10.4467
  Prefactor  = 0.000100256
  Prefactor  = 0.000100001
  Prefactor  = 0.000106038
  Prefactor  = 0.000105367
  Prefactor  = 2.26175
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.0302
  Prefactor  = 1.12101
 **********
 **   18 **HESSE 
 **********

 FCN=   7607.836     FROM HESSE     STATUS=OK           341 CALLS     2076 TOTAL
                     EDM=   .79E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0829        .86677        .71521E-02   -1.5419    
   2  Prefactor     22.725        15.336        .21004E-02   -1.4754    
   3  Prefactor     15.324        17.196        .25568E-02   -1.4925    
   4  norm          71.729        41.692        .11851E-02   -1.4012    
   5  Prefactor     1.4173        2.1241        .90849E-02   -1.5470    
   6  Prefactor     .16818E-03    218.06        .90712E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .47931        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.221        13.969        .31355E-02   -1.5068    
   9  Prefactor     21.474        52.326        .21600E-02   -1.4781    
  10  norm          2.6375        5.7397        .62721E-02   -1.5383    
  11  Prefactor     10.447        4.2654        .30986E-02   -1.5061    
  12  Prefactor     .10026E-03    47.289        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.992        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10604E-03    138.16        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10537E-03    4.8803        .59884E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.2617        3.9304        .68277E-02   -1.5407    
  17  Prefactor     .10000E-03    .97189        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.0750        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0302        .16514        .42181E-01   -.92025    
  20  Prefactor     1.1210        .16350        .56434E-01   -.88798    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.91129e-07
Minuit parameter uncertainties:
  1  0.866777
  2  15.3387
  3  17.2014
  4  41.7088
  5  2.12418
  6  0.24475
  7  1.35997e-06
  8  13.9736
  9  52.4385
  10  5.74089
  11  4.26556
  12  0.00696298
  13  0.000240036
  14  0.0578975
  15  0.0102361
  16  3.93088
  17  2.43971e-06
  18  9.86827e-06
  19  0.165219
  20  0.163573
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.045e+01  4.266e+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.121e+00  1.636e-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.030e+00  1.652e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.58
Ra Dec: 141.005 28.276
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 1.01e-07 +/- 4.11e-08
Energy Flux (Fixed Index): 2.91e-05 +/- 1.19e-05

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) = 7607.82665842
delta logL = 0.00949012353976

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7607.82013282
delta logL = 0.016015727515

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.054       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4339       1.0000          .0000       10.000    
     3 'Normalizat'    1.0361       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1162       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=   7607.820     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      235 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.053        5.6992        .11297E-03    .32847E-02
   2  Index         2.4347        .40096        .54341E-02    .65169E-03
   3  Normalizat    1.0359        .19093        .25307E-03   -.21676E-03
   4  Prefactor     1.1165        .19297        .24997E-03   -.38169E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.0528
  Index      = 2.43469
  Normalizat = 1.03588
  Prefactor  = 1.11647
 **********
 **   18 **HESSE 
 **********

 FCN=   7607.820     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.053        5.5448        .22593E-04   -1.5043    
   2  Index         2.4347        .38987        .21736E-03   -.53875    
   3  Normalizat    1.0359        .19100        .10123E-04   -.91838    
   4  Prefactor     1.1165        .19304        .49993E-04   -.88942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.91914e-09
Minuit parameter uncertainties:
  1  5.54508
  2  0.390405
  3  0.19113
  4  0.193157
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214514': 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) = 7607.82012939
delta logL = 0.0160191541418

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.105e+01  5.545e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.435e+00  3.904e-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:  1.116e+00  1.932e-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.036e+00  1.911e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.56
Ra Dec: 141.005 28.276
Photon Index (Free Index): 2.43 +/- 0.39
Photon Flux (Free Index): 9.72e-08 +/- 4.48e-08
Energy Flux (Free Index): 3.05e-05 +/- 1.50e-05

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/214514/cmap_HighResolution_250992001_251251201_4FGL_J0924.0+2816_daily_bin45.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.01e-07', energy_flux2='3.05e-05', photon_flux_error='4.11e-08', dlogl='1.60e-02', energy_flux='2.91e-05', photon_flux2='9.72e-08', job_status='DONE', time_completed='2021-08-31 11:16:21.677318', photon_index_error2='0.39', photon_index2='2.43', ts='10.58', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.50e-05', EG='1.03', time_epoch_completed='1630433781.68', return_code='0', job_id='214514', GAL2='1.12', EG2='1.04', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='4.48e-08', ts2='10.56', photon_index='2.51' WHERE bin_id='45' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:16:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 214514: <4FGL_J0924.0+2816_daily_bin45> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin45> 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) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:06:18 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:18 2021
Terminated at Tue Aug 31 11:16:22 2021
Results reported at Tue Aug 31 11:16:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin45 141.005 28.2755 250992001 251251201 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 :                                   552.47 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             347.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   604 sec.
    Turnaround time :                            605 sec.

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

