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 2 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 = 17280
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0924.0+2816_weekly_bin154
RA = 141.005, Dec = 28.2755
tmin = 332121601, tmax = 332726401
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='801774', job_status='RUN', time_executed='2021-07-15 12:01:24.253275', time_epoch_executed='1626375684.25' WHERE source_name='4FGL J0924.0+2816' and cadence='weekly' and bin_id='154'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/801774

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/801774/ft1_4FGL_J0924.0+2816_weekly_bin154.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/801774/ft2_4FGL_J0924.0+2816_weekly_bin154.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/801774/ft1_4FGL_J0924.0+2816_weekly_bin154.fits outfile=/scratch/kocevski/801774/ft1_filteredMKT_4FGL_J0924.0+2816_weekly_bin154.fits ra=141.005 dec=28.2755 rad=12.0 tmin=332121601.0 tmax=332726401.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.04
user 6.70
sys 0.28

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/801774/ft1_filtered_4FGL_J0924.0+2816_weekly_bin154.fits evtable="EVENTS" scfile=/scratch/kocevski/801774/ft2_4FGL_J0924.0+2816_weekly_bin154.fits sctable="SC_DATA" expcube=/scratch/kocevski/801774/ltcube_332121601_332726401_4FGL_J0924.0+2816_weekly_bin154.fits outfile=/scratch/kocevski/801774/expmap_332121601_332726401_4FGL_J0924.0+2816_weekly_bin154.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/801774/ltcube_332121601_332726401_4FGL_J0924.0+2816_weekly_bin154.fits
.....................!
real 192.40
user 186.85
sys 4.90

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/801774/ft1_filtered_4FGL_J0924.0+2816_weekly_bin154.fits scfile=/scratch/kocevski/801774/ft2_4FGL_J0924.0+2816_weekly_bin154.fits outfile=/scratch/kocevski/801774/cmap_332121601_332726401_4FGL_J0924.0+2816_weekly_bin154.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/801774/ft1_filtered_4FGL_J0924.0+2816_weekly_bin154.fits scfile=/scratch/kocevski/801774/ft2_4FGL_J0924.0+2816_weekly_bin154.fits outfile=/scratch/kocevski/801774/cmap_HighResolution_332121601_332726401_4FGL_J0924.0+2816_weekly_bin154.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.58
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .53978E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.514       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .11318E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.5338       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.224       1.0000         .10000E-03   10000.    
     7 'norm      '    .79546       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.3185       1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.945       1.0000         .10000E-03   10000.    
    10 'norm      '    .53180E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .48918       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.1428       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12036E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8041       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.3189       1.0000         .10000E-03   10000.    
    18 'norm      '    2.8322       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0084       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0800       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=   12958.60     FROM MIGRAD    STATUS=CONVERGED    428 CALLS     1867 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .53740E-01    .28328       -.86686E-07   -.68033E-04
   2  Prefactor     16.512        9.4669       -.37483E-06    .69650E-04
   3  Prefactor     .10000E-03    2.9140        .41774E-08** at limit **
   4  norm          .10000E-03    26.471       -.92898E-06** at limit **
   5  Prefactor     2.5338        1.7012        .40197E-07    .30290E-04
   6  Prefactor     14.226        14.156       -.46539E-05   -.12053E-03
   7  norm          .79545        .66135       -.23199E-07   -.53068E-04
   8  Prefactor     8.3069        12.719        .30171E-05    .24071E-03
   9  Prefactor     20.907        30.498       -.13628E-04   -.14534E-03
  10  norm          .10001E-03    3.0308       -.52250E-06** at limit **
  11  Prefactor     .49151        1.5882        .17870E-06   -.39609E-03
  12  Prefactor     4.1432        8.0223       -.92313E-06   -.55533E-04
  13  Prefactor     .10000E-03    134.23        .38346E-05** at limit **
  14  Prefactor     .10000E-03    14.135       -.89210E-06** at limit **
  15  Prefactor     1.8042        2.9538       -.39061E-06   -.38430E-03
  16  Prefactor     .10000E-03    2.6745       -.14001E-07** at limit **
  17  Prefactor     1.3189        1.3029       -.17142E-06   -.38292E-03
  18  norm          2.8320        1.9955        .74551E-06   -.43502E-02
  19  Normalizat    1.0084        .11387       -.67887E-07    .27016E-03
  20  Prefactor     1.0800        .11588        .11162E-05    .97096E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0537401
  Prefactor  = 16.512
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.5338
  Prefactor  = 14.2262
  norm       = 0.795453
  Prefactor  = 8.3069
  Prefactor  = 20.9069
  norm       = 0.000100006
  Prefactor  = 0.491511
  Prefactor  = 4.14319
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.80423
  Prefactor  = 0.0001
  Prefactor  = 1.31886
  norm       = 2.832
  Normalizat = 1.00835
  Prefactor  = 1.08004
 **********
 **   18 **HESSE 
 **********

 FCN=   12958.60     FROM HESSE     STATUS=OK           303 CALLS     2170 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .53740E-01    .79872        .11011E-02   -1.5662    
   2  Prefactor     16.512        9.3145        .98558E-04   -1.4895    
   3  Prefactor     .10000E-03    2.9303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    26.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5338        1.7016        .11803E-03   -1.5390    
   6  Prefactor     14.226        14.150        .10620E-03   -1.4953    
   7  norm          .79545        .64291        .81496E-04   -1.5530    
   8  Prefactor     8.3069        12.016        .13900E-03   -1.5131    
   9  Prefactor     20.907        30.482        .87520E-04   -1.4793    
  10  norm          .10001E-03    8.1077        .35666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .49151        2.5047        .23766E-02   -1.5568    
  12  Prefactor     4.1432        8.0062        .19804E-03   -1.5301    
  13  Prefactor     .10000E-03    136.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.8042        2.9353        .24006E-03   -1.5439    
  16  Prefactor     .10000E-03    2.6967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.3189        1.2841        .12350E-03   -1.5478    
  18  norm          2.8320        4.4582        .12082E-02   -1.5371    
  19  Normalizat    1.0084        .13096        .23100E-03   -.92751    
  20  Prefactor     1.0800        .13402        .23446E-03   -.90107    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63531e-07
