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


Performing analysis on: 4FGL_J0941.9+2724_weekly_bin754
RA = 145.494, Dec = 27.4136
tmin = 695001601, tmax = 695606401
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='949764', job_status='RUN', time_executed='2023-01-17 00:55:15.026996', time_epoch_executed='1673945715.03' WHERE source_name='4FGL J0941.9+2724' and cadence='weekly' and bin_id='754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/949764

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/949764/ft1_4FGL_J0941.9+2724_weekly_bin754.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/949764/ft2_4FGL_J0941.9+2724_weekly_bin754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/949764/ft1_4FGL_J0941.9+2724_weekly_bin754.fits outfile=/scratch/kocevski/949764/ft1_filteredMKT_4FGL_J0941.9+2724_weekly_bin754.fits ra=145.494 dec=27.4136 rad=12.0 tmin=695001601.0 tmax=695606401.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 5.57
user 5.33
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/949764/ft2_4FGL_J0941.9+2724_weekly_bin754.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/949764/ft1_filteredMKT_4FGL_J0941.9+2724_weekly_bin754.fits evtable="EVENTS" outfile="/scratch/kocevski/949764/ft1_filtered_4FGL_J0941.9+2724_weekly_bin754.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: 256

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/949764/ft1_filtered_4FGL_J0941.9+2724_weekly_bin754.fits" evtable="EVENTS" scfile=/scratch/kocevski/949764/ft2_4FGL_J0941.9+2724_weekly_bin754.fits sctable="SC_DATA" outfile=/scratch/kocevski/949764/ltcube_695001601_695606401_4FGL_J0941.9+2724_weekly_bin754.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/949764/ft2_4FGL_J0941.9+2724_weekly_bin754.fits
.....................!
real 32.99
user 32.58
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/949764/ft1_filtered_4FGL_J0941.9+2724_weekly_bin754.fits evtable="EVENTS" scfile=/scratch/kocevski/949764/ft2_4FGL_J0941.9+2724_weekly_bin754.fits sctable="SC_DATA" expcube=/scratch/kocevski/949764/ltcube_695001601_695606401_4FGL_J0941.9+2724_weekly_bin754.fits outfile=/scratch/kocevski/949764/expmap_695001601_695606401_4FGL_J0941.9+2724_weekly_bin754.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/949764/ltcube_695001601_695606401_4FGL_J0941.9+2724_weekly_bin754.fits
.....................!
real 193.23
user 187.42
sys 5.44

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/949764/ft1_filtered_4FGL_J0941.9+2724_weekly_bin754.fits scfile=/scratch/kocevski/949764/ft2_4FGL_J0941.9+2724_weekly_bin754.fits outfile=/scratch/kocevski/949764/cmap_695001601_695606401_4FGL_J0941.9+2724_weekly_bin754.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.59
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/949764/ft1_filtered_4FGL_J0941.9+2724_weekly_bin754.fits scfile=/scratch/kocevski/949764/ft2_4FGL_J0941.9+2724_weekly_bin754.fits outfile=/scratch/kocevski/949764/cmap_HighResolution_695001601_695606401_4FGL_J0941.9+2724_weekly_bin754.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.46
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11419       1.0000          .0000       .10000E+07
     2 'Prefactor '    .27034       1.0000          .0000       .10000E+07
     3 'norm      '    .33808E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .68057E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    9.5460       1.0000          .0000       .10000E+07
     6 'Prefactor '    12.538       1.0000          .0000       .10000E+07
     7 'Prefactor '    18.593       1.0000          .0000       .10000E+07
     8 'Prefactor '    8.1891       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2174       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.1729       1.0000          .0000       .10000E+07
    11 'norm      '    1.4646       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.4454       1.0000          .0000       .10000E+07
    13 'Prefactor '    .38633E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.4630       1.0000          .0000       .10000E+07
    15 'Prefactor '    48.268       1.0000          .0000       .10000E+07
    16 'Normalizat'    .52613       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.6030       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=   3087.382     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1223 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    41.997       -.78241E-07** at limit **
   2  Prefactor     .46413E-06    135.71       -.56220E-06** at limit **
   3  norm          .53735E-07    67.801        .18936E-06** at limit **
   4  norm           .0000        1.8985       -.76669E-08** at limit **
   5  Prefactor     9.5633        11.997        .15048E-06   -.81935E-03
   6  Prefactor     16.655        42.065       -.14736E-06    .94107E-01
   7  Prefactor     22.410        61.543       -.78499E-07   -.49014E-01
   8  Prefactor     8.0883        10.106       -.11310E-07   -.17491E-01
   9  Prefactor     3.0561        21.968       -.32192E-06   -.34315E-02
  10  Prefactor     1.1747        2.0704        .12110E-08   -.64791E-03
  11  norm          1.7568        10.878        .48757E-07    .75262E-03
  12  Prefactor     5.4520        6.6953       -.12998E-06   -.11248E-01
  13  Prefactor     .75786E-04    337.29        .19972E-06** at limit **
  14  Prefactor     2.5012        5.8200       -.99896E-08   -.40304E-02
  15  Prefactor     50.718        36.530       -.59274E-07   -.18119    
  16  Normalizat    .52318        .32456        .35412E-05   -.90275E-04
  17  Prefactor     1.5992        .32765       -.20617E-05   -.18141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Prefactor  = 4.64129e-07
  norm       = 5.37348e-08
  norm       = 0
  Prefactor  = 9.56332
  Prefactor  = 16.6547
  Prefactor  = 22.4104
  Prefactor  = 8.08829
  Prefactor  = 3.05613
  Prefactor  = 1.17466
  norm       = 1.75685
  Prefactor  = 5.45201
  Prefactor  = 7.57863e-05
  Prefactor  = 2.5012
  Prefactor  = 50.7181
  Normalizat = 0.523181
  Prefactor  = 1.59923
 **********
 **   18 **HESSE 
 **********

 FCN=   3087.382     FROM HESSE     STATUS=OK           265 CALLS     1488 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    42.005        .13563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .46413E-06    135.20        .10638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .53735E-07    67.910        .16256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.8996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.5633        12.207        .32411E-03   -1.5646    
   6  Prefactor     16.655        54.957        .28264E-03   -1.5626    
   7  Prefactor     22.410        65.794        .23200E-03   -1.5613    
   8  Prefactor     8.0883        10.211        .35010E-03   -1.5651    
   9  Prefactor     3.0561        22.620        .56454E-03   -1.5673    
  10  Prefactor     1.1747        2.3774        .23748E-02   -1.5686    
  11  norm          1.7568        10.940        .88831E-03   -1.5681    
  12  Prefactor     5.4520        6.8228        .43037E-03   -1.5661    
  13  Prefactor     .75786E-04    343.01        .16026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.5012        5.9506        .65138E-03   -1.5676    
  15  Prefactor     50.718        46.585        .14395E-03   -1.5566    
  16  Normalizat    .52318        .28908        .78544E-01   -1.1135    
  17  Prefactor     1.5992        .28353        .51324E-01   -.74797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61801e-06
