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 194 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_J0905.6+1358_weekly_bin751
RA = 136.402, Dec = 13.975
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='667597', job_status='RUN', time_executed='2022-12-27 00:49:43.180361', time_epoch_executed='1672130983.18' WHERE source_name='4FGL J0905.6+1358' and cadence='weekly' and bin_id='751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/667597

Creating custom pfile directory:
/scratch/kocevski/667597/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/667597/ft1_4FGL_J0905.6+1358_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/667597/ft2_4FGL_J0905.6+1358_weekly_bin751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/667597/ft1_4FGL_J0905.6+1358_weekly_bin751.fits outfile=/scratch/kocevski/667597/ft1_filteredMKT_4FGL_J0905.6+1358_weekly_bin751.fits ra=136.402 dec=13.975 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.68
user 7.29
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/667597/ft2_4FGL_J0905.6+1358_weekly_bin751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/667597/ft2_4FGL_J0905.6+1358_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/667597/ft1_filteredMKT_4FGL_J0905.6+1358_weekly_bin751.fits evtable="EVENTS" outfile="/scratch/kocevski/667597/ft1_filtered_4FGL_J0905.6+1358_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.58
user 0.40
sys 0.15

Number of photons that the gtmktime cut: 1233

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/667597/ft1_filtered_4FGL_J0905.6+1358_weekly_bin751.fits" evtable="EVENTS" scfile=/scratch/kocevski/667597/ft2_4FGL_J0905.6+1358_weekly_bin751.fits sctable="SC_DATA" outfile=/scratch/kocevski/667597/ltcube_693187201_693792001_4FGL_J0905.6+1358_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/667597/ft2_4FGL_J0905.6+1358_weekly_bin751.fits
.....................!
real 38.45
user 37.46
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/667597/ft1_filtered_4FGL_J0905.6+1358_weekly_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/667597/ft2_4FGL_J0905.6+1358_weekly_bin751.fits sctable="SC_DATA" expcube=/scratch/kocevski/667597/ltcube_693187201_693792001_4FGL_J0905.6+1358_weekly_bin751.fits outfile=/scratch/kocevski/667597/expmap_693187201_693792001_4FGL_J0905.6+1358_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/667597/ltcube_693187201_693792001_4FGL_J0905.6+1358_weekly_bin751.fits
.....................!
real 197.36
user 189.35
sys 5.54

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

Setting source of interest to:
4FGL J0905.6+1358 @ 136.402 13.975

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/667597/ft1_filtered_4FGL_J0905.6+1358_weekly_bin751.fits scfile=/scratch/kocevski/667597/ft2_4FGL_J0905.6+1358_weekly_bin751.fits outfile=/scratch/kocevski/667597/cmap_693187201_693792001_4FGL_J0905.6+1358_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=136.402 yref=13.975 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.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/667597/ft1_filtered_4FGL_J0905.6+1358_weekly_bin751.fits scfile=/scratch/kocevski/667597/ft2_4FGL_J0905.6+1358_weekly_bin751.fits outfile=/scratch/kocevski/667597/cmap_HighResolution_693187201_693792001_4FGL_J0905.6+1358_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=136.402 yref=13.975 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.42
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/667597/ft1_filtered_4FGL_J0905.6+1358_weekly_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/667597/ft2_4FGL_J0905.6+1358_weekly_bin751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/667597/Model_4FGL_J0905.6+1358_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/667597/ft1_filtered_4FGL_J0905.6+1358_weekly_bin751.fits.....................!
real 126.79
user 123.96
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/667597/ft1_filtered_4FGL_J0905.6+1358_weekly_bin751.fits', '/scratch/kocevski/667597/ft2_4FGL_J0905.6+1358_weekly_bin751.fits', expMap='/scratch/kocevski/667597/expmap_693187201_693792001_4FGL_J0905.6+1358_weekly_bin751.fits', expCube='/scratch/kocevski/667597/ltcube_693187201_693792001_4FGL_J0905.6+1358_weekly_bin751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/667597/Model_4FGL_J0905.6+1358_weekly_bin751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0905.6+1358'

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  1.799e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        alpha:  1.592e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.283e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  2.458e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/667597/ft1_filtered_4FGL_J0905.6+1358_weekly_bin751.fits
Spacecraft file(s): /scratch/kocevski/667597/ft2_4FGL_J0905.6+1358_weekly_bin751.fits
Exposure map: /scratch/kocevski/667597/expmap_693187201_693792001_4FGL_J0905.6+1358_weekly_bin751.fits
Exposure cube: /scratch/kocevski/667597/ltcube_693187201_693792001_4FGL_J0905.6+1358_weekly_bin751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/667597/Model_4FGL_J0905.6+1358_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) = 13949.0502058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6639       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15610E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .24769E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .79841       1.0000          .0000       .10000E+07
     5 'Prefactor '    .76550E-06   1.0000          .0000       .10000E+07
     6 'norm      '    5.5691       1.0000          .0000       .10000E+07
     7 'norm      '    8.0445       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10436E-06   1.0000          .0000       .10000E+07
     9 'norm      '    1.2680       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.2357       1.0000          .0000       .10000E+07
    11 'Normalizat'    1.1883       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .93712       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13949.01     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      611 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6537        5.3323       -.40255E-06   -.30010E-02
   2  Prefactor     .28688E-06    35.161       -.52451E-05** at limit **
   3  Prefactor     .24425E-08    6.7025        .57532E-06** at limit **
   4  norm          .79845        .40248       -.46533E-07   -.26854E-01
   5  Prefactor      .0000        3.1343        .71415E-06** at limit **
   6  norm          5.5763        4.2898        .29085E-06   -.48977E-03
   7  norm          8.0240        1.0190       -.20457E-07   -.11259    
   8  Prefactor      .0000        2.6303       -.54331E-06** at limit **
   9  norm          1.2687        .79591       -.14638E-07   -.95741E-02
  10  Prefactor     3.5732        2.3137        .47283E-06    .62516E-01
  11  Normalizat    1.1879        .14391       -.20651E-04   -.58199E-03
  12  Prefactor     .93723        .12090        .12585E-04   -.31997E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.65373
  Prefactor  = 2.86882e-07
  Prefactor  = 2.44249e-09
  norm       = 0.798446
  Prefactor  = 0
  norm       = 5.5763
  norm       = 8.02403
  Prefactor  = 0
  norm       = 1.26869
  Prefactor  = 3.57323
  Normalizat = 1.18794
  Prefactor  = 0.937234
 **********
 **   18 **HESSE 
 **********

 FCN=   13949.01     FROM HESSE     STATUS=OK           155 CALLS      766 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6537        5.3651        .81734E-03   -1.5682    
   2  Prefactor     .28688E-06    33.795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .24425E-08    6.8008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .79845        .40211        .53053E-03   -1.5690    
   5  Prefactor      .0000        3.1332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.5763        4.3009        .42548E-03   -1.5661    
   7  norm          8.0240        13.166        .35326E-03   -1.5651    
   8  Prefactor      .0000        2.5748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2687        .80275        .98830E-03   -1.5685    
  10  Prefactor     3.5732        48.558        .56286E-03   -1.5670    
  11  Normalizat    1.1879        .12128        .55132E-01   -.86976    
  12  Prefactor     .93723        .10017        .45476E-01   -.94852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7051e-06
