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 5 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 = 17093
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0924.0+2816_weekly_bin233
RA = 141.005, Dec = 28.2755
tmin = 379900801, tmax = 380505601
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='803162', job_status='RUN', time_executed='2021-07-15 12:06:00.952452', time_epoch_executed='1626375960.95' WHERE source_name='4FGL J0924.0+2816' and cadence='weekly' and bin_id='233'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/803162

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/803162/ft1_4FGL_J0924.0+2816_weekly_bin233.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/803162/ft2_4FGL_J0924.0+2816_weekly_bin233.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/803162/ft1_4FGL_J0924.0+2816_weekly_bin233.fits outfile=/scratch/kocevski/803162/ft1_filteredMKT_4FGL_J0924.0+2816_weekly_bin233.fits ra=141.005 dec=28.2755 rad=12.0 tmin=379900801.0 tmax=380505601.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 8.38
user 8.03
sys 0.31

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/803162/ft1_filtered_4FGL_J0924.0+2816_weekly_bin233.fits" evtable="EVENTS" scfile=/scratch/kocevski/803162/ft2_4FGL_J0924.0+2816_weekly_bin233.fits sctable="SC_DATA" outfile=/scratch/kocevski/803162/ltcube_379900801_380505601_4FGL_J0924.0+2816_weekly_bin233.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/803162/ft2_4FGL_J0924.0+2816_weekly_bin233.fits
.....................!
real 30.14
user 29.66
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/803162/ft1_filtered_4FGL_J0924.0+2816_weekly_bin233.fits evtable="EVENTS" scfile=/scratch/kocevski/803162/ft2_4FGL_J0924.0+2816_weekly_bin233.fits sctable="SC_DATA" expcube=/scratch/kocevski/803162/ltcube_379900801_380505601_4FGL_J0924.0+2816_weekly_bin233.fits outfile=/scratch/kocevski/803162/expmap_379900801_380505601_4FGL_J0924.0+2816_weekly_bin233.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/803162/ltcube_379900801_380505601_4FGL_J0924.0+2816_weekly_bin233.fits
.....................!
real 190.96
user 185.66
sys 4.72

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/803162/ft1_filtered_4FGL_J0924.0+2816_weekly_bin233.fits scfile=/scratch/kocevski/803162/ft2_4FGL_J0924.0+2816_weekly_bin233.fits outfile=/scratch/kocevski/803162/cmap_379900801_380505601_4FGL_J0924.0+2816_weekly_bin233.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.59
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/803162/ft1_filtered_4FGL_J0924.0+2816_weekly_bin233.fits scfile=/scratch/kocevski/803162/ft2_4FGL_J0924.0+2816_weekly_bin233.fits outfile=/scratch/kocevski/803162/cmap_HighResolution_379900801_380505601_4FGL_J0924.0+2816_weekly_bin233.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.60
user 0.42
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3720       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.818       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    12.105       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.1687       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.5033       1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.492       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.951       1.0000         .10000E-03   10000.    
    10 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .73178E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.202       1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.349       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .59468       1.0000         .10000E-03   10000.    
    18 'norm      '    .62726       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .89615       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1911       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=   13280.07     FROM MIGRAD    STATUS=CONVERGED    419 CALLS     1819 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3720        .50950       -.11981E-06    .37332E-04
   2  Prefactor     11.819        8.5093       -.82298E-06    .15541E-04
   3  Prefactor     .10000E-03    13.886       -.62123E-05** at limit **
   4  norm          12.104        18.466       -.21662E-05    .32366E-04
   5  Prefactor     2.1687        1.6156       -.35615E-06   -.11607E-03
   6  Prefactor     .10000E-03    31.348        .10442E-04** at limit **
   7  norm          1.5029        .88554       -.14270E-06    .39107E-03
   8  Prefactor     30.499        13.964       -.37367E-06   -.49270E-04
   9  Prefactor     21.950        22.167       -.99415E-06    .62331E-04
  10  norm          .10000E-03    4.2758       -.33676E-06** at limit **
  11  Prefactor     .83567E-01    .73882       -.31087E-06   -.58676E-03
  12  Prefactor     21.194        16.589       -.28369E-05    .19776E-03
  13  Prefactor     13.269        37.977       -.16924E-03    .62800E-04
  14  Prefactor     .10000E-03    10.299        .35313E-05** at limit **
  15  Prefactor     .10000E-03    1.5050        .31895E-06** at limit **
  16  Prefactor     .10000E-03    1.5871       -.78522E-07** at limit **
  17  Prefactor     .59555        1.0465       -.78263E-06   -.27322E-02
  18  norm          .62662        2.6573       -.80526E-06   -.72056E-03
  19  Normalizat    .89603        .11506        .30519E-05    .82563E-03
  20  Prefactor     1.1911        .11697        .45486E-05    .21371E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.37198
  Prefactor  = 11.8186
  Prefactor  = 0.000100001
  norm       = 12.1041
  Prefactor  = 2.16871
  Prefactor  = 0.000100001
  norm       = 1.50288
  Prefactor  = 30.4988
  Prefactor  = 21.9499
  norm       = 0.0001
  Prefactor  = 0.083567
  Prefactor  = 21.1942
  Prefactor  = 13.269
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.595548
  norm       = 0.626622
  Normalizat = 0.896032
  Prefactor  = 1.19115
 **********
 **   18 **HESSE 
 **********

 FCN=   13280.07     FROM HESSE     STATUS=OK           299 CALLS     2118 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3720        .50697        .47455E-04   -1.5474    
   2  Prefactor     11.819        8.4973        .11653E-03   -1.5020    
   3  Prefactor     .10000E-03    14.308        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          12.104        18.469        .11514E-03   -1.5012    
   5  Prefactor     2.1687        1.6162        .12266E-03   -1.5413    
   6  Prefactor     .10000E-03    31.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.5029        .88622        .80708E-04   -1.5463    
   8  Prefactor     30.499        13.910        .72559E-04   -1.4603    
   9  Prefactor     21.950        22.164        .85492E-04   -1.4771    
  10  norm          .10000E-03    4.3479        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .83567E-01    8.2979        .18751E-02   -1.5650    
  12  Prefactor     21.194        16.575        .86987E-04   -1.4787    
  13  Prefactor     13.269        38.028        .10963E-03   -1.4979    
  14  Prefactor     .10000E-03    10.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.5209        .13799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.5914        .14176E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .59555        1.0016        .14942E-02   -1.5554    
  18  norm          .62662        6.4686        .36309E-02   -1.5550    
  19  Normalizat    .89603        .13453        .25337E-03   -.96600    
  20  Prefactor     1.1911        .13784        .23166E-03   -.86604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.07041e-09
