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


Performing analysis on: 4FGL_J0924.0+2816_weekly_bin346
RA = 141.005, Dec = 28.2755
tmin = 448243201, tmax = 448848001
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='803361', job_status='RUN', time_executed='2021-07-15 12:08:45.117201', time_epoch_executed='1626376125.12' WHERE source_name='4FGL J0924.0+2816' and cadence='weekly' and bin_id='346'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/803361

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/803361/ft1_4FGL_J0924.0+2816_weekly_bin346.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/803361/ft2_4FGL_J0924.0+2816_weekly_bin346.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/803361/ft1_4FGL_J0924.0+2816_weekly_bin346.fits outfile=/scratch/kocevski/803361/ft1_filteredMKT_4FGL_J0924.0+2816_weekly_bin346.fits ra=141.005 dec=28.2755 rad=12.0 tmin=448243201.0 tmax=448848001.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 12.49
user 11.98
sys 0.44

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/803361/ft1_filtered_4FGL_J0924.0+2816_weekly_bin346.fits evtable="EVENTS" scfile=/scratch/kocevski/803361/ft2_4FGL_J0924.0+2816_weekly_bin346.fits sctable="SC_DATA" expcube=/scratch/kocevski/803361/ltcube_448243201_448848001_4FGL_J0924.0+2816_weekly_bin346.fits outfile=/scratch/kocevski/803361/expmap_448243201_448848001_4FGL_J0924.0+2816_weekly_bin346.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/803361/ltcube_448243201_448848001_4FGL_J0924.0+2816_weekly_bin346.fits
.....................!
real 192.13
user 186.46
sys 5.24

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/803361/ft1_filtered_4FGL_J0924.0+2816_weekly_bin346.fits scfile=/scratch/kocevski/803361/ft2_4FGL_J0924.0+2816_weekly_bin346.fits outfile=/scratch/kocevski/803361/cmap_448243201_448848001_4FGL_J0924.0+2816_weekly_bin346.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.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/803361/ft1_filtered_4FGL_J0924.0+2816_weekly_bin346.fits scfile=/scratch/kocevski/803361/ft2_4FGL_J0924.0+2816_weekly_bin346.fits outfile=/scratch/kocevski/803361/cmap_HighResolution_448243201_448848001_4FGL_J0924.0+2816_weekly_bin346.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3024       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.389       1.0000         .10000E-03   10000.    
     4 'norm      '    .10166E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.4920       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.422       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.9695       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .19496E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    9.7703       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.1675       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.446       1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.706       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17177       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .15366E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.5735       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .81945E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    6.0424       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .67298       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0171       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=   10596.09     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     1928 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3015        .77125        .43636E-02   -.74977E-04
   2  Prefactor     .10000E-03    2.7871        .90712E-02** at limit **
   3  Prefactor     15.340        9.9917        .25524E-02    .15003E-02
   4  norm          .10000E-03    12.902        .90712E-02** at limit **
   5  Prefactor     4.4900        2.1567        .47492E-02    .89935E-04
   6  Prefactor     12.945        37.366        .28413E-02    .13926E-03
   7  norm          .10000E-03    .29820        .28480E-01** at limit **
   8  Prefactor     9.3761        24.793        .31727E-02    .10952E-02
   9  Prefactor     .10000E-03    10.859        .90712E-02** at limit **
  10  norm          9.8629        7.5376        .32050E-02    .20197E-03
  11  Prefactor     6.1665        2.4736        .40413E-02    .21174E-03
  12  Prefactor     19.197        13.824        .22706E-02    .39464E-04
  13  Prefactor     30.100        27.111        .18077E-02    .73973E-04
  14  Prefactor     .29901        15.437        .14318        .10774E-03
  15  Prefactor     .10000E-03    2.1597        .47530E-01** at limit **
  16  Prefactor     6.5644        5.6157        .39130E-02    .37320E-02
  17  Prefactor     .81717E-01    .55627        .49266E-01    .88650E-03
  18  norm          6.0161        5.1313        .40835E-02    .19072E-02
  19  Normalizat    .67391        .11552        .41929E-01    .48975E-04
  20  Prefactor     1.0167        .11313        .42439E-01    .13668E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.30154
  Prefactor  = 0.0001
  Prefactor  = 15.3402
  norm       = 0.0001
  Prefactor  = 4.48996
  Prefactor  = 12.9448
  norm       = 0.0001
  Prefactor  = 9.37612
  Prefactor  = 0.0001
  norm       = 9.86289
  Prefactor  = 6.16646
  Prefactor  = 19.1972
  Prefactor  = 30.1001
  Prefactor  = 0.299013
  Prefactor  = 0.0001
  Prefactor  = 6.56444
  Prefactor  = 0.0817167
  norm       = 6.01606
  Normalizat = 0.673914
  Prefactor  = 1.01671
 **********
 **   18 **HESSE 
 **********

 FCN=   10596.09     FROM HESSE     STATUS=OK           313 CALLS     2241 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3015        .77149        .33286E-04   -1.5247    
   2  Prefactor     .10000E-03    2.7990        .16779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.340        10.002        .51049E-03   -1.4924    
   4  norm          .10000E-03    12.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4900        2.1559        .10148E-03   -1.5284    
   6  Prefactor     12.945        36.764        .11365E-03   -1.4988    
   7  norm          .10000E-03    .41542        .10938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.3761        24.328        .63454E-03   -1.5095    
   9  Prefactor     .10000E-03    10.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          9.8629        7.4719        .12820E-03   -1.5080    
  11  Prefactor     6.1665        2.4732        .97351E-04   -1.5211    
  12  Prefactor     19.197        13.822        .90825E-04   -1.4831    
  13  Prefactor     30.100        27.088        .72306E-04   -1.4610    
  14  Prefactor     .29901        16.568        .13453       -1.5599    
  15  Prefactor     .10000E-03    7.3538        .28936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.5644        5.6186        .78261E-03   -1.5195    
  17  Prefactor     .81717E-01    5.3382        .14546E-02   -1.5651    
  18  norm          6.0161        5.1234        .81670E-03   -1.5217    
  19  Normalizat    .67391        .13131        .25053E-03   -1.0493    
  20  Prefactor     1.0167        .12896        .21692E-03   -.92175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.52065e-10