Minuit parameter uncertainties:
  1  5.36515
  2  0.00622759
  3  0.000258711
  4  0.402111
  5  1.83212e-05
  6  4.30091
  7  13.1663
  8  5.09196e-06
  9  0.802752
  10  26.3448
  11  0.121313
  12  0.100187
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  5.576e+00  4.301e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        alpha:  1.592e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.283e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  2.458e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.372e-01  1.002e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.188e+00  1.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.30
Ra Dec: 136.402 13.975
Photon Index (Fixed Index): 1.59 +/- 0.00
Photon Flux (Fixed Index): 9.04e-09 +/- 6.97e-09
Energy Flux (Fixed Index): 1.96e-05 +/- 1.51e-05

TS (Fixed Index): 3.30
Ra Dec: 136.402 13.975
Photon Flux Upper Limit: 2.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.60e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/667597/likelihoodResults_693187201_693792001_4FGL_J0905.6+1358_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) = 13948.5442296
delta logL = 0.461379349235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13948.5433248
delta logL = 0.462284125349

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5016       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1544       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1819       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93648       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13948.54     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      275 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5011        67.672        .47429E-03    .43225E-02
   2  alpha         2.1543        3.5519        .26850        .11288E-03
   3  Normalizat    1.1819        .59068E-01    .55248E-01    .26641E-03
   4  Prefactor     .93652        .38613E-01    .45468E-01    .38412E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.50112
  alpha      = 2.15427
  Normalizat = 1.18186
  Prefactor  = 0.936523
 **********
 **   18 **HESSE 
 **********

 FCN=   13948.54     FROM HESSE     STATUS=OK            33 CALLS      308 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5011        4.3072        .16286E-04   -1.5666    
   2  alpha         2.1543        .63372        .16097E-01   -.13874    
   3  Normalizat    1.1819        .14311        .24430E-03   -.87165    
   4  Prefactor     .93652        .12004        .22652E-03   -.94876    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42863e-08
Minuit parameter uncertainties:
  1  4.3072
  2  0.640851
  3  0.143158
  4  0.120071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/667597': 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) = 13948.5433246
delta logL = 0.462284331014

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  4.501e+00  4.307e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        alpha:  2.154e+00  6.409e-01  0.000e+00  5.000e+00 ( 1.000e+00)
284         beta:  1.283e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  2.458e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.365e-01  1.201e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.182e+00  1.432e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.22
Ra Dec: 136.402 13.975
Photon Index (Free Index): 2.15 +/- 0.64
Photon Flux (Free Index): 1.88e-08 +/- 1.70e-08
Energy Flux (Free Index): 1.26e-05 +/- 1.04e-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/667597/cmap_HighResolution_693187201_693792001_4FGL_J0905.6+1358_weekly_bin751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.60e-05', comment='SUCCESS', photon_flux='9.04e-09', energy_flux2='1.26e-05', photon_flux_error='6.97e-09', dlogl='4.62e-01', energy_flux='1.96e-05', photon_flux2='1.88e-08', job_status='DONE', time_completed='2022-12-27 01:01:20.589565', photon_index_error2='0.64', photon_index2='2.15', ts='3.30', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='2.58e-08', energy_flux_error2='1.04e-05', EG='1.19', time_epoch_completed='1672131680.59', return_code='0', job_id='667597', GAL2='0.94', EG2='1.18', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='1.70e-08', ts2='4.22', photon_index='1.59' WHERE bin_id='751' AND source_name='4FGL J0905.6+1358' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 27 01:01:20 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 667597: <4FGL_J0905.6+1358_weekly_bin751> in cluster <slac> Done

Job <4FGL_J0905.6+1358_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) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 27 00:46:20 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:20 2022
Terminated at Tue Dec 27 01:01:21 2022
Results reported at Tue Dec 27 01:01:21 2022

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   690.05 sec.
    Max Memory :                                 1061 MB
    Average Memory :                             300.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            951 sec.

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

