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


Performing analysis on: 4FGL_J0910.6+2247_weekly_bin751
RA = 137.674, Dec = 22.7978
tmin = 693187201, tmax = 693792001
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='667604', job_status='RUN', time_executed='2022-12-27 00:49:13.585510', time_epoch_executed='1672130953.59' WHERE source_name='4FGL J0910.6+2247' and cadence='weekly' and bin_id='751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/667604

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/667604/ft1_4FGL_J0910.6+2247_weekly_bin751.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/667604/ft2_4FGL_J0910.6+2247_weekly_bin751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/667604/ft1_4FGL_J0910.6+2247_weekly_bin751.fits outfile=/scratch/kocevski/667604/ft1_filteredMKT_4FGL_J0910.6+2247_weekly_bin751.fits ra=137.674 dec=22.7978 rad=12.0 tmin=693187201.0 tmax=693792001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 7.64
user 7.30
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/667604/ft2_4FGL_J0910.6+2247_weekly_bin751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/667604/ft2_4FGL_J0910.6+2247_weekly_bin751.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/667604/ft1_filteredMKT_4FGL_J0910.6+2247_weekly_bin751.fits evtable="EVENTS" outfile="/scratch/kocevski/667604/ft1_filtered_4FGL_J0910.6+2247_weekly_bin751.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.59
user 0.39
sys 0.16

Number of photons that the gtmktime cut: 1190

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/667604/ft1_filtered_4FGL_J0910.6+2247_weekly_bin751.fits" evtable="EVENTS" scfile=/scratch/kocevski/667604/ft2_4FGL_J0910.6+2247_weekly_bin751.fits sctable="SC_DATA" outfile=/scratch/kocevski/667604/ltcube_693187201_693792001_4FGL_J0910.6+2247_weekly_bin751.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/667604/ft2_4FGL_J0910.6+2247_weekly_bin751.fits
.....................!
real 33.78
user 33.35
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/667604/ft1_filtered_4FGL_J0910.6+2247_weekly_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/667604/ft2_4FGL_J0910.6+2247_weekly_bin751.fits sctable="SC_DATA" expcube=/scratch/kocevski/667604/ltcube_693187201_693792001_4FGL_J0910.6+2247_weekly_bin751.fits outfile=/scratch/kocevski/667604/expmap_693187201_693792001_4FGL_J0910.6+2247_weekly_bin751.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/667604/ltcube_693187201_693792001_4FGL_J0910.6+2247_weekly_bin751.fits
.....................!
real 192.12
user 186.72
sys 4.99

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

