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


Performing analysis on: 4FGL_J0905.6+1358_daily_bin1780
RA = 136.402, Dec = 13.975
tmin = 700704001, tmax = 700963201
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='55322', job_status='RUN', time_executed='2023-03-20 00:28:37.024457', time_epoch_executed='1679297317.02' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55322

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55322/ft1_4FGL_J0905.6+1358_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55322/ft2_4FGL_J0905.6+1358_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55322/ft1_4FGL_J0905.6+1358_daily_bin1780.fits outfile=/scratch/kocevski/55322/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin1780.fits ra=136.402 dec=13.975 rad=12.0 tmin=700704001.0 tmax=700963201.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.17
user 2.97
sys 0.18

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

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

Number of photons that the gtmktime cut: 448

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/55322/ft1_filtered_4FGL_J0905.6+1358_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/55322/ft2_4FGL_J0905.6+1358_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/55322/ltcube_700704001_700963201_4FGL_J0905.6+1358_daily_bin1780.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/55322/ft2_4FGL_J0905.6+1358_daily_bin1780.fits
.....................!
real 9.18
user 8.91
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55322/ft1_filtered_4FGL_J0905.6+1358_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/55322/ft2_4FGL_J0905.6+1358_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/55322/ltcube_700704001_700963201_4FGL_J0905.6+1358_daily_bin1780.fits outfile=/scratch/kocevski/55322/expmap_700704001_700963201_4FGL_J0905.6+1358_daily_bin1780.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/55322/ltcube_700704001_700963201_4FGL_J0905.6+1358_daily_bin1780.fits
.....................!
real 147.18
user 143.07
sys 3.87

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/55322/ft1_filtered_4FGL_J0905.6+1358_daily_bin1780.fits scfile=/scratch/kocevski/55322/ft2_4FGL_J0905.6+1358_daily_bin1780.fits outfile=/scratch/kocevski/55322/cmap_700704001_700963201_4FGL_J0905.6+1358_daily_bin1780.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.47
user 0.32
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55322/ft1_filtered_4FGL_J0905.6+1358_daily_bin1780.fits scfile=/scratch/kocevski/55322/ft2_4FGL_J0905.6+1358_daily_bin1780.fits outfile=/scratch/kocevski/55322/cmap_HighResolution_700704001_700963201_4FGL_J0905.6+1358_daily_bin1780.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.47
user 0.32
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55322/ft1_filtered_4FGL_J0905.6+1358_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/55322/ft2_4FGL_J0905.6+1358_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55322/Model_4FGL_J0905.6+1358_daily_bin1780.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/55322/ft1_filtered_4FGL_J0905.6+1358_daily_bin1780.fits.....................!
real 42.26
user 41.18
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/55322/ft1_filtered_4FGL_J0905.6+1358_daily_bin1780.fits', '/scratch/kocevski/55322/ft2_4FGL_J0905.6+1358_daily_bin1780.fits', expMap='/scratch/kocevski/55322/expmap_700704001_700963201_4FGL_J0905.6+1358_daily_bin1780.fits', expCube='/scratch/kocevski/55322/ltcube_700704001_700963201_4FGL_J0905.6+1358_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/55322/Model_4FGL_J0905.6+1358_daily_bin1780.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/55322/ft1_filtered_4FGL_J0905.6+1358_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/55322/ft2_4FGL_J0905.6+1358_daily_bin1780.fits
Exposure map: /scratch/kocevski/55322/expmap_700704001_700963201_4FGL_J0905.6+1358_daily_bin1780.fits
Exposure cube: /scratch/kocevski/55322/ltcube_700704001_700963201_4FGL_J0905.6+1358_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/55322/Model_4FGL_J0905.6+1358_daily_bin1780.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) = 5204.78215451

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.523       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.206       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12236       1.0000          .0000       .10000E+07
     4 'norm      '    1.0153       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10243E-03   1.0000          .0000       .10000E+07
     6 'norm      '    4.6925       1.0000          .0000       .10000E+07
     7 'norm      '    16.724       1.0000          .0000       .10000E+07
     8 'Prefactor '    .36910       1.0000          .0000       .10000E+07
     9 'norm      '    .25491E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .52808       1.0000          .0000       .10000E+07
    11 'Normalizat'    .89251       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .96282       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=   5204.631     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      598 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.533        10.204        .11520E-06    .66986E-01
   2  Prefactor     15.641        10.238        .14872E-06   -.79874E-03
   3  Prefactor     .18138E-05    66.333        .63638E-06** at limit **
   4  norm          1.0137        .65207        .36324E-07   -.25122E-02
   5  Prefactor     .22204E-09    12.860       -.66872E-06** at limit **
   6  norm          4.6330        5.3987       -.20172E-06    .11703E-02
   7  norm          16.364        7.1004        .28316E-06   -.17646    
   8  Prefactor     .31685        8.1302        .87518E-06   -.74717E-03
   9  norm           .0000        2.9481       -.10950E-06** at limit **
  10  Prefactor     .56894E-05    151.17        .47465E-05** at limit **
  11  Normalizat    .89131        .22432        .62825E-05   -.11486E-03
  12  Prefactor     .96380        .18541       -.78029E-05   -.70950E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.5329
  Prefactor  = 15.641
  Prefactor  = 1.81377e-06
  norm       = 1.01368
  Prefactor  = 2.22045e-10
  norm       = 4.63297
  norm       = 16.3637
  Prefactor  = 0.316852
  norm       = 0
  Prefactor  = 5.68939e-06
  Normalizat = 0.891314
  Prefactor  = 0.963804
 **********
 **   18 **HESSE 
 **********

 FCN=   5204.631     FROM HESSE     STATUS=OK           165 CALLS      763 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.533        15.804        .22081E-03   -1.5617    
   2  Prefactor     15.641        10.241        .25659E-03   -1.5629    
   3  Prefactor     .18138E-05    114.64        .13364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.0137        .65369        .10134E-02   -1.5688    
   5  Prefactor     .22204E-09    12.949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.6330        5.4011        .46431E-03   -1.5665    
   7  norm          16.364        27.094        .24464E-03   -1.5627    
   8  Prefactor     .31685        2.3462        .57893E-02   -1.5697    
   9  norm           .0000        1.0893        .25815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .56894E-05    155.23        .75934E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    .89131        .18946        .44806E-01   -.96766    
  12  Prefactor     .96380        .15556        .45801E-01   -.93946    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48887e-06
