/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 1 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 = 7419
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0924.0+2816_daily_bin650
RA = 141.005, Dec = 28.2755
tmin = 407808001, tmax = 408067201
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='219245', job_status='RUN', time_executed='2021-08-31 11:20:56.752779', time_epoch_executed='1630434056.75' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='650'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/219245

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/219245/ft1_4FGL_J0924.0+2816_daily_bin650.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/219245/ft2_4FGL_J0924.0+2816_daily_bin650.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/219245/ft1_4FGL_J0924.0+2816_daily_bin650.fits outfile=/scratch/kocevski/219245/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin650.fits ra=141.005 dec=28.2755 rad=12.0 tmin=407808001.0 tmax=408067201.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 5.07
user 3.86
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/219245/ft1_filtered_4FGL_J0924.0+2816_daily_bin650.fits evtable="EVENTS" scfile=/scratch/kocevski/219245/ft2_4FGL_J0924.0+2816_daily_bin650.fits sctable="SC_DATA" expcube=/scratch/kocevski/219245/ltcube_407808001_408067201_4FGL_J0924.0+2816_daily_bin650.fits outfile=/scratch/kocevski/219245/expmap_407808001_408067201_4FGL_J0924.0+2816_daily_bin650.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/219245/ltcube_407808001_408067201_4FGL_J0924.0+2816_daily_bin650.fits
.....................!
real 193.64
user 187.54
sys 5.20

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/219245/ft1_filtered_4FGL_J0924.0+2816_daily_bin650.fits scfile=/scratch/kocevski/219245/ft2_4FGL_J0924.0+2816_daily_bin650.fits outfile=/scratch/kocevski/219245/cmap_407808001_408067201_4FGL_J0924.0+2816_daily_bin650.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 1.42
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/219245/ft1_filtered_4FGL_J0924.0+2816_daily_bin650.fits scfile=/scratch/kocevski/219245/ft2_4FGL_J0924.0+2816_daily_bin650.fits outfile=/scratch/kocevski/219245/cmap_HighResolution_407808001_408067201_4FGL_J0924.0+2816_daily_bin650.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 1.24
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6521       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.643       1.0000         .10000E-03   10000.    
     4 'norm      '    34.099       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.0427       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10750E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11068E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2098       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.682       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.3536       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0170       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .94805       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=   4486.497     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     2014 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6524        .87150       -.38963E-07   -.64467E-03
   2  Prefactor     .10000E-03    15.439        .85810E-05** at limit **
   3  Prefactor     30.650        23.746        .16540E-05   -.20617E-04
   4  norm          34.101        46.188        .20187E-05   -.43292E-04
   5  Prefactor     5.0428        4.1296        .69292E-06   -.67188E-05
   6  Prefactor     .10000E-03    73.326       -.93911E-05** at limit **
   7  norm          .10000E-03    2.4097        .23106E-07** at limit **
   8  Prefactor     .10000E-03    40.002       -.78455E-05** at limit **
   9  Prefactor     .10000E-03    48.848        .16230E-04** at limit **
  10  norm          .10000E-03    4.4496       -.21028E-07** at limit **
  11  Prefactor     3.2118        5.0513       -.10301E-05   -.39658E-03
  12  Prefactor     .10000E-03    15.319       -.81285E-05** at limit **
  13  Prefactor     .10000E-03    28.941       -.99454E-06** at limit **
  14  Prefactor     43.686        51.862        .42345E-05   -.28992E-05
  15  Prefactor     .10000E-03    2.2195       -.15332E-07** at limit **
  16  Prefactor     .10000E-03    4.0817        .70822E-07** at limit **
  17  Prefactor     3.3540        3.2693        .15082E-06   -.30790E-03
  18  norm          .10000E-03    2.0748       -.30959E-07** at limit **
  19  Normalizat    1.0171        .19923       -.10641E-06   -.13423E-04
  20  Prefactor     .94796        .19300       -.68703E-06   -.15423E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.65243
  Prefactor  = 0.0001
  Prefactor  = 30.6503
  norm       = 34.1009
  Prefactor  = 5.04276
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.21178
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 43.6857
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.35403
  norm       = 0.0001
  Normalizat = 1.01706
  Prefactor  = 0.947965
 **********
 **   18 **HESSE 
 **********

 FCN=   4486.497     FROM HESSE     STATUS=OK           287 CALLS     2301 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6524        .87271        .43801E-04   -1.5451    
   2  Prefactor     .10000E-03    15.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     30.650        23.762        .72380E-04   -1.4600    
   4  norm          34.101        46.207        .68624E-04   -1.4539    
   5  Prefactor     5.0428        4.1295        .11906E-03   -1.5259    
   6  Prefactor     .10000E-03    73.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.4876        .20240E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    40.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    48.840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.4648        .13797E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2118        5.0877        .17654E-03   -1.5350    
  12  Prefactor     .10000E-03    15.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    28.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     43.686        51.834        .60658E-04   -1.4385    
  15  Prefactor     .10000E-03    2.2261        .97439E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.0880        .13216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.3540        3.2673        .11267E-03   -1.5342    
  18  norm          .10000E-03    2.0754        .94228E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0171        .23272        .23549E-03   -.92461    
  20  Prefactor     .94796        .22509        .24219E-03   -.94485    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98391e-10
