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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1728
RA = 343.496, Dec = 16.1506
tmin = 687225601, tmax = 687484801
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='304512', job_status='RUN', time_executed='2022-10-15 00:37:17.992712', time_epoch_executed='1665819437.99' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/304512

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/304512/ft1_4FGL_J2253.9+1609_daily_bin1728.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/304512/ft2_4FGL_J2253.9+1609_daily_bin1728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/304512/ft1_4FGL_J2253.9+1609_daily_bin1728.fits outfile=/scratch/kocevski/304512/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1728.fits ra=343.496 dec=16.1506 rad=12.0 tmin=687225601.0 tmax=687484801.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 2.76
user 2.52
sys 0.20

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

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

Number of photons that the gtmktime cut: 220

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/304512/ft1_filtered_4FGL_J2253.9+1609_daily_bin1728.fits" evtable="EVENTS" scfile=/scratch/kocevski/304512/ft2_4FGL_J2253.9+1609_daily_bin1728.fits sctable="SC_DATA" outfile=/scratch/kocevski/304512/ltcube_687225601_687484801_4FGL_J2253.9+1609_daily_bin1728.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/304512/ft2_4FGL_J2253.9+1609_daily_bin1728.fits
.....................!
real 12.32
user 11.97
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/304512/ft1_filtered_4FGL_J2253.9+1609_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/304512/ft2_4FGL_J2253.9+1609_daily_bin1728.fits sctable="SC_DATA" expcube=/scratch/kocevski/304512/ltcube_687225601_687484801_4FGL_J2253.9+1609_daily_bin1728.fits outfile=/scratch/kocevski/304512/expmap_687225601_687484801_4FGL_J2253.9+1609_daily_bin1728.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/304512/ltcube_687225601_687484801_4FGL_J2253.9+1609_daily_bin1728.fits
.....................!
real 190.08
user 185.44
sys 4.32

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/304512/ft1_filtered_4FGL_J2253.9+1609_daily_bin1728.fits scfile=/scratch/kocevski/304512/ft2_4FGL_J2253.9+1609_daily_bin1728.fits outfile=/scratch/kocevski/304512/cmap_687225601_687484801_4FGL_J2253.9+1609_daily_bin1728.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/304512/ft1_filtered_4FGL_J2253.9+1609_daily_bin1728.fits scfile=/scratch/kocevski/304512/ft2_4FGL_J2253.9+1609_daily_bin1728.fits outfile=/scratch/kocevski/304512/cmap_HighResolution_687225601_687484801_4FGL_J2253.9+1609_daily_bin1728.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.137       1.0000          .0000       .10000E+07
     2 'norm      '    10.395       1.0000          .0000       .10000E+07
     3 'Prefactor '    45.986       1.0000          .0000       .10000E+07
     4 'Prefactor '    .41186E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .69916       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .67557E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    91.962       1.0000          .0000       .10000E+07
     9 'Prefactor '    .75959E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.7524       1.0000         .10000E-03   10000.    
    11 'Prefactor '    100.32       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.052       1.0000          .0000       .10000E+07
    13 'Prefactor '    202.15       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18290E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .50688E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .25363       1.0000          .0000       .10000E+07
    17 'norm      '    89.305       1.0000          .0000       .10000E+07
    18 'Prefactor '    .54925E-01   1.0000          .0000       .10000E+07
    19 'norm      '    39.044       1.0000          .0000       .10000E+07
    20 'Normalizat'    .91171E-01   1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0439       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=   2453.111     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1711 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.238        22.794        .11568E-06    .93380E-01
   2  norm          10.563        10.097       -.20905E-06   -.13049E-03
   3  Prefactor     46.368        23.899        .17115E-06   -.14762    
   4  Prefactor     .95479E-08    25.125        .17574E-06** at limit **
   5  Prefactor     .69872        .38371       -.30547E-06   -.42254E-03
   6  Prefactor     .10000E-03    3.9452       -.73939E-06** at limit **
   7  norm           .0000        1.0403        .40541E-07** at limit **
   8  Prefactor     91.863        4.8165       -.42743E-07    .12753E-01
   9  Prefactor     .11102E-09    7.6281       -.10399E-06** at limit **
  10  Prefactor     3.7537        .63384       -.26824E-07    .16777E-03
  11  Prefactor     100.30        10.090       -.72984E-07    .49479E-01
  12  Prefactor     10.039        17.429        .60419E-06    .52554E-01
  13  Prefactor     202.45        27.002        .14761E-06   -.18546    
  14  Prefactor      .0000        23.225        .19673E-06** at limit **
  15  Prefactor     .55511E-10    46.381       -.26121E-06** at limit **
  16  Prefactor     .44409E-09    86.954       -.30114E-06** at limit **
  17  norm          92.012        56.288        .27656E-06    .11301E-01
  18  Prefactor     .55511E-10    74.349        .53095E-06** at limit **
  19  norm          37.937        64.783       -.76970E-06   -.14436E-01
  20  Normalizat    .84373E-01    .83897        .20899E-04    .60430E-05
  21  Prefactor     1.0455        .25787       -.11879E-05    .29890E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2378
  norm       = 10.5631
  Prefactor  = 46.3676
  Prefactor  = 9.54792e-09
  Prefactor  = 0.698722
  Prefactor  = 0.0001
  norm       = 0
  Prefactor  = 91.8632
  Prefactor  = 1.11022e-10
  Prefactor  = 3.75369
  Prefactor  = 100.302
  Prefactor  = 10.0386
  Prefactor  = 202.446
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 4.44089e-10
  norm       = 92.0123
  Prefactor  = 5.55112e-11
  norm       = 37.9366
  Normalizat = 0.0843729
  Prefactor  = 1.04548
 **********
 **   18 **HESSE 
 **********

 FCN=   2453.111     FROM HESSE     STATUS=NOT POSDEF   357 CALLS     2068 TOTAL
                     EDM=   .39E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.238        40.678        .24167E-03   -1.5625    
   2  norm          10.563        23.459        .31052E-03   -1.5643    
   3  Prefactor     46.368        77.645        .14748E-03   -1.5572    
   4  Prefactor     .95479E-08    22.096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .69872        .67518        .47286E-02   -1.5541    
   6  Prefactor     .10000E-03    3.4637        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .91437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     91.863        85.891        .10429E-03   -1.5516    
   9  Prefactor     .11102E-09    6.7263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.7537        1.1133        .34590E-02   -1.5320    
  11  Prefactor     100.30        203.56        .99847E-04   -1.5508    
  12  Prefactor     10.039        17.003        .31580E-03   -1.5645    
  13  Prefactor     202.45        134.75        .70341E-04   -1.5423    
  14  Prefactor      .0000        20.417        .17152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    40.035        .15513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .44409E-09    76.484        .10890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          92.012        72.258        .10582E-03   -1.5516    
  18  Prefactor     .55511E-10    64.684        .15349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          37.937        65.707        .16005E-03   -1.5585    
  20  Normalizat    .84373E-01    9.9071        .28991       -1.3980    
  21  Prefactor     1.0455        1.3380        .40280E-01   -.91228    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.91857e-06
