aklog: Couldn't determine realm of user:aklog: No credentials cache found  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 84 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0941.9+2724_weekly_bin738
RA = 145.494, Dec = 27.4136
tmin = 685324801, tmax = 685929601
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='255313', job_status='RUN', time_executed='2022-09-27 01:28:14.907292', time_epoch_executed='1664267294.91' WHERE source_name='4FGL J0941.9+2724' and cadence='weekly' and bin_id='738'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/255313

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/255313/ft1_4FGL_J0941.9+2724_weekly_bin738.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/255313/ft2_4FGL_J0941.9+2724_weekly_bin738.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/255313/ft1_4FGL_J0941.9+2724_weekly_bin738.fits outfile=/scratch/kocevski/255313/ft1_filteredMKT_4FGL_J0941.9+2724_weekly_bin738.fits ra=145.494 dec=27.4136 rad=12.0 tmin=685324801.0 tmax=685929601.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.91
user 9.54
sys 0.32

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/255313/ft2_4FGL_J0941.9+2724_weekly_bin738.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/255313/ft2_4FGL_J0941.9+2724_weekly_bin738.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/255313/ft1_filteredMKT_4FGL_J0941.9+2724_weekly_bin738.fits evtable="EVENTS" outfile="/scratch/kocevski/255313/ft1_filtered_4FGL_J0941.9+2724_weekly_bin738.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.57
user 0.39
sys 0.17

Number of photons that the gtmktime cut: 1089

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/255313/ft1_filtered_4FGL_J0941.9+2724_weekly_bin738.fits" evtable="EVENTS" scfile=/scratch/kocevski/255313/ft2_4FGL_J0941.9+2724_weekly_bin738.fits sctable="SC_DATA" outfile=/scratch/kocevski/255313/ltcube_685324801_685929601_4FGL_J0941.9+2724_weekly_bin738.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/255313/ft2_4FGL_J0941.9+2724_weekly_bin738.fits
.....................!
real 31.20
user 30.72
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/255313/ft1_filtered_4FGL_J0941.9+2724_weekly_bin738.fits evtable="EVENTS" scfile=/scratch/kocevski/255313/ft2_4FGL_J0941.9+2724_weekly_bin738.fits sctable="SC_DATA" expcube=/scratch/kocevski/255313/ltcube_685324801_685929601_4FGL_J0941.9+2724_weekly_bin738.fits outfile=/scratch/kocevski/255313/expmap_685324801_685929601_4FGL_J0941.9+2724_weekly_bin738.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/255313/ltcube_685324801_685929601_4FGL_J0941.9+2724_weekly_bin738.fits
.....................!
real 191.46
user 186.01
sys 5.04

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 178 point sources and 0 extended sources