Minuit parameter uncertainties:
  1  0.50697
  2  8.49817
  3  0.000226803
  4  18.4778
  5  1.6162
  6  0.000266915
  7  0.886232
  8  13.9116
  9  22.1726
  10  6.34698e-05
  11  1.66469
  12  16.5787
  13  38.0978
  14  9.43287e-05
  15  3.98219e-05
  16  1.05163e-05
  17  1.00168
  18  4.02685
  19  0.134576
  20  0.137883
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  8.357e-02  1.665e+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.191e+00  1.379e-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.960e-01  1.346e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/803162/likelihoodResults_379900801_380505601_4FGL_J0924.0+2816_weekly_bin233.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) = 13279.6943932
delta logL = 0.380410344929

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13279.6749762
delta logL = 0.399827351166

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25584       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9831       1.0000          .0000       10.000    
     3 'Normalizat'    .86656       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2085       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=   13279.67     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      228 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25507        3.6082        .10230E-01    .47754E-02
   2  Index         3.9859        2.6048        .20591        .18269E-03
   3  Normalizat    .86670        .19123E-01    .44473E-01    .14869E-04
   4  Prefactor     1.2085        .19950E-01    .52070E-01    .31843E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.255072
  Index      = 3.98589
  Normalizat = 0.8667
  Prefactor  = 1.20846
 **********
 **   18 **HESSE 
 **********

 FCN=   13279.67     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      261 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25507        18.122        .66924E-04   -1.5607    
   2  Index         3.9859        6.4934        .98818E-02   -.20424    
   3  Normalizat    .86670        .12332        .25720E-03   -.97640    
   4  Prefactor     1.2085        .12759        .23021E-03   -.86071    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.00916e-09
Minuit parameter uncertainties:
  1  4.30051
  2  9.83999
  3  0.123359
  4  0.127628
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/803162': 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) = 13279.6749717
delta logL = 0.399831847761

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  2.551e-01  4.301e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  3.986e+00  9.840e+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.208e+00  1.276e-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.667e-01  1.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 141.005 28.276

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/803162/cmap_HighResolution_379900801_380505601_4FGL_J0924.0+2816_weekly_bin233.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.40e-03', job_status='DONE', photon_flux_upper_limit='4.37e-08', time_completed='2021-07-15 12:21:22.142641', job_id='803162', GAL2='1.21', fit_tolerance='1e-08', EG2='0.87', EG='0.90', time_epoch_completed='1626376882.14', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='4.00e-01', ts2='0.85', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='233' AND source_name='4FGL J0924.0+2816' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul 15 12:21:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 803162: <4FGL_J0924.0+2816_weekly_bin233> in cluster <slac> Done

Job <4FGL_J0924.0+2816_weekly_bin233> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Jul 15 12:05:34 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 15 12:05:45 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:05:45 2021
Terminated at Thu Jul 15 12:21:22 2021
Results reported at Thu Jul 15 12:21:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_weekly_bin233 141.005 28.2755 379900801 380505601 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 :                                   913.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            948 sec.

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

