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


Performing analysis on: 4FGL_J0924.0+2816_weekly_bin653
RA = 141.005, Dec = 28.2755
tmin = 633916801, tmax = 634521601
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='806487', job_status='RUN', time_executed='2021-07-15 12:18:24.440360', time_epoch_executed='1626376704.44' WHERE source_name='4FGL J0924.0+2816' and cadence='weekly' and bin_id='653'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/806487

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/806487/ft1_4FGL_J0924.0+2816_weekly_bin653.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/806487/ft2_4FGL_J0924.0+2816_weekly_bin653.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/806487/ft1_4FGL_J0924.0+2816_weekly_bin653.fits outfile=/scratch/kocevski/806487/ft1_filteredMKT_4FGL_J0924.0+2816_weekly_bin653.fits ra=141.005 dec=28.2755 rad=12.0 tmin=633916801.0 tmax=634521601.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 9.28
user 8.90
sys 0.33

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/806487/ft1_filtered_4FGL_J0924.0+2816_weekly_bin653.fits evtable="EVENTS" scfile=/scratch/kocevski/806487/ft2_4FGL_J0924.0+2816_weekly_bin653.fits sctable="SC_DATA" expcube=/scratch/kocevski/806487/ltcube_633916801_634521601_4FGL_J0924.0+2816_weekly_bin653.fits outfile=/scratch/kocevski/806487/expmap_633916801_634521601_4FGL_J0924.0+2816_weekly_bin653.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/806487/ltcube_633916801_634521601_4FGL_J0924.0+2816_weekly_bin653.fits
.....................!
real 192.94
user 186.31
sys 5.27

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/806487/ft1_filtered_4FGL_J0924.0+2816_weekly_bin653.fits scfile=/scratch/kocevski/806487/ft2_4FGL_J0924.0+2816_weekly_bin653.fits outfile=/scratch/kocevski/806487/cmap_633916801_634521601_4FGL_J0924.0+2816_weekly_bin653.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.61
user 0.43
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/806487/ft1_filtered_4FGL_J0924.0+2816_weekly_bin653.fits scfile=/scratch/kocevski/806487/ft2_4FGL_J0924.0+2816_weekly_bin653.fits outfile=/scratch/kocevski/806487/cmap_HighResolution_633916801_634521601_4FGL_J0924.0+2816_weekly_bin653.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.44
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3993       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.872       1.0000         .10000E-03   10000.    
     3 'Prefactor '    29.045       1.0000         .10000E-03   10000.    
     4 'norm      '    35.250       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.3412       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8144       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .17776E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.0660       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.402       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0835       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .87653       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.2229       1.0000         .10000E-03   10000.    
    18 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .84893       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1398       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=   10925.37     FROM MIGRAD    STATUS=CONVERGED    420 CALLS     2085 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3993        .49919        .13456E-07   -.17733E-04
   2  Prefactor     10.872        7.1015        .80606E-07   -.82809E-05
   3  Prefactor     29.049        12.538        .28934E-06    .20469E-04
   4  norm          35.252        22.158        .24557E-06    .20190E-04
   5  Prefactor     1.3412        1.2587       -.10390E-07    .10439E-03
   6  Prefactor     .10000E-03    26.709       -.19655E-06** at limit **
   7  norm          .10000E-03    .55199       -.93552E-07** at limit **
   8  Prefactor     8.8182        10.990        .33609E-05    .12498E-03
   9  Prefactor     .10000E-03    7.6107        .41779E-07** at limit **
  10  norm          .10000E-03    3.2882       -.12333E-05** at limit **
  11  Prefactor     .10000E-03    1.2826        .28597E-07** at limit **
  12  Prefactor     9.0676        17.922        .37264E-06   -.11118E-04
  13  Prefactor     12.449        47.193        .95382E-05    .14613E-03
  14  Prefactor     .10000E-03    17.203        .22376E-06** at limit **
  15  Prefactor     3.0830        4.6172        .57660E-06   -.19627E-03
  16  Prefactor     .87585        6.6748        .47834E-05   -.32447E-03
  17  Prefactor     1.2228        1.5167        .19856E-06   -.24262E-03
  18  norm          .10000E-03    4.3341       -.26904E-07** at limit **
  19  Normalizat    .84883        .12743       -.11770E-05    .10897E-03
  20  Prefactor     1.1399        .12545       -.38204E-07    .77772E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.39928
  Prefactor  = 10.8723
  Prefactor  = 29.0493
  norm       = 35.2522
  Prefactor  = 1.34118
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.81824
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.06763
  Prefactor  = 12.4486
  Prefactor  = 0.0001
  Prefactor  = 3.08303
  Prefactor  = 0.875846
  Prefactor  = 1.22285
  norm       = 0.0001
  Normalizat = 0.848834
  Prefactor  = 1.13991
 **********
 **   18 **HESSE 
 **********

 FCN=   10925.37     FROM HESSE     STATUS=OK           299 CALLS     2384 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3993        .50211        .42549E-04   -1.5471    
   2  Prefactor     10.872        7.0974        .12151E-03   -1.5048    
   3  Prefactor     29.049        12.534        .74340E-04   -1.4629    
   4  norm          35.252        22.163        .67498E-04   -1.4520    
   5  Prefactor     1.3412        1.2804        .11051E-03   -1.5476    
   6  Prefactor     .10000E-03    26.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .97047        .15025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.8182        10.885        .67504E-03   -1.5114    
   9  Prefactor     .10000E-03    7.6124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    10.091        .34359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.3061        .11541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.0676        17.907        .13311E-03   -1.5106    
  13  Prefactor     12.449        49.075        .11375E-03   -1.5002    
  14  Prefactor     .10000E-03    17.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.0830        4.6024        .23097E-03   -1.5357    
  16  Prefactor     .87585        6.6959        .50749E-03   -1.5521    
  17  Prefactor     1.2228        1.4884        .13582E-03   -1.5487    
  18  norm          .10000E-03    4.4000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .84883        .14354        .24788E-03   -.98282    
  20  Prefactor     1.1399        .14354        .22743E-03   -.88201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.89819e-10