Setting source of interest to:
4FGL J0941.9+2724 @ 145.494 27.4136

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/255313/ft1_filtered_4FGL_J0941.9+2724_weekly_bin738.fits scfile=/scratch/kocevski/255313/ft2_4FGL_J0941.9+2724_weekly_bin738.fits outfile=/scratch/kocevski/255313/cmap_685324801_685929601_4FGL_J0941.9+2724_weekly_bin738.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=145.494 yref=27.4136 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.42
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/255313/ft1_filtered_4FGL_J0941.9+2724_weekly_bin738.fits scfile=/scratch/kocevski/255313/ft2_4FGL_J0941.9+2724_weekly_bin738.fits outfile=/scratch/kocevski/255313/cmap_HighResolution_685324801_685929601_4FGL_J0941.9+2724_weekly_bin738.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=145.494 yref=27.4136 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.42
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/255313/ft1_filtered_4FGL_J0941.9+2724_weekly_bin738.fits evtable="EVENTS" scfile=/scratch/kocevski/255313/ft2_4FGL_J0941.9+2724_weekly_bin738.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/255313/Model_4FGL_J0941.9+2724_weekly_bin738.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/255313/ft1_filtered_4FGL_J0941.9+2724_weekly_bin738.fits.....................!
real 91.53
user 89.86
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/255313/ft1_filtered_4FGL_J0941.9+2724_weekly_bin738.fits', '/scratch/kocevski/255313/ft2_4FGL_J0941.9+2724_weekly_bin738.fits', expMap='/scratch/kocevski/255313/expmap_685324801_685929601_4FGL_J0941.9+2724_weekly_bin738.fits', expCube='/scratch/kocevski/255313/ltcube_685324801_685929601_4FGL_J0941.9+2724_weekly_bin738.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/255313/Model_4FGL_J0941.9+2724_weekly_bin738.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0941.9+2724'

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  6.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
261        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
262        Scale:  8.503e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/255313/ft1_filtered_4FGL_J0941.9+2724_weekly_bin738.fits
Spacecraft file(s): /scratch/kocevski/255313/ft2_4FGL_J0941.9+2724_weekly_bin738.fits
Exposure map: /scratch/kocevski/255313/expmap_685324801_685929601_4FGL_J0941.9+2724_weekly_bin738.fits
Exposure cube: /scratch/kocevski/255313/ltcube_685324801_685929601_4FGL_J0941.9+2724_weekly_bin738.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/255313/Model_4FGL_J0941.9+2724_weekly_bin738.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) = 11872.509223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25696E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    14.149       1.0000          .0000       .10000E+07
     3 'norm      '    .11102E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .67265       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78326E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.8142       1.0000          .0000       .10000E+07
     7 'Prefactor '    20.037       1.0000          .0000       .10000E+07
     8 'Prefactor '    .60512       1.0000          .0000       .10000E+07
     9 'Prefactor '    .37226E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.0188       1.0000          .0000       .10000E+07
    11 'norm      '    .68976E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .65968       1.0000          .0000       .10000E+07
    13 'Prefactor '    54.787       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.2499       1.0000          .0000       .10000E+07
    15 'Prefactor '    10.664       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0695       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .83192       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11872.50     FROM MIGRAD    STATUS=CONVERGED    100 CALLS     1214 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    5.0948        .96464E-07** at limit **
   2  Prefactor     14.147        1.6514       -.38607E-07    .11731    
   3  norm          .21094E-08    42.075       -.75511E-06** at limit **
   4  norm          .67244        .60096       -.68729E-07    .79861E-03
   5  Prefactor      .0000        1.0422       -.87222E-06** at limit **
   6  Prefactor     6.8378        7.3348        .48997E-06    .19956E-01
   7  Prefactor     20.136        1.1301       -.16461E-07    .11529    
   8  Prefactor     .60675        5.6448       -.18648E-06    .72332E-02
   9  Prefactor     .27756E-09    3.6291       -.48753E-07** at limit **
  10  Prefactor     1.0184        1.1671        .12909E-06    .76368E-02
  11  norm          .55511E-09    7.0596        .19896E-07** at limit **
  12  Prefactor     .65970        1.4093       -.17740E-06    .67333E-04
  13  Prefactor     54.932        1.3606        .14039E-07   -.12233    
  14  Prefactor     1.2533        2.5646       -.74701E-06   -.42877E-04
  15  Prefactor     10.622        1.3115        .28323E-07   -.84887E-01
  16  Normalizat    1.0694        .12417       -.10763E-04    .37449E-03
  17  Prefactor     .83191        .13053        .16888E-04    .28519E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 14.1472
  norm       = 2.10942e-09
  norm       = 0.672436
  Prefactor  = 0
  Prefactor  = 6.83776
  Prefactor  = 20.1357
  Prefactor  = 0.60675
  Prefactor  = 2.77556e-10
  Prefactor  = 1.01838
  norm       = 5.55112e-10
  Prefactor  = 0.6597
  Prefactor  = 54.9321
  Prefactor  = 1.25326
  Prefactor  = 10.6215
  Normalizat = 1.06941
  Prefactor  = 0.831914
 **********
 **   18 **HESSE 
 **********

 FCN=   11872.50     FROM HESSE     STATUS=OK           261 CALLS     1475 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    5.0834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.147        10.398        .26602E-03   -1.5633    
   3  norm          .21094E-08    41.917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .67244        .59790        .62957E-03   -1.5692    
   5  Prefactor      .0000        1.0331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.8378        7.3418        .38412E-03   -1.5656    
   7  Prefactor     20.136        24.371        .22347E-03   -1.5618    
   8  Prefactor     .60675        5.5784        .68770E-03   -1.5692    
   9  Prefactor     .27756E-09    3.6299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.0184        1.2840        .28144E-02   -1.5688    
  11  norm          .55511E-09    7.0053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .65970        1.4593        .64043E-03   -1.5692    
  13  Prefactor     54.932        35.682        .13511E-03   -1.5560    
  14  Prefactor     1.2533        2.6344        .10001E-02   -1.5686    
  15  Prefactor     10.622        13.246        .30657E-03   -1.5643    
  16  Normalizat    1.0694        .11084        .39403E-01   -.90740    
  17  Prefactor     .83191        .11306        .44131E-01   -.98562    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.87976e-07