Minuit parameter uncertainties:
  1  0.41398
  2  9.31527
  3  3.9072e-07
  4  0.000106893
  5  1.70166
  6  14.1529
  7  0.642916
  8  12.0195
  9  30.5046
  10  0.000436846
  11  2.21899
  12  8.00827
  13  1.57446e-05
  14  2.09864e-05
  15  2.93552
  16  3.9284e-06
  17  1.28414
  18  4.45868
  19  0.131006
  20  0.134058
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  4.915e-01  2.219e+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.080e+00  1.341e-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.008e+00  1.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/801774/likelihoodResults_332121601_332726401_4FGL_J0924.0+2816_weekly_bin154.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) = 12958.6001405
delta logL = 5.90973868384e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12958.6001064
delta logL = 9.31940539886e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49261       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4871       1.0000          .0000       10.000    
     3 'Normalizat'    1.0084       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0800       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=   12958.60     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      234 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .50433        8.4909        .39428E-01    .19770E-02
   2  Index         2.4784        1.2763        .50000        .71504E-05
   3  Normalizat    1.0085        .75496E-02    .46272E-01    .61108E-05
   4  Prefactor     1.0799        .79415E-02    .38403E-01    .26958E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.504326
  Index      = 2.47844
  Normalizat = 1.00847
  Prefactor  = 1.07993
 **********
 **   18 **HESSE 
 **********

 FCN=   12958.60     FROM HESSE     STATUS=OK            35 CALLS      269 TOTAL
                     EDM=   .93E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .50433        3.9686        .24059E-02   -1.5566    
   2  Index         2.4784        2.0450        .12386E-01   -.52858    
   3  Normalizat    1.0085        .12745        .23099E-03   -.92747    
   4  Prefactor     1.0799        .13299        .23447E-03   -.90111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.29006e-08
Minuit parameter uncertainties:
  1  2.82944
  2  2.13043
  3  0.127491
  4  0.133026
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/801774': 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) = 12958.6000879
delta logL = 0.000111700981506

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  5.043e-01  2.829e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.478e+00  2.130e+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.080e+00  1.330e-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.008e+00  1.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/801774/cmap_HighResolution_332121601_332726401_4FGL_J0924.0+2816_weekly_bin154.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.06e-03', job_status='DONE', photon_flux_upper_limit='5.22e-08', time_completed='2021-07-15 12:17:14.499500', job_id='801774', GAL2='1.08', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1626376634.5', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.12e-04', ts2='0.05', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='154' AND source_name='4FGL J0924.0+2816' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul 15 12:17:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0185>
Subject: Job 801774: <4FGL_J0924.0+2816_weekly_bin154> in cluster <slac> Done

Job <4FGL_J0924.0+2816_weekly_bin154> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Thu Jul 15 12:00:23 2021
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 15 12:01: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:01:13 2021
Terminated at Thu Jul 15 12:17:15 2021
Results reported at Thu Jul 15 12:17:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_weekly_bin154 141.005 28.2755 332121601 332726401 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 :                                   938.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   961 sec.
    Turnaround time :                            1012 sec.

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

