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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1716
RA = 343.496, Dec = 16.1506
tmin = 684115201, tmax = 684374401
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='253570', job_status='RUN', time_executed='2022-09-17 00:22:31.623565', time_epoch_executed='1663399351.62' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253570

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253570/ft1_4FGL_J2253.9+1609_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253570/ft2_4FGL_J2253.9+1609_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253570/ft1_4FGL_J2253.9+1609_daily_bin1716.fits outfile=/scratch/kocevski/253570/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1716.fits ra=343.496 dec=16.1506 rad=12.0 tmin=684115201.0 tmax=684374401.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 4.11
user 3.86
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/253570/ft2_4FGL_J2253.9+1609_daily_bin1716.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/253570/ft2_4FGL_J2253.9+1609_daily_bin1716.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/253570/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/253570/ft1_filtered_4FGL_J2253.9+1609_daily_bin1716.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.53
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 737

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253570/ft1_filtered_4FGL_J2253.9+1609_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/253570/ft2_4FGL_J2253.9+1609_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/253570/ltcube_684115201_684374401_4FGL_J2253.9+1609_daily_bin1716.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/253570/ft2_4FGL_J2253.9+1609_daily_bin1716.fits
.....................!
real 14.88
user 14.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253570/ft1_filtered_4FGL_J2253.9+1609_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/253570/ft2_4FGL_J2253.9+1609_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/253570/ltcube_684115201_684374401_4FGL_J2253.9+1609_daily_bin1716.fits outfile=/scratch/kocevski/253570/expmap_684115201_684374401_4FGL_J2253.9+1609_daily_bin1716.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/253570/ltcube_684115201_684374401_4FGL_J2253.9+1609_daily_bin1716.fits
.....................!
real 194.83
user 187.10
sys 4.92

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