Minuit parameter uncertainties:
  1  40.6786
  2  23.4593
  3  77.6467
  4  0.000919775
  5  0.675188
  6  8.37085e-06
  7  2.2796e-06
  8  85.8926
  9  4.83127e-05
  10  1.11335
  11  203.571
  12  17.0028
  13  134.751
  14  3.04091e-05
  15  7.19729e-05
  16  0.000359169
  17  72.2583
  18  0.000135526
  19  65.7082
  20  2.68174
  21  1.38478
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2453.11062683

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  3.754e+00  1.113e+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

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.045e+00  1.385e+00  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:  8.437e-02  2.682e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 146.96
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.37e-06 +/- 4.06e-07
Energy Flux (Fixed Index): 4.40e-04 +/- 1.30e-04

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) = 2450.93827823
delta logL = 2.17234859442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2450.92995759
delta logL = 2.18066924325

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9140       1.0000         .10000E-03   10000.    
     2 'Index1    '    1.6342       1.0000          .0000       10.000    
     3 'Normalizat'    .30857       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96505       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=   2450.930     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      231 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9145        .68170        .31830E-02    .47997E-03
   2  Index1        1.6343        .17565        .28439E-01    .64957E-04
   3  Normalizat    .30864        .56055        .14898       -.27646E-04
   4  Prefactor     .96464        .29637        .45829E-01    .46109E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.91451
  Index1     = 1.63427
  Normalizat = 0.308644
  Prefactor  = 0.964644
 **********
 **   18 **HESSE 
 **********

 FCN=   2450.930     FROM HESSE     STATUS=OK            31 CALLS      262 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9145        .69257        .14065E-04   -1.5367    
   2  Index1        1.6343        .18001        .17206E-03   -.73845    
   3  Normalizat    .30864        .48513        .65847E-03   -1.2233    
   4  Prefactor     .96464        .25733        .20361E-03   -.93917    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45136e-10
Minuit parameter uncertainties:
  1  0.692576
  2  0.180081
  3  0.491959
  4  0.257659
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/304512': 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) = 2450.92995331
delta logL = 2.18067351825

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  2.915e+00  6.926e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  1.634e+00  1.801e-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.646e-01  2.577e-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:  3.086e-01  4.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 150.28
Ra Dec: 343.496 16.151
Photon Index (Free Index): 1.63 +/- 0.18
Photon Flux (Free Index): 1.08e-06 +/- 2.35e-07
Energy Flux (Free Index): 5.49e-04 +/- 1.19e-04

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/304512/cmap_HighResolution_687225601_687484801_4FGL_J2253.9+1609_daily_bin1728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.37e-06', energy_flux2='5.49e-04', photon_flux_error='4.06e-07', dlogl='2.18e+00', energy_flux='4.40e-04', photon_flux2='1.08e-06', job_status='DONE', time_completed='2022-10-15 00:43:46.255404', photon_index_error2='0.18', photon_index2='1.63', ts='146.96', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.19e-04', EG='0.08', time_epoch_completed='1665819826.26', return_code='102', job_id='304512', GAL2='0.96', EG2='0.31', return_code2='0', energy_flux_error='1.30e-04', photon_flux_error2='2.35e-07', ts2='150.28', photon_index='2.02' WHERE bin_id='1728' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct 15 00:43:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 304512: <4FGL_J2253.9+1609_daily_bin1728> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1728> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Oct 15 00:36:02 2022
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Oct 15 00:36:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Oct 15 00:36:03 2022
Terminated at Sat Oct 15 00:43:47 2022
Results reported at Sat Oct 15 00:43:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1728 343.496 16.1506 687225601 687484801 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 :                                   391.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             318.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   463 sec.
    Turnaround time :                            465 sec.

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

