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


Performing analysis on: 4FGL_J0902.4+2051_daily_bin1752
RA = 135.617, Dec = 20.8503
tmin = 693446401, tmax = 693705601
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='259114', job_status='RUN', time_executed='2022-12-26 00:40:51.167834', time_epoch_executed='1672044051.17' WHERE source_name='4FGL J0902.4+2051' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/259114

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/259114/ft1_4FGL_J0902.4+2051_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/259114/ft2_4FGL_J0902.4+2051_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/259114/ft1_4FGL_J0902.4+2051_daily_bin1752.fits outfile=/scratch/kocevski/259114/ft1_filteredMKT_4FGL_J0902.4+2051_daily_bin1752.fits ra=135.617 dec=20.8503 rad=12.0 tmin=693446401.0 tmax=693705601.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.50
user 3.21
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/259114/ft2_4FGL_J0902.4+2051_daily_bin1752.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/259114/ft2_4FGL_J0902.4+2051_daily_bin1752.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/259114/ft1_filteredMKT_4FGL_J0902.4+2051_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/259114/ft1_filtered_4FGL_J0902.4+2051_daily_bin1752.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.56
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 525

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/259114/ft1_filtered_4FGL_J0902.4+2051_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/259114/ft2_4FGL_J0902.4+2051_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/259114/ltcube_693446401_693705601_4FGL_J0902.4+2051_daily_bin1752.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/259114/ft2_4FGL_J0902.4+2051_daily_bin1752.fits
.....................!
real 13.12
user 12.51
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/259114/ft1_filtered_4FGL_J0902.4+2051_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/259114/ft2_4FGL_J0902.4+2051_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/259114/ltcube_693446401_693705601_4FGL_J0902.4+2051_daily_bin1752.fits outfile=/scratch/kocevski/259114/expmap_693446401_693705601_4FGL_J0902.4+2051_daily_bin1752.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/259114/ltcube_693446401_693705601_4FGL_J0902.4+2051_daily_bin1752.fits
.....................!
real 195.77
user 188.24
sys 5.48

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

Setting source of interest to:
4FGL J0902.4+2051 @ 135.617 20.8503

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/259114/ft1_filtered_4FGL_J0902.4+2051_daily_bin1752.fits scfile=/scratch/kocevski/259114/ft2_4FGL_J0902.4+2051_daily_bin1752.fits outfile=/scratch/kocevski/259114/cmap_693446401_693705601_4FGL_J0902.4+2051_daily_bin1752.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=135.617 yref=20.8503 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/259114/ft1_filtered_4FGL_J0902.4+2051_daily_bin1752.fits scfile=/scratch/kocevski/259114/ft2_4FGL_J0902.4+2051_daily_bin1752.fits outfile=/scratch/kocevski/259114/cmap_HighResolution_693446401_693705601_4FGL_J0902.4+2051_daily_bin1752.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=135.617 yref=20.8503 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/259114/ft1_filtered_4FGL_J0902.4+2051_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/259114/ft2_4FGL_J0902.4+2051_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/259114/Model_4FGL_J0902.4+2051_daily_bin1752.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/259114/ft1_filtered_4FGL_J0902.4+2051_daily_bin1752.fits.....................!
real 55.60
user 54.06
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/259114/ft1_filtered_4FGL_J0902.4+2051_daily_bin1752.fits', '/scratch/kocevski/259114/ft2_4FGL_J0902.4+2051_daily_bin1752.fits', expMap='/scratch/kocevski/259114/expmap_693446401_693705601_4FGL_J0902.4+2051_daily_bin1752.fits', expCube='/scratch/kocevski/259114/ltcube_693446401_693705601_4FGL_J0902.4+2051_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/259114/Model_4FGL_J0902.4+2051_daily_bin1752.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0902.4+2051'

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  7.653e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
299        Index:  2.145e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/259114/ft1_filtered_4FGL_J0902.4+2051_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/259114/ft2_4FGL_J0902.4+2051_daily_bin1752.fits
Exposure map: /scratch/kocevski/259114/expmap_693446401_693705601_4FGL_J0902.4+2051_daily_bin1752.fits
Exposure cube: /scratch/kocevski/259114/ltcube_693446401_693705601_4FGL_J0902.4+2051_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/259114/Model_4FGL_J0902.4+2051_daily_bin1752.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) = 5848.62248959

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27104E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .70336       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25919E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20470E-01   1.0000          .0000       .10000E+07
     5 'norm      '    .52182       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17554E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .60708E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .11707E-06   1.0000          .0000       .10000E+07
     9 'norm      '    7.1102       1.0000          .0000       .10000E+07
    10 'norm      '    .40553       1.0000          .0000       .10000E+07
    11 'Prefactor '    .53846E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    14.792       1.0000          .0000       .10000E+07
    13 'Prefactor '    .88377E-02   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.1872       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .98389       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5848.575     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      839 TOTAL
                     EDM=   .60E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.4330        .15564E-07** at limit **
   2  norm          .70344        .80055        .77799E-08    .20233E-03
   3  Prefactor     .33862E-08    10.326       -.52774E-07** at limit **
   4  Prefactor      .0000        52.384       -.38788E-06** at limit **
   5  norm          .52254        .49101        .35920E-08    .21786E-03
   6  Prefactor      .0000        5.4142        .17766E-07** at limit **
   7  Prefactor     .26645E-08    56.735       -.19494E-06** at limit **
   8  norm          .42744E-08    10.417       -.13475E-07** at limit **
   9  norm          6.9586        1.5669       -.49731E-09   -.12653E-01
  10  norm          .40494        1.2204        .11426E-07    .56294E-04
  11  Prefactor      .0000        1.2890        .13504E-07** at limit **
  12  Prefactor     14.509        3.1945       -.49072E-08    .36125E-01
  13  Prefactor     .74940E-08    29.763       -.20774E-07** at limit **
  14  Normalizat    1.1878        .21070       -.13858E-05    .10442E-04
  15  Prefactor     .98372        .18854       -.10308E-05    .38659E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.703435
  Prefactor  = 3.38618e-09
  Prefactor  = 0
  norm       = 0.522538
  Prefactor  = 0
  Prefactor  = 2.66454e-09
  norm       = 4.27436e-09
  norm       = 6.95857
  norm       = 0.404937
  Prefactor  = 0
  Prefactor  = 14.5089
  Prefactor  = 7.49401e-09
  Normalizat = 1.18775
  Prefactor  = 0.983717
 **********
 **   18 **HESSE 
 **********

 FCN=   5848.575     FROM HESSE     STATUS=OK           208 CALLS     1047 TOTAL
                     EDM=   .71E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.4395        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .70344        .80948        .60436E-03   -1.5691    
   3  Prefactor     .33862E-08    10.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        51.895        .17006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .52254        .48080        .76544E-03   -1.5694    
   6  Prefactor      .0000        5.4208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .26645E-08    56.687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .42744E-08    10.413        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.9586        32.769        .37596E-03   -1.5655    
  10  norm          .40494        1.2368        .88849E-03   -1.5695    
  11  Prefactor      .0000        1.2859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.509        23.419        .26016E-03   -1.5632    
  13  Prefactor     .74940E-08    30.100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.1878        .17709        .53234E-01   -.86982    
  15  Prefactor     .98372        .15786        .46065E-01   -.93274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.13438e-08
