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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1753
RA = 343.496, Dec = 16.1506
tmin = 693705601, tmax = 693964801
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='469046', job_status='RUN', time_executed='2022-12-29 01:46:57.202713', time_epoch_executed='1672307217.2' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469046

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469046/ft1_4FGL_J2253.9+1609_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469046/ft2_4FGL_J2253.9+1609_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469046/ft1_4FGL_J2253.9+1609_daily_bin1753.fits outfile=/scratch/kocevski/469046/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1753.fits ra=343.496 dec=16.1506 rad=12.0 tmin=693705601.0 tmax=693964801.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.65
user 4.42
sys 0.20

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

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

Number of photons that the gtmktime cut: 729

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469046/ft1_filtered_4FGL_J2253.9+1609_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/469046/ft2_4FGL_J2253.9+1609_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/469046/ltcube_693705601_693964801_4FGL_J2253.9+1609_daily_bin1753.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/469046/ft2_4FGL_J2253.9+1609_daily_bin1753.fits
.....................!
real 15.50
user 15.03
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469046/ft1_filtered_4FGL_J2253.9+1609_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/469046/ft2_4FGL_J2253.9+1609_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/469046/ltcube_693705601_693964801_4FGL_J2253.9+1609_daily_bin1753.fits outfile=/scratch/kocevski/469046/expmap_693705601_693964801_4FGL_J2253.9+1609_daily_bin1753.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/469046/ltcube_693705601_693964801_4FGL_J2253.9+1609_daily_bin1753.fits
.....................!
real 193.50
user 187.06
sys 5.59

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/469046/ft1_filtered_4FGL_J2253.9+1609_daily_bin1753.fits scfile=/scratch/kocevski/469046/ft2_4FGL_J2253.9+1609_daily_bin1753.fits outfile=/scratch/kocevski/469046/cmap_693705601_693964801_4FGL_J2253.9+1609_daily_bin1753.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 0.58
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/469046/ft1_filtered_4FGL_J2253.9+1609_daily_bin1753.fits scfile=/scratch/kocevski/469046/ft2_4FGL_J2253.9+1609_daily_bin1753.fits outfile=/scratch/kocevski/469046/cmap_HighResolution_693705601_693964801_4FGL_J2253.9+1609_daily_bin1753.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.62
user 0.41
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/469046/ft1_filtered_4FGL_J2253.9+1609_daily_bin1753.fits', '/scratch/kocevski/469046/ft2_4FGL_J2253.9+1609_daily_bin1753.fits', expMap='/scratch/kocevski/469046/expmap_693705601_693964801_4FGL_J2253.9+1609_daily_bin1753.fits', expCube='/scratch/kocevski/469046/ltcube_693705601_693964801_4FGL_J2253.9+1609_daily_bin1753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/469046/Model_4FGL_J2253.9+1609_daily_bin1753.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/469046/ft1_filtered_4FGL_J2253.9+1609_daily_bin1753.fits
Spacecraft file(s): /scratch/kocevski/469046/ft2_4FGL_J2253.9+1609_daily_bin1753.fits
Exposure map: /scratch/kocevski/469046/expmap_693705601_693964801_4FGL_J2253.9+1609_daily_bin1753.fits
Exposure cube: /scratch/kocevski/469046/ltcube_693705601_693964801_4FGL_J2253.9+1609_daily_bin1753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/469046/Model_4FGL_J2253.9+1609_daily_bin1753.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) = 8079.52558335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.184       1.0000          .0000       .10000E+07
     2 'norm      '    .43496E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .28712       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.5336       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.6814       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.3706       1.0000         .10000E-03   10000.    
     7 'norm      '    .44426E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10188E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19604E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.0806       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.958       1.0000          .0000       .10000E+07
    12 'Prefactor '    .80016E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .15290E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .49619       1.0000          .0000       .10000E+07
    15 'Prefactor '    10.034       1.0000          .0000       .10000E+07
    16 'Prefactor '    .20050E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .34145E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .71076       1.0000          .0000       .10000E+07
    19 'norm      '    .44385E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.4461       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .87885       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=   8079.510     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1639 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.862        7.9313        .46289E-07    .25413E-01
   2  norm           .0000        2.4207       -.23882E-06** at limit **
   3  Prefactor     .36376E-06    2.7902       -.92680E-07** at limit **
   4  Prefactor     8.5770        2.0554       -.62097E-07   -.83239E-02
   5  Prefactor     1.6834        .31933        .16905E-06    .39459E-03
   6  Prefactor     1.2567        8.3242       -.69024E-05   -.19729E-04
   7  norm           .0000        1.7418       -.18332E-07** at limit **
   8  Prefactor     .33307E-09    13.985        .63948E-06** at limit **
   9  Prefactor     .81435E-07    5.4052       -.31447E-06** at limit **
  10  Prefactor     1.0802        .23442        .17876E-06    .69698E-03
  11  Prefactor     11.456        28.197        .28510E-06   -.81796E-02
  12  Prefactor     .10381E-07    11.209       -.56475E-06** at limit **
  13  Prefactor     .32752E-08    110.53       -.26215E-05** at limit **
  14  Prefactor     .47370        14.250        .98025E-06   -.34265E-03
  15  Prefactor     10.080        9.3409        .32794E-06   -.53456E-03
  16  Prefactor     .15715E-06    4.2416       -.47094E-06** at limit **
  17  norm          .56066E-08    23.035       -.94266E-08** at limit **
  18  Prefactor     .70981        15.638        .17651E-06   -.21215E-02
  19  norm           .0000        6.1031        .18095E-06** at limit **
  20  Normalizat    1.4466        .28746        .94852E-05    .30844E-04
  21  Prefactor     .87916        .15119       -.58947E-05    .17970E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.8617
  norm       = 0
  Prefactor  = 3.63765e-07
  Prefactor  = 8.57697
  Prefactor  = 1.6834
  Prefactor  = 1.2567
  norm       = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 8.14349e-08
  Prefactor  = 1.08021
  Prefactor  = 11.4558
  Prefactor  = 1.03806e-08
  Prefactor  = 3.27516e-09
  Prefactor  = 0.473696
  Prefactor  = 10.0799
  Prefactor  = 1.57152e-07
  norm       = 5.60663e-09
  Prefactor  = 0.709813
  norm       = 0
  Normalizat = 1.44662
  Prefactor  = 0.879158
 **********
 **   18 **HESSE 
 **********

 FCN=   8079.510     FROM HESSE     STATUS=OK           361 CALLS     2000 TOTAL
                     EDM=   .30E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.862        24.021        .26569E-03   -1.5634    
   2  norm           .0000        2.4104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .36376E-06    53.649        .10394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.5770        18.111        .34291E-03   -1.5649    
   5  Prefactor     1.6834        .32094        .47022E-02   -1.5448    
   6  Prefactor     1.2567        8.3493        .93100E-02   -1.5484    
   7  norm           .0000        1.7099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33307E-09    14.072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .81435E-07    9.4728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.0802        .23455        .42928E-02   -1.5500    
  11  Prefactor     11.456        29.505        .28943E-03   -1.5640    
  12  Prefactor     .10381E-07    11.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .32752E-08    110.27        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .47370        13.972        .79094E-03   -1.5694    
  15  Prefactor     10.080        9.4026        .31609E-03   -1.5644    
  16  Prefactor     .15715E-06    9.6147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .56066E-08    23.089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .70981        15.996        .59839E-03   -1.5691    
  19  norm           .0000        6.1088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.4466        .24525        .75883E-01   -.79290    
  21  Prefactor     .87916        .12672        .44735E-01   -.96873    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97851e-06
