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


Performing analysis on: 4FGL_J0941.9+2724_daily_bin1710
RA = 145.494, Dec = 27.4136
tmin = 682560001, tmax = 682819201
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='84602', job_status='RUN', time_executed='2022-09-16 14:54:10.428560', time_epoch_executed='1663365250.43' WHERE source_name='4FGL J0941.9+2724' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/84602

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/84602/ft1_4FGL_J0941.9+2724_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/84602/ft2_4FGL_J0941.9+2724_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/84602/ft1_4FGL_J0941.9+2724_daily_bin1710.fits outfile=/scratch/kocevski/84602/ft1_filteredMKT_4FGL_J0941.9+2724_daily_bin1710.fits ra=145.494 dec=27.4136 rad=12.0 tmin=682560001.0 tmax=682819201.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 3.68
user 3.47
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/84602/ft2_4FGL_J0941.9+2724_daily_bin1710.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/84602/ft1_filteredMKT_4FGL_J0941.9+2724_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/84602/ft1_filtered_4FGL_J0941.9+2724_daily_bin1710.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.53
user 0.33
sys 0.18

Number of photons that the gtmktime cut: 540

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/84602/ft1_filtered_4FGL_J0941.9+2724_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/84602/ft2_4FGL_J0941.9+2724_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/84602/ltcube_682560001_682819201_4FGL_J0941.9+2724_daily_bin1710.fits outfile=/scratch/kocevski/84602/expmap_682560001_682819201_4FGL_J0941.9+2724_daily_bin1710.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/84602/ltcube_682560001_682819201_4FGL_J0941.9+2724_daily_bin1710.fits
.....................!
real 191.73
user 186.21
sys 5.12

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/84602/ft1_filtered_4FGL_J0941.9+2724_daily_bin1710.fits scfile=/scratch/kocevski/84602/ft2_4FGL_J0941.9+2724_daily_bin1710.fits outfile=/scratch/kocevski/84602/cmap_682560001_682819201_4FGL_J0941.9+2724_daily_bin1710.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/84602/ft1_filtered_4FGL_J0941.9+2724_daily_bin1710.fits scfile=/scratch/kocevski/84602/ft2_4FGL_J0941.9+2724_daily_bin1710.fits outfile=/scratch/kocevski/84602/cmap_HighResolution_682560001_682819201_4FGL_J0941.9+2724_daily_bin1710.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.60
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/84602/ft1_filtered_4FGL_J0941.9+2724_daily_bin1710.fits', '/scratch/kocevski/84602/ft2_4FGL_J0941.9+2724_daily_bin1710.fits', expMap='/scratch/kocevski/84602/expmap_682560001_682819201_4FGL_J0941.9+2724_daily_bin1710.fits', expCube='/scratch/kocevski/84602/ltcube_682560001_682819201_4FGL_J0941.9+2724_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/84602/Model_4FGL_J0941.9+2724_daily_bin1710.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/84602/ft1_filtered_4FGL_J0941.9+2724_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/84602/ft2_4FGL_J0941.9+2724_daily_bin1710.fits
Exposure map: /scratch/kocevski/84602/expmap_682560001_682819201_4FGL_J0941.9+2724_daily_bin1710.fits
Exposure cube: /scratch/kocevski/84602/ltcube_682560001_682819201_4FGL_J0941.9+2724_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/84602/Model_4FGL_J0941.9+2724_daily_bin1710.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) = 6239.14606968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17175E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.2619       1.0000          .0000       .10000E+07
     3 'norm      '    .29360E-06   1.0000          .0000       .10000E+07
     4 'norm      '    4.0134       1.0000          .0000       .10000E+07
     5 'Prefactor '    .66613E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    53.221       1.0000          .0000       .10000E+07
     7 'Prefactor '    30.274       1.0000          .0000       .10000E+07
     8 'Prefactor '    11.522       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.252       1.0000          .0000       .10000E+07
    10 'Prefactor '    .52736E-08   1.0000          .0000       .10000E+07
    11 'norm      '    31.149       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.3132       1.0000          .0000       .10000E+07
    13 'Prefactor '    28.940       1.0000          .0000       .10000E+07
    14 'Prefactor '    .12212E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    16.072       1.0000          .0000       .10000E+07
    16 'Normalizat'    .72070       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3937       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=   6239.143     FROM MIGRAD    STATUS=CONVERGED     92 CALLS     1421 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19429E-08    29.824       -.98673E-06** at limit **
   2  Prefactor     7.2641        1.0945        .19643E-07    .15714E-01
   3  norm          .32196E-08    20.057       -.96732E-06** at limit **
   4  norm          4.0134        1.9997        .79829E-09    .76620E-04
   5  Prefactor     .11102E-09    1.8855       -.26569E-07** at limit **
   6  Prefactor     53.228        1.0255        .37533E-08    .12680E-01
   7  Prefactor     30.304        1.2754       -.11436E-07    .71473E-01
   8  Prefactor     11.523        8.1216        .26965E-07   -.74630E-02
   9  Prefactor     13.253        11.080       -.42047E-06   -.19077E-01
  10  Prefactor      .0000        1.1022        .36086E-06** at limit **
  11  norm          31.152        3.2867       -.66405E-07    .88829E-01
  12  Prefactor     4.3144        4.6240       -.76257E-06    .17006E-02
  13  Prefactor     28.954        1.0994       -.75996E-08    .37239E-01
  14  Prefactor      .0000        4.9516        .16385E-06** at limit **
  15  Prefactor     16.052        1.3567       -.27203E-07    .55606E-01
  16  Normalizat    .72058        .20950        .21978E-04    .11896E-03
  17  Prefactor     1.3938        .21337       -.23518E-04   -.38022E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.94289e-09
  Prefactor  = 7.26413
  norm       = 3.21965e-09
  norm       = 4.01342
  Prefactor  = 1.11022e-10
  Prefactor  = 53.2283
  Prefactor  = 30.3042
  Prefactor  = 11.5225
  Prefactor  = 13.2529
  Prefactor  = 0
  norm       = 31.1521
  Prefactor  = 4.31439
  Prefactor  = 28.9535
  Prefactor  = 0
  Prefactor  = 16.0524
  Normalizat = 0.720578
  Prefactor  = 1.39383
 **********
 **   18 **HESSE 
 **********

 FCN=   6239.143     FROM HESSE     STATUS=OK           263 CALLS     1684 TOTAL
                     EDM=   .98E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19429E-08    29.666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.2641        13.975        .37197E-03   -1.5654    
   3  norm          .32196E-08    20.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.0134        2.0038        .50315E-03   -1.5668    
   5  Prefactor     .11102E-09    1.8760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     53.228        34.904        .13708E-03   -1.5562    
   7  Prefactor     30.304        45.839        .18177E-03   -1.5598    
   8  Prefactor     11.523        8.4221        .29488E-03   -1.5640    
   9  Prefactor     13.253        11.318        .27490E-03   -1.5635    
  10  Prefactor      .0000        1.0966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          31.152        12.515        .17920E-03   -1.5596    
  12  Prefactor     4.3144        4.6557        .48482E-03   -1.5666    
  13  Prefactor     28.954        42.972        .18592E-03   -1.5600    
  14  Prefactor      .0000        4.9371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.052        47.381        .24956E-03   -1.5628    
  16  Normalizat    .72058        .18415        .68469E-01   -1.0309    
  17  Prefactor     1.3938        .18341        .53591E-01   -.80558    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.78806e-07