Minuit parameter uncertainties:
  1  4.67934e-05
  2  10.3975
  3  0.000595293
  4  0.597904
  5  8.2897e-07
  6  7.34177
  7  24.371
  8  3.67953
  9  6.42005e-05
  10  1.28399
  11  0.000123386
  12  1.45931
  13  35.6818
  14  2.63444
  15  13.2458
  16  0.110861
  17  0.113095
Done.

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

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  6.838e+00  7.342e+00  0.000e+00  1.000e+06 ( 1.000e-13)
261        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
262        Scale:  8.503e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.319e-01  1.131e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.069e+00  1.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.74
Ra Dec: 145.494 27.414
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 8.72e-09 +/- 9.36e-09
Energy Flux (Fixed Index): 2.74e-06 +/- 2.94e-06

TS (Fixed Index): 2.74
Ra Dec: 145.494 27.414
Photon Flux Upper Limit: 3.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/255313/likelihoodResults_685324801_685929601_4FGL_J0941.9+2724_weekly_bin738.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) = 11871.626179
delta logL = 0.870231318078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11871.6103354
delta logL = 0.8860749825

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5799       1.0000          .0000       .10000E+07
     2 'Index     '    1.3731       1.0000          .0000       10.000    
     3 'Normalizat'    1.0779       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82667       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11871.61     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      202 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5799        5.7944        .42506E-03    .49807E-02
   2  Index         1.3733        .42501        .31443       -.96131E-04
   3  Normalizat    1.0779        .10606        .38981E-01    .93965E-05
   4  Prefactor     .82667        .11281        .44063E-01    .27575E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.57989
  Index      = 1.37329
  Normalizat = 1.07789
  Prefactor  = 0.826669
 **********
 **   18 **HESSE 
 **********

 FCN=   11871.61     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5799        7.0133        .17003E-04   -1.5661    
   2  Index         1.3733        .63337        .13161E-01   -.81153    
   3  Normalizat    1.0779        .12247        .20723E-03   -.90465    
   4  Prefactor     .82667        .13023        .24714E-03   -.98753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96073e-09
Minuit parameter uncertainties:
  1  7.01332
  2  0.636997
  3  0.122498
  4  0.130279
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/255313': 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) = 11871.6103353
delta logL = 0.886075026419

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  5.580e+00  7.013e+00  0.000e+00  1.000e+06 ( 1.000e-13)
261        Index:  1.373e+00  6.370e-01  0.000e+00  1.000e+01 (-1.000e+00)
262        Scale:  8.503e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.267e-01  1.303e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.078e+00  1.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.52
Ra Dec: 145.494 27.414
Photon Index (Free Index): 1.37 +/- 0.64
Photon Flux (Free Index): 2.61e-09 +/- 3.31e-09
Energy Flux (Free Index): 1.26e-05 +/- 2.17e-05

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/255313/cmap_HighResolution_685324801_685929601_4FGL_J0941.9+2724_weekly_bin738.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.96e-03', comment='SUCCESS', photon_flux='8.72e-09', energy_flux2='1.26e-05', photon_flux_error='9.36e-09', dlogl='8.86e-01', energy_flux='2.74e-06', photon_flux2='2.61e-09', job_status='DONE', time_completed='2022-09-27 01:40:50.107769', photon_index_error2='0.64', photon_index2='1.37', ts='2.74', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='3.82e-08', energy_flux_error2='2.17e-05', EG='1.07', time_epoch_completed='1664268050.11', return_code='0', job_id='255313', GAL2='0.83', EG2='1.08', return_code2='0', energy_flux_error='2.94e-06', photon_flux_error2='3.31e-09', ts2='4.52', photon_index='2.43' WHERE bin_id='738' AND source_name='4FGL J0941.9+2724' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 27 01:40:50 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 255313: <4FGL_J0941.9+2724_weekly_bin738> in cluster <slac> Done

Job <4FGL_J0941.9+2724_weekly_bin738> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep 27 01:25:37 2022
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 01:26:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 01:26:39 2022
Terminated at Tue Sep 27 01:40:51 2022
Results reported at Tue Sep 27 01:40:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0941.9+2724_weekly_bin738 145.494 27.4136 685324801 685929601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0941.9+2724 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   755.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            914 sec.

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