Minuit parameter uncertainties:
  1  24.0215
  2  7.0349e-06
  3  0.00883514
  4  18.1115
  5  0.320945
  6  6.47952
  7  4.4597e-06
  8  0.000139097
  9  0.00175689
  10  0.23455
  11  29.5054
  12  0.000692863
  13  0.00119827
  14  5.14527
  15  9.40259
  16  0.00245848
  17  0.000719309
  18  6.73911
  19  4.6252e-06
  20  0.245454
  21  0.126765
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.080e+00  2.346e-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.792e-01  1.268e-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.447e+00  2.455e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 46.05
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 3.94e-07 +/- 8.55e-08
Energy Flux (Fixed Index): 1.26e-04 +/- 2.75e-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) = 8078.75280687
delta logL = 0.757401295752

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8078.75256331
delta logL = 0.757644860815

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2546       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.3061       1.0000          .0000       10.000    
     3 'Normalizat'    1.3581       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91156       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=   8078.753     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      206 TOTAL
                     EDM=   .97E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2546        .25723        .31553E-09   -.56966E-03
   2  Index1        2.3062        .15667        .15326E-06    .73981E-05
   3  Normalizat    1.3581        .23810       -.62083E-07   -.80953E-05
   4  Prefactor     .91156        .12694        .38549E-07   -.23014E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.25457
  Index1     = 2.30615
  Normalizat = 1.35806
  Prefactor  = 0.91156
 **********
 **   18 **HESSE 
 **********

 FCN=   8078.753     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2546        .27734        .19382E-04   -1.5484    
   2  Index1        2.3062        .23761        .44650E-03   -.56898    
   3  Normalizat    1.3581        .29054        .34399E-03   -.81850    
   4  Prefactor     .91156        .15316        .22067E-03   -.95738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05704e-12
Minuit parameter uncertainties:
  1  0.277339
  2  0.237734
  3  0.290887
  4  0.153228
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469046': 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) = 8078.75256331
delta logL = 0.757644860819

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.255e+00  2.773e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.306e+00  2.377e-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:  9.116e-01  1.532e-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.358e+00  2.909e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 47.36
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.31 +/- 0.24
Photon Flux (Free Index): 4.76e-07 +/- 1.15e-07
Energy Flux (Free Index): 1.21e-04 +/- 2.53e-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/469046/cmap_HighResolution_693705601_693964801_4FGL_J2253.9+1609_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.94e-07', energy_flux2='1.21e-04', photon_flux_error='8.55e-08', dlogl='7.58e-01', energy_flux='1.26e-04', photon_flux2='4.76e-07', job_status='DONE', time_completed='2022-12-29 01:56:51.798425', photon_index_error2='0.24', photon_index2='2.31', ts='46.05', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='2.53e-05', EG='1.45', time_epoch_completed='1672307811.8', return_code='0', job_id='469046', GAL2='0.91', EG2='1.36', return_code2='0', energy_flux_error='2.75e-05', photon_flux_error2='1.15e-07', ts2='47.36', photon_index='2.02' WHERE bin_id='1753' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:56:51 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 469046: <4FGL_J2253.9+1609_daily_bin1753> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 01:45:17 2022
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:45:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:45:47 2022
Terminated at Thu Dec 29 01:56:52 2022
Results reported at Thu Dec 29 01:56:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1753 343.496 16.1506 693705601 693964801 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 :                                   595.54 sec.
    Max Memory :                                 1240 MB
    Average Memory :                             341.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   665 sec.
    Turnaround time :                            695 sec.

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