Minuit parameter uncertainties:
  1  0.000480285
  2  13.9747
  3  0.000508091
  4  2.00381
  5  2.59382e-05
  6  34.9041
  7  45.8396
  8  8.42214
  9  11.3181
  10  5.52072e-06
  11  12.5148
  12  4.65572
  13  42.9726
  14  2.18085e-05
  15  47.382
  16  0.184313
  17  0.183493
Done.

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

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  5.323e+01  3.490e+01  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:  1.394e+00  1.835e-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:  7.206e-01  1.843e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.67
Ra Dec: 145.494 27.414
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 6.79e-08 +/- 4.45e-08
Energy Flux (Fixed Index): 2.13e-05 +/- 1.40e-05

TS (Fixed Index): 3.67
Ra Dec: 145.494 27.414
Photon Flux Upper Limit: 1.58e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/84602/likelihoodResults_682560001_682819201_4FGL_J0941.9+2724_daily_bin1710.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) = 6239.09231285
delta logL = 0.0502010530281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6239.09050334
delta logL = 0.0520105671321

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    59.096       1.0000          .0000       .10000E+07
     2 'Index     '    2.2358       1.0000          .0000       10.000    
     3 'Normalizat'    .73324       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3854       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6239.091     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      274 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     59.087        41.480        .52037E-05    .21192E-03
   2  Index         2.2363        .59226        .83952E-02    .16549E-03
   3  Normalizat    .73361        .20533        .30051E-03   -.41048E-04
   4  Prefactor     1.3850        .21293        .23755E-03    .53333E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 59.0867
  Index      = 2.23626
  Normalizat = 0.733607
  Prefactor  = 1.38503
 **********
 **   18 **HESSE 
 **********

 FCN=   6239.091     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.087        40.981        .20815E-06   -1.5554    
   2  Index         2.2363        .58455        .16790E-02   -.58566    
   3  Normalizat    .73361        .20535        .12020E-04   -1.0258    
   4  Prefactor     1.3850        .21299        .47510E-04   -.80813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11125e-11
Minuit parameter uncertainties:
  1  40.9814
  2  0.586487
  3  0.205566
  4  0.213122
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/84602': 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) = 6239.09050102
delta logL = 0.0520128882608

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  5.909e+01  4.098e+01  0.000e+00  1.000e+06 ( 1.000e-13)
261        Index:  2.236e+00  5.865e-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:  1.385e+00  2.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:  7.336e-01  2.056e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 145.494 27.414
Photon Index (Free Index): 2.24 +/- 0.59
Photon Flux (Free Index): 5.73e-08 +/- 5.10e-08
Energy Flux (Free Index): 2.41e-05 +/- 1.92e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/84602/cmap_HighResolution_682560001_682819201_4FGL_J0941.9+2724_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', comment='SUCCESS', photon_flux='6.79e-08', energy_flux2='2.41e-05', photon_flux_error='4.45e-08', dlogl='5.20e-02', energy_flux='2.13e-05', photon_flux2='5.73e-08', job_status='DONE', time_completed='2022-09-16 15:02:59.301146', photon_index_error2='0.59', photon_index2='2.24', ts='3.67', fit_tolerance='1e-08', GAL='1.39', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='1.92e-05', EG='0.72', time_epoch_completed='1663365779.3', return_code='0', job_id='84602', GAL2='1.39', EG2='0.73', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='5.10e-08', ts2='3.75', photon_index='2.43' WHERE bin_id='1710' AND source_name='4FGL J0941.9+2724' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:02:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 84602: <4FGL_J0941.9+2724_daily_bin1710> in cluster <slac> Done

Job <4FGL_J0941.9+2724_daily_bin1710> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 14:50:15 2022
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:50:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 14:50:42 2022
Terminated at Fri Sep 16 15:03:00 2022
Results reported at Fri Sep 16 15:03:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0941.9+2724_daily_bin1710 145.494 27.4136 682560001 682819201 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 :                                   531.17 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             246.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            765 sec.

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