Minuit parameter uncertainties:
  1  0.000228922
  2  0.0158436
  3  0.00382013
  4  4.48122e-06
  5  12.2071
  6  54.9584
  7  65.7961
  8  10.2108
  9  16.6289
  10  2.3774
  11  8.76819
  12  6.82281
  13  0.32248
  14  5.95059
  15  46.5854
  16  0.289919
  17  0.283809
Done.

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

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  1.665e+01  5.496e+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.599e+00  2.838e-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:  5.232e-01  2.899e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/949764/likelihoodResults_695001601_695606401_4FGL_J0941.9+2724_weekly_bin754.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) = 3087.35817466
delta logL = 0.0237479152547

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3087.35198852
delta logL = 0.0299340493439

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.185       1.0000          .0000       .10000E+07
     2 'Index     '    2.1002       1.0000          .0000       10.000    
     3 'Normalizat'    .52832       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5934       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=   3087.352     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      279 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.198        61.927        .83093E-05   -.71146E-04
   2  Index         2.1003        1.1889        .12843E-01    .25153E-05
   3  Normalizat    .52899        .29188        .34599E-03   -.19239E-04
   4  Prefactor     1.5926        .31886        .22724E-03    .22839E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.1985
  Index      = 2.10034
  Normalizat = 0.528986
  Prefactor  = 1.59257
 **********
 **   18 **HESSE 
 **********

 FCN=   3087.352     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.198        61.484        .33237E-06   -1.5612    
   2  Index         2.1003        1.1806        .51372E-03   -.61864    
   3  Normalizat    .52899        .29199        .13840E-04   -1.1109    
   4  Prefactor     1.5926        .31896        .90895E-05   -.74979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1916e-11
Minuit parameter uncertainties:
  1  61.486
  2  1.19782
  3  0.292844
  4  0.319362
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/949764': 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) = 3087.3519847
delta logL = 0.029937876247

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  2.320e+01  6.149e+01  0.000e+00  1.000e+06 ( 1.000e-13)
261        Index:  2.100e+00  1.198e+00  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.593e+00  3.194e-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:  5.290e-01  2.928e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 145.494 27.414

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/949764/cmap_HighResolution_695001601_695606401_4FGL_J0941.9+2724_weekly_bin754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.53e-02', job_status='DONE', photon_flux_upper_limit='1.98e-07', time_completed='2023-01-17 01:02:56.208271', job_id='949764', GAL2='1.59', fit_tolerance='1e-08', EG2='0.53', EG='0.52', time_epoch_completed='1673946176.21', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='1.60', dlogl='2.99e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='754' AND source_name='4FGL J0941.9+2724' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 17 01:02:56 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 949764: <4FGL_J0941.9+2724_weekly_bin754> in cluster <slac> Done

Job <4FGL_J0941.9+2724_weekly_bin754> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Jan 17 00:50:21 2023
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 17 00:52:01 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 17 00:52:01 2023
Terminated at Tue Jan 17 01:02:57 2023
Results reported at Tue Jan 17 01:02:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0941.9+2724_weekly_bin754 145.494 27.4136 695001601 695606401 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 :                                   463.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             248.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   655 sec.
    Turnaround time :                            756 sec.

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

