aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 6 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 = 17252
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0924.0+2816_weekly_bin525
RA = 141.005, Dec = 28.2755
tmin = 556502401, tmax = 557107201
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='806278', job_status='RUN', time_executed='2021-07-15 12:15:58.277041', time_epoch_executed='1626376558.28' WHERE source_name='4FGL J0924.0+2816' and cadence='weekly' and bin_id='525'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/806278

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/806278/ft1_4FGL_J0924.0+2816_weekly_bin525.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/806278/ft2_4FGL_J0924.0+2816_weekly_bin525.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/806278/ft1_4FGL_J0924.0+2816_weekly_bin525.fits outfile=/scratch/kocevski/806278/ft1_filteredMKT_4FGL_J0924.0+2816_weekly_bin525.fits ra=141.005 dec=28.2755 rad=12.0 tmin=556502401.0 tmax=557107201.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 7.77
user 7.42
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/806278/ft2_4FGL_J0924.0+2816_weekly_bin525.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/806278/ft1_filteredMKT_4FGL_J0924.0+2816_weekly_bin525.fits evtable="EVENTS" outfile="/scratch/kocevski/806278/ft1_filtered_4FGL_J0924.0+2816_weekly_bin525.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.56
user 0.37
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/806278/ft1_filtered_4FGL_J0924.0+2816_weekly_bin525.fits evtable="EVENTS" scfile=/scratch/kocevski/806278/ft2_4FGL_J0924.0+2816_weekly_bin525.fits sctable="SC_DATA" expcube=/scratch/kocevski/806278/ltcube_556502401_557107201_4FGL_J0924.0+2816_weekly_bin525.fits outfile=/scratch/kocevski/806278/expmap_556502401_557107201_4FGL_J0924.0+2816_weekly_bin525.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/806278/ltcube_556502401_557107201_4FGL_J0924.0+2816_weekly_bin525.fits
.....................!
real 193.99
user 188.33
sys 5.22

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/806278/ft1_filtered_4FGL_J0924.0+2816_weekly_bin525.fits scfile=/scratch/kocevski/806278/ft2_4FGL_J0924.0+2816_weekly_bin525.fits outfile=/scratch/kocevski/806278/cmap_556502401_557107201_4FGL_J0924.0+2816_weekly_bin525.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.60
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/806278/ft1_filtered_4FGL_J0924.0+2816_weekly_bin525.fits scfile=/scratch/kocevski/806278/ft2_4FGL_J0924.0+2816_weekly_bin525.fits outfile=/scratch/kocevski/806278/cmap_HighResolution_556502401_557107201_4FGL_J0924.0+2816_weekly_bin525.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.59
user 0.41
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6234       1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.581       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    65.171       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.5587       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11425E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.439       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.410       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.416       1.0000         .10000E-03   10000.    
    13 'Prefactor '    65.279       1.0000         .10000E-03   10000.    
    14 'Prefactor '    88.922       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12629E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.9459       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12225E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    504.51       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .96152       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .79771       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=   2187.688     FROM MIGRAD    STATUS=CONVERGED    412 CALLS     2086 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6231        1.1582        .10993E-06    .74926E-04
   2  Prefactor     20.620        25.865       -.15772E-06   -.40576E-05
   3  Prefactor     .10000E-03    12.018       -.87530E-07** at limit **
   4  norm          65.184        68.273        .17741E-06    .65090E-05
   5  Prefactor     7.5591        6.6331       -.52670E-07    .37940E-04
   6  Prefactor     .10000E-03    119.30        .74986E-06** at limit **
   7  norm          .10000E-03    1.2946       -.80443E-07** at limit **
   8  Prefactor     16.444        39.891       -.98676E-06    .54884E-05
   9  Prefactor     .10000E-03    46.146        .18097E-07** at limit **
  10  norm          .10000E-03    10.210        .23639E-06** at limit **
  11  Prefactor     11.405        11.458        .33688E-07    .81694E-04
  12  Prefactor     15.578        178.51       -.11130E-05    .45719E-04
  13  Prefactor     65.226        234.22        .12262E-05    .92647E-05
  14  Prefactor     89.151        194.78        .13278E-05    .30483E-04
  15  Prefactor     .10000E-03    453.65       -.63639E-04** at limit **
  16  Prefactor     9.0380        32.528       -.70296E-06   -.21737E-04
  17  Prefactor     .10000E-03    8.7281       -.13118E-05** at limit **
  18  norm          503.97        405.96        .92540E-06    .84292E-04
  19  Normalizat    .96188        .31202        .36500E-05    .15896E-04
  20  Prefactor     .79714        .26848       -.35535E-05    .98078E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.62309
  Prefactor  = 20.6196
  Prefactor  = 0.0001
  norm       = 65.1836
  Prefactor  = 7.55913
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 16.444
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.4054
  Prefactor  = 15.5775
  Prefactor  = 65.2264
  Prefactor  = 89.1514
  Prefactor  = 0.000100001
  Prefactor  = 9.038
  Prefactor  = 0.0001
  norm       = 503.969
  Normalizat = 0.961882
  Prefactor  = 0.79714
 **********
 **   18 **HESSE 
 **********

 FCN=   2187.688     FROM HESSE     STATUS=OK           289 CALLS     2375 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6231        1.1579        .16605E-03   -1.5453    
   2  Prefactor     20.620        25.848        .88289E-04   -1.4799    
   3  Prefactor     .10000E-03    12.028        .15838E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          65.184        68.286        .49712E-04   -1.4091    
   5  Prefactor     7.5591        6.6450        .10741E-03   -1.5158    
   6  Prefactor     .10000E-03    119.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.2975        .51957E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.444        40.155        .98783E-04   -1.4897    
   9  Prefactor     .10000E-03    46.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    10.221        .14582E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.405        11.518        .11860E-03   -1.5032    
  12  Prefactor     15.578        176.48        .10201E-03   -1.4918    
  13  Prefactor     65.226        234.68        .24836E-03   -1.4091    
  14  Prefactor     89.151        194.84        .21305E-03   -1.3817    
  15  Prefactor     .10000E-03    457.52        .36344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.0380        32.715        .13401E-03   -1.5107    
  17  Prefactor     .10000E-03    8.7474        .13501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          503.97        405.14        .91377E-04   -1.1180    
  19  Normalizat    .96188        .36041        .25288E-03   -.94319    
  20  Prefactor     .79714        .30772        .24949E-03   -.99834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.76169e-10