Setting source of interest to:
4FGL J2253.9+1609 @ 343.496 16.1506

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/253570/ft1_filtered_4FGL_J2253.9+1609_daily_bin1716.fits scfile=/scratch/kocevski/253570/ft2_4FGL_J2253.9+1609_daily_bin1716.fits outfile=/scratch/kocevski/253570/cmap_684115201_684374401_4FGL_J2253.9+1609_daily_bin1716.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=343.496 yref=16.1506 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 2.75
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253570/ft1_filtered_4FGL_J2253.9+1609_daily_bin1716.fits scfile=/scratch/kocevski/253570/ft2_4FGL_J2253.9+1609_daily_bin1716.fits outfile=/scratch/kocevski/253570/cmap_HighResolution_684115201_684374401_4FGL_J2253.9+1609_daily_bin1716.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=343.496 yref=16.1506 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.79
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/253570/ft1_filtered_4FGL_J2253.9+1609_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/253570/ft2_4FGL_J2253.9+1609_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/253570/Model_4FGL_J2253.9+1609_daily_bin1716.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/253570/ft1_filtered_4FGL_J2253.9+1609_daily_bin1716.fits.....................!
real 106.55
user 90.41
sys 1.40

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/253570/ft1_filtered_4FGL_J2253.9+1609_daily_bin1716.fits', '/scratch/kocevski/253570/ft2_4FGL_J2253.9+1609_daily_bin1716.fits', expMap='/scratch/kocevski/253570/expmap_684115201_684374401_4FGL_J2253.9+1609_daily_bin1716.fits', expCube='/scratch/kocevski/253570/ltcube_684115201_684374401_4FGL_J2253.9+1609_daily_bin1716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/253570/Model_4FGL_J2253.9+1609_daily_bin1716.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2253.9+1609'

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  5.306e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/253570/ft1_filtered_4FGL_J2253.9+1609_daily_bin1716.fits
Spacecraft file(s): /scratch/kocevski/253570/ft2_4FGL_J2253.9+1609_daily_bin1716.fits
Exposure map: /scratch/kocevski/253570/expmap_684115201_684374401_4FGL_J2253.9+1609_daily_bin1716.fits
Exposure cube: /scratch/kocevski/253570/ltcube_684115201_684374401_4FGL_J2253.9+1609_daily_bin1716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/253570/Model_4FGL_J2253.9+1609_daily_bin1716.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) = 8023.78403379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2142       1.0000          .0000       .10000E+07
     2 'norm      '    .51070E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .40971E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .35036E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .54572       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.829       1.0000         .10000E-03   10000.    
     7 'norm      '    1.3597       1.0000          .0000       .10000E+07
     8 'Prefactor '    16.051       1.0000          .0000       .10000E+07
     9 'Prefactor '    17.621       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.6532       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.333       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36370E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.2725       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.4151       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11504E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.6628       1.0000          .0000       .10000E+07
    17 'norm      '    .92566E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .75617       1.0000          .0000       .10000E+07
    19 'norm      '    .55750E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2683       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .81352       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8023.752     FROM MIGRAD    STATUS=CONVERGED    104 CALLS     1265 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2788        1.4430       -.18519E-06    .11969E-01
   2  norm           .0000        1.6963       -.49327E-06** at limit **
   3  Prefactor     .49960E-09    10.074       -.13520E-05** at limit **
   4  Prefactor     .61062E-09    2.6660       -.71617E-07** at limit **
   5  Prefactor     .54589        .21121       -.45036E-06   -.11662E-02
   6  Prefactor     11.805        4.9906        .81514E-05    .55450E-02
   7  norm          1.3592        1.3716        .62453E-08   -.19887E-02
   8  Prefactor     16.077        1.0051       -.54902E-08    .45339E-03
   9  Prefactor     17.656        3.1262       -.30252E-07    .40266E-01
  10  Prefactor     2.6531        .29621       -.65137E-07    .61343E-04
  11  Prefactor     11.119        1.8856       -.19193E-06    .93309E-02
  12  Prefactor     .55511E-10    4.4035        .90205E-06** at limit **
  13  Prefactor     5.3712        2.6742       -.49251E-06    .25395E-01
  14  Prefactor     1.4535        7.2284        .44396E-06   -.71407E-03
  15  Prefactor     .37192E-08    19.156       -.22371E-05** at limit **
  16  Prefactor     9.7497        1.6100       -.89539E-07    .44418E-02
  17  norm          .22204E-09    2.8340       -.79876E-07** at limit **
  18  Prefactor     .76351        3.5718        .19524E-05   -.14019E-01
  19  norm          .22204E-09    11.055        .67781E-06** at limit **
  20  Normalizat    1.2678        .27394        .13044E-04    .10202E-03
  21  Prefactor     .81351        .14543       -.50943E-05    .21325E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.2788
  norm       = 0
  Prefactor  = 4.996e-10
  Prefactor  = 6.10623e-10
  Prefactor  = 0.54589
  Prefactor  = 11.8052
  norm       = 1.35916
  Prefactor  = 16.0773
  Prefactor  = 17.6564
  Prefactor  = 2.65315
  Prefactor  = 11.1188
  Prefactor  = 5.55112e-11
  Prefactor  = 5.37122
  Prefactor  = 1.45346
  Prefactor  = 3.71925e-09
  Prefactor  = 9.74973
  norm       = 2.22045e-10
  Prefactor  = 0.763513
  norm       = 2.22045e-10
  Normalizat = 1.26785
  Prefactor  = 0.813514
 **********
 **   18 **HESSE 
 **********

 FCN=   8023.752     FROM HESSE     STATUS=OK           363 CALLS     1628 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2788        24.676        .40246E-03   -1.5658    
   2  norm           .0000        1.6959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .49960E-09    10.319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .61062E-09    2.6829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .54589        .21301        .55348E-02   -1.5560    
   6  Prefactor     11.805        7.5547        .29119E-02   -1.5021    
   7  norm          1.3592        1.4077        .93639E-03   -1.5685    
   8  Prefactor     16.077        16.674        .24973E-03   -1.5628    
   9  Prefactor     17.656        13.405        .23832E-03   -1.5624    
  10  Prefactor     2.6531        .29685        .34819E-02   -1.5382    
  11  Prefactor     11.119        21.112        .29734E-03   -1.5641    
  12  Prefactor     .55511E-10    4.3933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.3712        29.350        .43749E-03   -1.5662    
  14  Prefactor     1.4535        8.5164        .90977E-03   -1.5684    
  15  Prefactor     .37192E-08    19.185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.7497        18.067        .32213E-03   -1.5646    
  17  norm          .22204E-09    2.8496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .76351        6.0977        .56261E-03   -1.5690    
  19  norm          .22204E-09    11.480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2678        .23323        .76532E-01   -.84531    
  21  Prefactor     .81351        .12231        .43893E-01   -.99232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58685e-06