Minuit parameter uncertainties:
  1  0.771492
  2  2.19631e-06
  3  10.0028
  4  3.2476e-06
  5  2.15595
  6  36.8283
  7  5.14361e-08
  8  24.3539
  9  1.37185e-06
  10  7.47262
  11  2.47319
  12  13.8242
  13  27.0995
  14  4.45208
  15  2.50851e-07
  16  5.61907
  17  1.32026
  18  5.12379
  19  0.131375
  20  0.128997
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  6.166e+00  2.473e+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.017e+00  1.290e-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:  6.739e-01  1.314e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.36
Ra Dec: 141.005 28.276
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 5.95e-08 +/- 2.38e-08
Energy Flux (Fixed Index): 1.72e-05 +/- 6.88e-06

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) = 10596.0646141
delta logL = 0.027490354787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10596.0543119
delta logL = 0.0377925788252

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5436       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3921       1.0000          .0000       10.000    
     3 'Normalizat'    .68030       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0128       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=   10596.05     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      205 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5432        40.039        .39221E-02    .18928E-03
   2  Index         2.3921        3.0873        .19227        .10935E-03
   3  Normalizat    .68031        .61885E-01    .42027E-01    .38901E-04
   4  Prefactor     1.0128        .48069E-01    .42943E-01    .96429E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.54321
  Index      = 2.39212
  Normalizat = 0.680313
  Prefactor  = 1.0128
 **********
 **   18 **HESSE 
 **********

 FCN=   10596.05     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5432        2.9824        .10340E-03   -1.5196    
   2  Index         2.3921        .41838        .65592E-02   -.54870    
   3  Normalizat    .68031        .12495        .24948E-03   -1.0468    
   4  Prefactor     1.0128        .12861        .21731E-03   -.92304    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84646e-09
Minuit parameter uncertainties:
  1  2.98243
  2  0.419049
  3  0.124999
  4  0.128647
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/803361': 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) = 10596.0543119
delta logL = 0.037792603287

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  6.543e+00  2.982e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.392e+00  4.190e-01  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.013e+00  1.286e-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:  6.803e-01  1.250e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.36
Ra Dec: 141.005 28.276
Photon Index (Free Index): 2.39 +/- 0.42
Photon Flux (Free Index): 5.45e-08 +/- 2.88e-08
Energy Flux (Free Index): 1.80e-05 +/- 8.47e-06

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/803361/cmap_HighResolution_448243201_448848001_4FGL_J0924.0+2816_weekly_bin346.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.95e-08', energy_flux2='1.80e-05', photon_flux_error='2.38e-08', dlogl='3.78e-02', energy_flux='1.72e-05', photon_flux2='5.45e-08', job_status='DONE', time_completed='2021-07-15 12:21:37.814740', photon_index_error2='0.42', photon_index2='2.39', ts='17.36', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='8.47e-06', EG='0.67', time_epoch_completed='1626376897.81', return_code='0', job_id='803361', GAL2='1.01', EG2='0.68', return_code2='0', energy_flux_error='6.88e-06', photon_flux_error2='2.88e-08', ts2='17.36', photon_index='2.51' WHERE bin_id='346' AND source_name='4FGL J0924.0+2816' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul 15 12:21:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 803361: <4FGL_J0924.0+2816_weekly_bin346> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_weekly_bin346 141.005 28.2755 448243201 448848001 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 :                                   764.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             341.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            940 sec.

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