Setting source of interest to:
4FGL J0910.6+2247 @ 137.674 22.7978

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/667604/ft1_filtered_4FGL_J0910.6+2247_weekly_bin751.fits scfile=/scratch/kocevski/667604/ft2_4FGL_J0910.6+2247_weekly_bin751.fits outfile=/scratch/kocevski/667604/cmap_693187201_693792001_4FGL_J0910.6+2247_weekly_bin751.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=137.674 yref=22.7978 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.42
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/667604/ft1_filtered_4FGL_J0910.6+2247_weekly_bin751.fits scfile=/scratch/kocevski/667604/ft2_4FGL_J0910.6+2247_weekly_bin751.fits outfile=/scratch/kocevski/667604/cmap_HighResolution_693187201_693792001_4FGL_J0910.6+2247_weekly_bin751.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=137.674 yref=22.7978 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.43
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/667604/ft1_filtered_4FGL_J0910.6+2247_weekly_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/667604/ft2_4FGL_J0910.6+2247_weekly_bin751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/667604/Model_4FGL_J0910.6+2247_weekly_bin751.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/667604/ft1_filtered_4FGL_J0910.6+2247_weekly_bin751.fits.....................!
real 106.65
user 104.98
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/667604/ft1_filtered_4FGL_J0910.6+2247_weekly_bin751.fits', '/scratch/kocevski/667604/ft2_4FGL_J0910.6+2247_weekly_bin751.fits', expMap='/scratch/kocevski/667604/expmap_693187201_693792001_4FGL_J0910.6+2247_weekly_bin751.fits', expCube='/scratch/kocevski/667604/ltcube_693187201_693792001_4FGL_J0910.6+2247_weekly_bin751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/667604/Model_4FGL_J0910.6+2247_weekly_bin751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0910.6+2247'

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  9.863e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
291        alpha:  2.194e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.674e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  9.153e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/667604/ft1_filtered_4FGL_J0910.6+2247_weekly_bin751.fits
Spacecraft file(s): /scratch/kocevski/667604/ft2_4FGL_J0910.6+2247_weekly_bin751.fits
Exposure map: /scratch/kocevski/667604/expmap_693187201_693792001_4FGL_J0910.6+2247_weekly_bin751.fits
Exposure cube: /scratch/kocevski/667604/ltcube_693187201_693792001_4FGL_J0910.6+2247_weekly_bin751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/667604/Model_4FGL_J0910.6+2247_weekly_bin751.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) = 13387.4093835

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1793       1.0000          .0000       .10000E+07
     2 'norm      '    .44850       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.5874       1.0000          .0000       .10000E+07
     4 'Prefactor '    .27867E-07   1.0000          .0000       .10000E+07
     5 'norm      '    .87770       1.0000          .0000       .10000E+07
     6 'Prefactor '    .14988E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.437       1.0000          .0000       .10000E+07
     8 'norm      '    5.7010       1.0000          .0000       .10000E+07
     9 'norm      '    8.6101       1.0000          .0000       .10000E+07
    10 'norm      '    .55828       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    18.721       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.0380       1.0000          .0000       .10000E+07
    14 'Prefactor '    .70499E-08   1.0000          .0000       .10000E+07
    15 'Normalizat'    .97053       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0412       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13387.30     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      891 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.2251        1.2086        .53557E-10   -.14619E-01
   2  norm          .44803        .57612        .76089E-07    .35060E-02
   3  Prefactor     3.5881        6.1122       -.10976E-06   -.20727E-02
   4  Prefactor     .14433E-08    14.340        .87331E-06** at limit **
   5  norm          .87786        .42384       -.94937E-09   -.34159E-02
   6  Prefactor     .55511E-10    3.5557        .34010E-06** at limit **
   7  Prefactor     11.440        9.8699       -.29013E-07   -.35580E-01
   8  norm          5.7014        4.3698       -.38868E-07   -.13928E-02
   9  norm          8.6299        6.4368       -.32857E-07   -.11798    
  10  norm          .55842        .74785        .81356E-07    .45610E-02
  11  Prefactor      .0000        .50111        .50553E-07** at limit **
  12  Prefactor     18.727        1.1750       -.20153E-08   -.18556E-01
  13  Prefactor     6.2663        22.114        .20003E-06   -.27130E-01
  14  Prefactor      .0000        2.6859       -.94904E-07** at limit **
  15  Normalizat    .97030        .13397        .16298E-05   -.12639E-03
  16  Prefactor     1.0412        .12379       -.23334E-05   -.20363E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.22506
  norm       = 0.448027
  Prefactor  = 3.58806
  Prefactor  = 1.44329e-09
  norm       = 0.877857
  Prefactor  = 5.55112e-11
  Prefactor  = 11.4404
  norm       = 5.70143
  norm       = 8.62992
  norm       = 0.558424
  Prefactor  = 0
  Prefactor  = 18.7268
  Prefactor  = 6.2663
  Prefactor  = 0
  Normalizat = 0.970295
  Prefactor  = 1.04122
 **********
 **   18 **HESSE 
 **********

 FCN=   13387.30     FROM HESSE     STATUS=OK           235 CALLS     1126 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.2251        13.657        .33056E-03   -1.5647    
   2  norm          .44803        .61160        .84070E-04   -1.5695    
   3  Prefactor     3.5881        6.2016        .53328E-03   -1.5670    
   4  Prefactor     .14433E-08    14.388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .87786        .42570        .47314E-03   -1.5689    
   6  Prefactor     .55511E-10    3.5626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.440        10.045        .29599E-03   -1.5640    
   8  norm          5.7014        4.3808        .42045E-03   -1.5660    
   9  norm          8.6299        13.622        .34138E-03   -1.5649    
  10  norm          .55842        .76473        .73051E-03   -1.5693    
  11  Prefactor      .0000        .50113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.727        17.477        .23120E-03   -1.5621    
  13  Prefactor     6.2663        24.810        .40838E-03   -1.5658    
  14  Prefactor      .0000        2.6662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .97030        .11806        .45797E-01   -.94032    
  16  Prefactor     1.0412        .10626        .40455E-01   -.91368    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.55989e-07