Minuit parameter uncertainties:
  1  1.1579
  2  25.8617
  3  6.77408e-06
  4  68.3682
  5  6.64564
  6  4.35596e-05
  7  3.07308e-07
  8  40.221
  9  6.30161e-06
  10  6.87039e-06
  11  11.5204
  12  105.259
  13  238.136
  14  196.264
  15  0.00108852
  16  32.7796
  17  1.49226e-05
  18  407.496
  19  0.361323
  20  0.30839
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.141e+01  1.152e+01  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:  7.971e-01  3.084e-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.619e-01  3.613e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.53
Ra Dec: 141.005 28.276
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 1.10e-07 +/- 1.11e-07
Energy Flux (Fixed Index): 3.17e-05 +/- 3.21e-05

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

Saving results to:
/scratch/kocevski/806278/likelihoodResults_556502401_557107201_4FGL_J0924.0+2816_weekly_bin525.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) = 2186.96210154
delta logL = 0.726110830539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2186.90658414
delta logL = 0.781628224674

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2395       1.0000         .10000E-03   10000.    
     2 'Index     '    4.4831       1.0000          .0000       10.000    
     3 'Normalizat'    .81922       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90142       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=   2186.907     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      253 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2301        18.629        .76575E-02   -.17527E-02
   2  Index         4.4874        3.8151        .82641E-01   -.12323E-03
   3  Normalizat    .81930        .10637        .43861E-01   -.14903E-03
   4  Prefactor     .90136        .97017E-01    .45023E-01   -.96725E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.23015
  Index      = 4.48745
  Normalizat = 0.819303
  Prefactor  = 0.901359
 **********
 **   18 **HESSE 
 **********

 FCN=   2186.907     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2301        28.162        .34164E-04   -1.5486    
   2  Index         4.4874        7.1170        .34574E-02   -.10269    
   3  Normalizat    .81930        .32385        .27088E-03   -.99357    
   4  Prefactor     .90136        .29519        .23634E-03   -.96094    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.98656e-10
Minuit parameter uncertainties:
  1  11.7775
  2  5.71125
  3  0.324617
  4  0.29572
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/806278': 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) = 2186.90658263
delta logL = 0.781629733972

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.230e+00  1.178e+01  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  4.487e+00  5.711e+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.014e-01  2.957e-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:  8.193e-01  3.246e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.42
Ra Dec: 141.005 28.276
Photon Index (Free Index): 4.49 +/- 5.71
Photon Flux (Free Index): 2.64e-07 +/- 1.90e-07
Energy Flux (Free Index): 3.69e-05 +/- 3.18e-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/806278/cmap_HighResolution_556502401_557107201_4FGL_J0924.0+2816_weekly_bin525.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.72e-02', comment='SUCCESS', photon_flux='1.10e-07', energy_flux2='3.69e-05', photon_flux_error='1.11e-07', dlogl='7.82e-01', energy_flux='3.17e-05', photon_flux2='2.64e-07', job_status='DONE', time_completed='2021-07-15 12:23:48.862452', photon_index_error2='5.71', photon_index2='4.49', ts='1.53', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='3.49e-07', energy_flux_error2='3.18e-05', EG='0.96', time_epoch_completed='1626377028.86', return_code='0', job_id='806278', GAL2='0.90', EG2='0.82', return_code2='102', energy_flux_error='3.21e-05', photon_flux_error2='1.90e-07', ts2='3.42', photon_index='2.51' WHERE bin_id='525' AND source_name='4FGL J0924.0+2816' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul 15 12:23:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 806278: <4FGL_J0924.0+2816_weekly_bin525> in cluster <slac> Done

Job <4FGL_J0924.0+2816_weekly_bin525> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Jul 15 12:15:42 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 15 12:15:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 15 12:15:43 2021
Terminated at Thu Jul 15 12:23:49 2021
Results reported at Thu Jul 15 12:23:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_weekly_bin525 141.005 28.2755 556502401 557107201 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 :                                   464.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             327.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   486 sec.
    Turnaround time :                            487 sec.

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