Minuit parameter uncertainties:
  1  24.6759
  2  6.04121e-06
  3  0.000141608
  4  8.19338e-05
  5  0.213008
  6  7.55532
  7  1.40768
  8  16.6742
  9  13.4051
  10  0.296853
  11  21.112
  12  3.21196e-05
  13  25.1116
  14  7.03654
  15  0.000535093
  16  18.0673
  17  4.75259e-05
  18  4.31541
  19  0.000103225
  20  0.23342
  21  0.122352
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  2.653e+00  2.969e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  8.135e-01  1.224e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  1.268e+00  2.334e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 263.07
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 9.68e-07 +/- 1.08e-07
Energy Flux (Fixed Index): 3.11e-04 +/- 3.48e-05

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) = 8022.99543091
delta logL = 0.756171406596

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8022.99177418
delta logL = 0.759828141035

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4395       1.0000         .10000E-03   10000.    
     2 'Index1    '    1.8688       1.0000          .0000       10.000    
     3 'Normalizat'    1.3397       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78749       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8022.992     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      199 TOTAL
                     EDM=   .61E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4396        .31365        .34038E-02   -.64294E-04
   2  Index1        1.8687        .11228        .50170E-01   -.80569E-04
   3  Normalizat    1.3399        .22909        .74981E-01    .10588E-04
   4  Prefactor     .78742        .12194        .43554E-01    .15939E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.43961
  Index1     = 1.86875
  Normalizat = 1.33988
  Prefactor  = 0.787421
 **********
 **   18 **HESSE 
 **********

 FCN=   8022.992     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .43E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4396        .33667        .15044E-04   -1.5396    
   2  Index1        1.8687        .12089        .22112E-03   -.67673    
   3  Normalizat    1.3399        .27627        .33182E-03   -.82384    
   4  Prefactor     .78742        .14632        .22633E-03   -1.0019    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25519e-14
Minuit parameter uncertainties:
  1  0.33667
  2  0.12091
  3  0.276572
  4  0.146387
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253570': 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) = 8022.99177375
delta logL = 0.759828561955

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  2.440e+00  3.367e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  1.869e+00  1.209e-01  0.000e+00  1.000e+01 (-1.000e+00)
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  7.874e-01  1.464e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  1.340e+00  2.766e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 264.49
Ra Dec: 343.496 16.151
Photon Index (Free Index): 1.87 +/- 0.12
Photon Flux (Free Index): 8.86e-07 +/- 1.21e-07
Energy Flux (Free Index): 3.33e-04 +/- 4.28e-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/253570/cmap_HighResolution_684115201_684374401_4FGL_J2253.9+1609_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.68e-07', energy_flux2='3.33e-04', photon_flux_error='1.08e-07', dlogl='7.60e-01', energy_flux='3.11e-04', photon_flux2='8.86e-07', job_status='DONE', time_completed='2022-09-17 00:32:11.320588', photon_index_error2='0.12', photon_index2='1.87', ts='263.07', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='4.28e-05', EG='1.27', time_epoch_completed='1663399931.32', return_code='0', job_id='253570', GAL2='0.79', EG2='1.34', return_code2='0', energy_flux_error='3.48e-05', photon_flux_error2='1.21e-07', ts2='264.49', photon_index='2.02' WHERE bin_id='1716' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:32:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 253570: <4FGL_J2253.9+1609_daily_bin1716> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1716> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 17 00:20:18 2022
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:20:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 00:20:44 2022
Terminated at Sat Sep 17 00:32:12 2022
Results reported at Sat Sep 17 00:32:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1716 343.496 16.1506 684115201 684374401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2253.9+1609 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   562.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             273.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   687 sec.
    Turnaround time :                            714 sec.

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