Minuit parameter uncertainties:
  1  1.26261e-05
  2  0.809483
  3  0.000374596
  4  1.5594e-05
  5  0.480805
  6  6.89828e-07
  7  0.000773681
  8  0.000422276
  9  30.2012
  10  1.23676
  11  2.01243e-07
  12  23.4191
  13  0.000950113
  14  0.177175
  15  0.157931
Done.

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

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  0.000e+00  6.898e-07  0.000e+00  1.000e+06 ( 1.000e-13)
299        Index:  2.145e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.837e-01  1.579e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.188e+00  1.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 135.617 20.850
Photon Flux Upper Limit: 5.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/259114/likelihoodResults_693446401_693705601_4FGL_J0902.4+2051_daily_bin1752.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) = 5848.57609423
delta logL = -0.00150477426814

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5848.57458948
delta logL = -2.34713297687e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52847E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .91344       1.0000          .0000       10.000    
     3 'Normalizat'    1.1878       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5848.575     FROM MIGRAD    STATUS=CONVERGED     26 CALLS      221 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66058E-08    5.4287        .13253E-05** at limit **
   2  Index         2.1679        2.6444       -.61534E-04    .55819E-09
   3  Normalizat    1.1878        .20891        .63694E-04   -.79020E-03
   4  Prefactor     .98372        .18707       -.28902E-04   -.64001E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.60583e-09
  Index      = 2.16794
  Normalizat = 1.18775
  Prefactor  = 0.983718
 **********
 **   18 **HESSE 
 **********

 FCN=   5848.575     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      256 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66058E-08    .26451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1679        8.8886        .45176       -.60215    
   3  Normalizat    1.1878        .10047E-02    .53234E-01   -.86982    
   4  Prefactor     .98372        .90174E-03    .46063E-01   -.93274    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.59661e-11
Minuit parameter uncertainties:
  1  8.34603e-05
  2  2865.51
  3  0.00100467
  4  0.000901736
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/259114': 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): 102
logL (Free Index) = 5848.57458946
delta logL = -9.32232069317e-10

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  6.606e-09  8.346e-05  0.000e+00  1.000e+06 ( 1.000e-13)
299        Index:  2.168e+00  2.866e+03  0.000e+00  1.000e+01 (-1.000e+00)
300        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.837e-01  9.017e-04  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.188e+00  1.005e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 135.617 20.850

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/259114/cmap_HighResolution_693446401_693705601_4FGL_J0902.4+2051_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='5.98e-08', time_completed='2022-12-26 00:48:37.315213', job_id='259114', GAL2='0.98', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1672044517.32', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='-9.32e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1752' AND source_name='4FGL J0902.4+2051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:48:37 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 259114: <4FGL_J0902.4+2051_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0902.4+2051_daily_bin1752> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec 26 00:40:13 2022
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:40:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:40:26 2022
Terminated at Mon Dec 26 00:48:38 2022
Results reported at Mon Dec 26 00:48:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0902.4+2051_daily_bin1752 135.617 20.8503 693446401 693705601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0902.4+2051 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   465.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             366.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   491 sec.
    Turnaround time :                            505 sec.

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