Minuit parameter uncertainties:
  1  0.502108
  2  7.09793
  3  12.5356
  4  22.1681
  5  1.28043
  6  5.52193e-05
  7  1.78047e-05
  8  10.8878
  9  2.69807e-06
  10  6.79657e-05
  11  4.47406e-06
  12  17.9171
  13  49.2345
  14  2.1425e-05
  15  4.60297
  16  4.84386
  17  1.48849
  18  5.59678e-06
  19  0.143601
  20  0.143593
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  4.474e-06  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.140e+00  1.436e-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.488e-01  1.436e-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.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/806487/likelihoodResults_633916801_634521601_4FGL_J0924.0+2816_weekly_bin653.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): 102
logL (Free Index) = 10925.3723594
delta logL = -0.00364782532961

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10925.3687115
delta logL = 6.6193024395e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5169       1.0000          .0000       10.000    
     3 'Normalizat'    .84880       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1399       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=   10925.37     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      252 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .18493E-01    .35713E-01** at limit **
   2  Index         3.3898        5.1519        .50000        .12681E-05
   3  Normalizat    .84883        .69175E-03    .24788E-03   -.84431E-03
   4  Prefactor     1.1399        .72836E-03    .22743E-03   -.13117E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.38983
  Normalizat = 0.848832
  Prefactor  = 1.13991
 **********
 **   18 **HESSE 
 **********

 FCN=   10925.37     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      283 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.382        .12058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.3898        8.3047        .50000       -.32788    
   3  Normalizat    .84883        .98232E-02    .49576E-04   -.98282    
   4  Prefactor     1.1399        .10343E-01    .45487E-04   -.88201    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.19679e-09
Minuit parameter uncertainties:
  1  3.62836e-05
  2  169.546
  3  0.00982322
  4  0.0103428
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/806487': 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) = 10925.3687032
delta logL = 8.36046638142e-06

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  3.628e-05  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  3.390e+00  1.695e+02  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.140e+00  1.034e-02  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.488e-01  9.823e-03  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/806487/cmap_HighResolution_633916801_634521601_4FGL_J0924.0+2816_weekly_bin653.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.54e-03', job_status='DONE', photon_flux_upper_limit='4.55e-08', time_completed='2021-07-15 12:32:56.998730', job_id='806487', GAL2='1.14', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1626377577.0', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='8.36e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='653' AND source_name='4FGL J0924.0+2816' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul 15 12:32:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 806487: <4FGL_J0924.0+2816_weekly_bin653> in cluster <slac> Done

Job <4FGL_J0924.0+2816_weekly_bin653> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Jul 15 12:16:09 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 15 12:18:13 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:18:13 2021
Terminated at Thu Jul 15 12:32:57 2021
Results reported at Thu Jul 15 12:32:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_weekly_bin653 141.005 28.2755 633916801 634521601 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 :                                   860.00 sec.
    Max Memory :                                 1019 MB
    Average Memory :                             337.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            1008 sec.

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