Minuit parameter uncertainties:
  1  13.6573
  2  0.611604
  3  6.20163
  4  0.000289985
  5  0.425705
  6  3.0361e-05
  7  10.0455
  8  4.38084
  9  13.6221
  10  0.764733
  11  1.16924e-06
  12  17.4772
  13  24.8105
  14  1.01174e-05
  15  0.118093
  16  0.106278
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  8.630e+00  1.362e+01  0.000e+00  1.000e+06 ( 1.000e-13)
291        alpha:  2.194e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.674e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  9.153e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.041e+00  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  9.703e-01  1.181e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.60
Ra Dec: 137.674 22.798
Photon Flux Upper Limit: 3.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.49e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/667604/likelihoodResults_693187201_693792001_4FGL_J0910.6+2247_weekly_bin751.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) = 13387.0945423
delta logL = 0.206118569255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13387.0852867
delta logL = 0.215374149509

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.1694       1.0000          .0000       .10000E+07
     2 'alpha     '    3.1288       1.0000          .0000       5.0000    
     3 'Normalizat'    .95624       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+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=   13387.09     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      244 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.1656        15.949        .14976E-04   -.74746E-02
   2  alpha         3.1305        1.6105        .27586E-01   -.48440E-04
   3  Normalizat    .95619        .13447        .24511E-03   -.21753E-03
   4  Prefactor     1.0468        .12434        .22160E-03   -.61105E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.16557
  alpha      = 3.13054
  Normalizat = 0.956186
  Prefactor  = 1.04678
 **********
 **   18 **HESSE 
 **********

 FCN=   13387.09     FROM HESSE     STATUS=OK            25 CALLS      269 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.1656        12.066        .59902E-06   -1.5654    
   2  alpha         3.1305        1.2645        .11034E-02    .25497    
   3  Normalizat    .95619        .13298        .98046E-05   -.94513    
   4  Prefactor     1.0468        .12361        .44320E-04   -.91186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.73455e-10
Minuit parameter uncertainties:
  1  12.0661
  2  1.33056
  3  0.133028
  4  0.123647
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/667604': 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) = 13387.0852827
delta logL = 0.215378199266

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  7.166e+00  1.207e+01  0.000e+00  1.000e+06 ( 1.000e-13)
291        alpha:  3.131e+00  1.331e+00  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  1.674e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  9.153e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.047e+00  1.236e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  9.562e-01  1.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.03
Ra Dec: 137.674 22.798
Photon Index (Free Index): 3.13 +/- 1.33
Photon Flux (Free Index): 2.04e-08 +/- 2.98e-08
Energy Flux (Free Index): 4.40e-06 +/- 5.13e-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/667604/cmap_HighResolution_693187201_693792001_4FGL_J0910.6+2247_weekly_bin751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.49e-05', comment='SUCCESS', energy_flux2='4.40e-06', dlogl='2.15e-01', photon_flux2='2.04e-08', job_status='DONE', time_completed='2022-12-27 01:01:30.742359', photon_index_error2='1.33', photon_index2='3.13', ts='0.60', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='3.39e-08', energy_flux_error2='5.13e-06', EG='0.97', time_epoch_completed='1672131690.74', return_code='0', job_id='667604', GAL2='1.05', EG2='0.96', return_code2='0', photon_flux_error2='2.98e-08', ts2='1.03', photon_index='2.19' WHERE bin_id='751' AND source_name='4FGL J0910.6+2247' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 27 01:01:30 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 667604: <4FGL_J0910.6+2247_weekly_bin751> in cluster <slac> Done

Job <4FGL_J0910.6+2247_weekly_bin751> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Dec 27 00:45:30 2022
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 27 00:46:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 27 00:46:30 2022
Terminated at Tue Dec 27 01:01:31 2022
Results reported at Tue Dec 27 01:01:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_weekly_bin751 137.674 22.7978 693187201 693792001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0910.6+2247 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   737.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            961 sec.

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