Minuit parameter uncertainties:
  1  15.8044
  2  10.2412
  3  0.02884
  4  0.65369
  5  0.000112313
  6  5.40112
  7  27.0944
  8  1.72439
  9  4.78809e-06
  10  0.059438
  11  0.189606
  12  0.155634
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  4.633e+00  5.401e+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.638e-01  1.556e-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:  8.913e-01  1.896e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.95
Ra Dec: 136.402 13.975
Photon Index (Fixed Index): 1.59 +/- 0.00
Photon Flux (Fixed Index): 7.51e-09 +/- 8.76e-09
Energy Flux (Fixed Index): 1.63e-05 +/- 1.90e-05

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

Saving results to:
/scratch/kocevski/55322/likelihoodResults_700704001_700963201_4FGL_J0905.6+1358_daily_bin1780.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) = 5204.57472145
delta logL = 0.0566626471145

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5204.57374147
delta logL = 0.0576426215903

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3968       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9081       1.0000          .0000       5.0000    
     3 'Normalizat'    .88994       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96232       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5204.574     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      227 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3976        5.3505        .16557E-04   -.13124E-01
   2  alpha         1.9092        .92613        .17766E-01   -.12502E-03
   3  Normalizat    .88989        .21889        .25733E-03    .37410E-03
   4  Prefactor     .96237        .18441        .20794E-03    .53307E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.39756
  alpha      = 1.90922
  Normalizat = 0.889892
  Prefactor  = 0.96237
 **********
 **   18 **HESSE 
 **********

 FCN=   5204.574     FROM HESSE     STATUS=OK            23 CALLS      250 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3976        5.2667        .33113E-05   -1.5666    
   2  alpha         1.9092        .91224        .71066E-03   -.23857    
   3  Normalizat    .88989        .21904        .51465E-04   -.96816    
   4  Prefactor     .96237        .18459        .41588E-04   -.93995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83875e-09
Minuit parameter uncertainties:
  1  5.2667
  2  0.935172
  3  0.219264
  4  0.184706
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55322': 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) = 5204.5737405
delta logL = 0.0576435903877

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  4.398e+00  5.267e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        alpha:  1.909e+00  9.352e-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.624e-01  1.847e-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:  8.899e-01  2.193e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.07
Ra Dec: 136.402 13.975
Photon Index (Free Index): 1.91 +/- 0.94
Photon Flux (Free Index): 1.15e-08 +/- 1.92e-08
Energy Flux (Free Index): 1.23e-05 +/- 1.63e-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/55322/cmap_HighResolution_700704001_700963201_4FGL_J0905.6+1358_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.02e-05', comment='SUCCESS', photon_flux='7.51e-09', energy_flux2='1.23e-05', photon_flux_error='8.76e-09', dlogl='5.76e-02', energy_flux='1.63e-05', photon_flux2='1.15e-08', job_status='DONE', time_completed='2023-03-20 00:34:10.773484', photon_index_error2='0.94', photon_index2='1.91', ts='1.95', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='3.70e-08', energy_flux_error2='1.63e-05', EG='0.89', time_epoch_completed='1679297650.77', return_code='0', job_id='55322', GAL2='0.96', EG2='0.89', return_code2='0', energy_flux_error='1.90e-05', photon_flux_error2='1.92e-08', ts2='2.07', photon_index='1.59' WHERE bin_id='1780' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:34:10 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0168>
Subject: Job 55322: <4FGL_J0905.6+1358_daily_bin1780> in cluster <slac> Done

Job <4FGL_J0905.6+1358_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:25:25 2023
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:25:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:25:26 2023
Terminated at Mon Mar 20 00:34:11 2023
Results reported at Mon Mar 20 00:34:11 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin1780 136.402 13.975 700704001 700963201 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 :                                   335.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   525 sec.
    Turnaround time :                            526 sec.

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