Minuit parameter uncertainties:
  1  0.872715
  2  3.38509e-05
  3  23.7696
  4  46.2556
  5  4.12972
  6  0.000106819
  7  5.46242e-06
  8  0.000107478
  9  1.90283e-05
  10  5.07756e-06
  11  5.08837
  12  1.60517e-05
  13  1.72589e-06
  14  51.8873
  15  7.08673e-07
  16  1.16309e-06
  17  3.26745
  18  9.33827e-08
  19  0.232953
  20  0.22531
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  3.212e+00  5.088e+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:  9.480e-01  2.253e-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.017e+00  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.53
Ra Dec: 141.005 28.276
Photon Flux Upper Limit: 1.41e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/219245/likelihoodResults_407808001_408067201_4FGL_J0924.0+2816_daily_bin650.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) = 4486.20195194
delta logL = 0.294880829279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4486.19992826
delta logL = 0.296904506434

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5358       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4778       1.0000          .0000       10.000    
     3 'Normalizat'    .97727       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97416       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4486.200     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      244 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5358        37.951        .86052E-02    .96710E-03
   2  Index         3.4778        6.6827        .13419        .98018E-04
   3  Normalizat    .97726        .55697E-01    .45881E-01    .56308E-05
   4  Prefactor     .97416        .55841E-01    .45943E-01    .15004E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.53584
  Index      = 3.47784
  Normalizat = 0.977262
  Prefactor  = 0.97416
 **********
 **   18 **HESSE 
 **********

 FCN=   4486.200     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5358        5.1753        .81159E-04   -1.5460    
   2  Index         3.4778        1.9976        .69043E-02   -.30934    
   3  Normalizat    .97726        .23181        .23962E-03   -.93796    
   4  Prefactor     .97416        .22603        .23929E-03   -.93596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0978e-10
Minuit parameter uncertainties:
  1  5.17685
  2  2.0614
  3  0.232048
  4  0.226248
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/219245': 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) = 4486.19992826
delta logL = 0.296904506725

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.536e+00  5.177e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  3.478e+00  2.061e+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:  9.742e-01  2.262e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  9.773e-01  2.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.18
Ra Dec: 141.005 28.276
Photon Index (Free Index): 3.48 +/- 2.06
Photon Flux (Free Index): 6.22e-08 +/- 6.58e-08
Energy Flux (Free Index): 1.04e-05 +/- 1.22e-05

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/219245/cmap_HighResolution_407808001_408067201_4FGL_J0924.0+2816_daily_bin650.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', comment='SUCCESS', energy_flux2='1.04e-05', dlogl='2.97e-01', photon_flux2='6.22e-08', job_status='DONE', time_completed='2021-08-31 11:29:44.024326', photon_index_error2='2.06', photon_index2='3.48', ts='0.53', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.41e-07', energy_flux_error2='1.22e-05', EG='1.02', time_epoch_completed='1630434584.02', return_code='0', job_id='219245', GAL2='0.97', EG2='0.98', return_code2='0', photon_flux_error2='6.58e-08', ts2='1.18', photon_index='2.51' WHERE bin_id='650' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:29:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 219245: <4FGL_J0924.0+2816_daily_bin650> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin650> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 11:20:36 2021
Job was executed on host(s) <bullet0289>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:20:37 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:20:37 2021
Terminated at Tue Aug 31 11:29:46 2021
Results reported at Tue Aug 31 11:29:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin650 141.005 28.2755 407808001 408067201 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 :                                   507.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             359.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   548 sec.
    Turnaround time :                            550 sec.

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

