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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1722
RA = 343.308, Dec = -12.5416
tmin = 685670401, tmax = 685929601
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='250477', job_status='RUN', time_executed='2022-09-27 01:14:39.291625', time_epoch_executed='1664266479.29' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1722'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/250477

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/250477/ft1_4FGL_J2253.2-1232_daily_bin1722.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/250477/ft2_4FGL_J2253.2-1232_daily_bin1722.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/250477/ft1_4FGL_J2253.2-1232_daily_bin1722.fits outfile=/scratch/kocevski/250477/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1722.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=685670401.0 tmax=685929601.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.73
user 3.48
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/250477/ft2_4FGL_J2253.2-1232_daily_bin1722.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/250477/ft2_4FGL_J2253.2-1232_daily_bin1722.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/250477/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1722.fits evtable="EVENTS" outfile="/scratch/kocevski/250477/ft1_filtered_4FGL_J2253.2-1232_daily_bin1722.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.51
user 0.32
sys 0.18

Number of photons that the gtmktime cut: 592

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/250477/ft1_filtered_4FGL_J2253.2-1232_daily_bin1722.fits" evtable="EVENTS" scfile=/scratch/kocevski/250477/ft2_4FGL_J2253.2-1232_daily_bin1722.fits sctable="SC_DATA" outfile=/scratch/kocevski/250477/ltcube_685670401_685929601_4FGL_J2253.2-1232_daily_bin1722.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/250477/ft2_4FGL_J2253.2-1232_daily_bin1722.fits
.....................!
real 12.81
user 12.40
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/250477/ft1_filtered_4FGL_J2253.2-1232_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/250477/ft2_4FGL_J2253.2-1232_daily_bin1722.fits sctable="SC_DATA" expcube=/scratch/kocevski/250477/ltcube_685670401_685929601_4FGL_J2253.2-1232_daily_bin1722.fits outfile=/scratch/kocevski/250477/expmap_685670401_685929601_4FGL_J2253.2-1232_daily_bin1722.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/250477/ltcube_685670401_685929601_4FGL_J2253.2-1232_daily_bin1722.fits
.....................!
real 193.77
user 186.95
sys 5.90

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

Setting source of interest to:
4FGL J2253.2-1232 @ 343.308 -12.5416

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/250477/ft1_filtered_4FGL_J2253.2-1232_daily_bin1722.fits scfile=/scratch/kocevski/250477/ft2_4FGL_J2253.2-1232_daily_bin1722.fits outfile=/scratch/kocevski/250477/cmap_685670401_685929601_4FGL_J2253.2-1232_daily_bin1722.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.308 yref=-12.5416 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/250477/ft1_filtered_4FGL_J2253.2-1232_daily_bin1722.fits scfile=/scratch/kocevski/250477/ft2_4FGL_J2253.2-1232_daily_bin1722.fits outfile=/scratch/kocevski/250477/cmap_HighResolution_685670401_685929601_4FGL_J2253.2-1232_daily_bin1722.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.308 yref=-12.5416 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.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/250477/ft1_filtered_4FGL_J2253.2-1232_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/250477/ft2_4FGL_J2253.2-1232_daily_bin1722.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/250477/Model_4FGL_J2253.2-1232_daily_bin1722.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/250477/ft1_filtered_4FGL_J2253.2-1232_daily_bin1722.fits.....................!
real 55.14
user 53.63
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/250477/ft1_filtered_4FGL_J2253.2-1232_daily_bin1722.fits', '/scratch/kocevski/250477/ft2_4FGL_J2253.2-1232_daily_bin1722.fits', expMap='/scratch/kocevski/250477/expmap_685670401_685929601_4FGL_J2253.2-1232_daily_bin1722.fits', expCube='/scratch/kocevski/250477/ltcube_685670401_685929601_4FGL_J2253.2-1232_daily_bin1722.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/250477/Model_4FGL_J2253.2-1232_daily_bin1722.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2253.2-1232'

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  7.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.646e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  8.906e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/250477/ft1_filtered_4FGL_J2253.2-1232_daily_bin1722.fits
Spacecraft file(s): /scratch/kocevski/250477/ft2_4FGL_J2253.2-1232_daily_bin1722.fits
Exposure map: /scratch/kocevski/250477/expmap_685670401_685929601_4FGL_J2253.2-1232_daily_bin1722.fits
Exposure cube: /scratch/kocevski/250477/ltcube_685670401_685929601_4FGL_J2253.2-1232_daily_bin1722.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/250477/Model_4FGL_J2253.2-1232_daily_bin1722.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) = 6465.35674081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.957       1.0000          .0000       .10000E+07
     2 'Prefactor '    .47752E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .17829E-03   1.0000          .0000       .10000E+07
     4 'norm      '    2.2204       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14518E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .34054E-02   1.0000          .0000       .10000E+07
     7 'norm      '    2.2875       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24349E-02   1.0000          .0000       .10000E+07
     9 'norm      '    1.3138       1.0000          .0000       .10000E+07
    10 'Prefactor '    27.853       1.0000          .0000       .10000E+07
    11 'Prefactor '    .84142E-02   1.0000          .0000       .10000E+07
    12 'norm      '    13.078       1.0000          .0000       .10000E+07
    13 'Prefactor '    46.290       1.0000          .0000       .10000E+07
    14 'Prefactor '    18.913       1.0000          .0000       .10000E+07
    15 'Prefactor '    .64567E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .65669E-04   1.0000          .0000       .10000E+07
    17 'norm      '    3.3491       1.0000          .0000       .10000E+07
    18 'Prefactor '    6.5696       1.0000          .0000       .10000E+07
    19 'Normalizat'    .87421       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .89012       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6465.210     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     1590 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.026        12.151       -.32295E-07    .54042E-01
   2  Prefactor      .0000        1.9344        .18174E-07** at limit **
   3  Prefactor     .16764E-07    6.5448        .58154E-06** at limit **
   4  norm          2.2258        2.4213       -.21873E-07   -.66326E-03
   5  Prefactor     .24106E-05    23.475        .35127E-06** at limit **
   6  Prefactor     .33307E-09    4.5485        .19167E-07** at limit **
   7  norm          2.2894        .92662       -.39552E-08   -.54648E-03
   8  Prefactor     .14494E-06    10.317        .41031E-06** at limit **
   9  norm          1.2843        .95128       -.78579E-08   -.21811E-02
  10  Prefactor     29.457        20.526       -.29837E-07    .11535    
  11  Prefactor     .36637E-08    7.1200        .11730E-06** at limit **
  12  norm          13.110        10.007        .13731E-06    .74729E-02
  13  Prefactor     48.930        49.170        .31312E-06   -.12249E-01
  14  Prefactor     18.943        2.8047        .26476E-07    .30967E-01
  15  Prefactor     .10522E-05    14.418        .78035E-06** at limit **
  16  norm          .16653E-09    16.075       -.69693E-07** at limit **
  17  norm          3.3080        4.2295        .14802E-07    .17531E-02
  18  Prefactor     6.7927        11.313        .13635E-06    .92311E-01
  19  Normalizat    .86997        .19668       -.18417E-06    .67816E-04
  20  Prefactor     .89126        .15481        .42548E-06    .81531E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.0258
  Prefactor  = 0
  Prefactor  = 1.67644e-08
  norm       = 2.22583
  Prefactor  = 2.41063e-06
  Prefactor  = 3.33067e-10
  norm       = 2.28943
  Prefactor  = 1.4494e-07
  norm       = 1.28428
  Prefactor  = 29.4572
  Prefactor  = 3.66374e-09
  norm       = 13.1096
  Prefactor  = 48.9297
  Prefactor  = 18.9433
  Prefactor  = 1.05216e-06
  norm       = 1.66533e-10
  norm       = 3.30799
  Prefactor  = 6.79272
  Normalizat = 0.86997
  Prefactor  = 0.891256
 **********
 **   18 **HESSE 
 **********

 FCN=   6465.210     FROM HESSE     STATUS=OK           337 CALLS     1927 TOTAL
                     EDM=   .84E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.026        12.330        .17976E-03   -1.5597    
   2  Prefactor      .0000        1.9355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16764E-07    15.742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.2258        2.4371        .68983E-03   -1.5678    
   5  Prefactor     .24106E-05    26.373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33307E-09    4.5454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.2894        .93064        .67846E-03   -1.5678    
   8  Prefactor     .14494E-06    15.078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2843        1.0226        .96096E-03   -1.5685    
  10  Prefactor     29.457        27.116        .18951E-03   -1.5599    
  11  Prefactor     .36637E-08    7.0963        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          13.110        10.012        .27672E-03   -1.5636    
  13  Prefactor     48.930        49.101        .14699E-03   -1.5568    
  14  Prefactor     18.943        18.824        .23002E-03   -1.5621    
  15  Prefactor     .10522E-05    16.706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16653E-09    .82164        .23684E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.3080        4.2563        .55277E-03   -1.5672    
  18  Prefactor     6.7927        15.282        .39129E-03   -1.5656    
  19  Normalizat    .86997        .17264        .44571E-01   -.97524    
  20  Prefactor     .89126        .13326        .44879E-01   -.96447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.37759e-07
Minuit parameter uncertainties:
  1  12.3304
  2  8.84217e-06
  3  0.00102796
  4  2.43713
  5  0.015947
  6  7.84353e-05
  7  0.930645
  8  0.00295654
  9  1.02262
  10  27.1157
  11  0.000322964
  12  10.0117
  13  49.1011
  14  18.8241
  15  0.008385
  16  2.52495e-05
  17  4.25627
  18  15.2825
  19  0.172753
  20  0.133306
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  2.946e+01  2.712e+01  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.646e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  8.906e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  8.913e-01  1.333e-01  0.000e+00  1.000e+01 ( 1.000e+00)
489        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
490        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
487   Normalization:  8.700e-01  1.728e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.06
Ra Dec: 343.308 -12.542
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 5.84e-08 +/- 5.37e-08
Energy Flux (Fixed Index): 1.47e-05 +/- 1.35e-05

TS (Fixed Index): 2.06
Ra Dec: 343.308 -12.542
Photon Flux Upper Limit: 1.49e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.17e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/250477/likelihoodResults_685670401_685929601_4FGL_J2253.2-1232_daily_bin1722.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) = 6465.20881126
delta logL = 0.00142613036314

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6465.20674838
delta logL = 0.00348900863446

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6465.207     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      241 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.318        543.89        .19150E-03    .43505E-03
   2  Index         2.7085        6.3489        .13476        .13779E-03
   3  Normalizat    .86763        .72290E-01    .44491E-01    .13499E-03
   4  Prefactor     .89275        .51491E-01    .44909E-01    .11200E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.3183
  Index      = 2.70845
  Normalizat = 0.867627
  Prefactor  = 0.892749
 **********
 **   18 **HESSE 
 **********

 FCN=   6465.207     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.318        38.614        .76599E-05   -1.5603    
   2  Index         2.7085        .86522        .68339E-02   -.47609    
   3  Normalizat    .86763        .19460        .26306E-03   -.97607    
   4  Prefactor     .89275        .15430        .20756E-03   -.96395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0656e-11
Minuit parameter uncertainties:
  1  38.6144
  2  0.870784
  3  0.194755
  4  0.154372
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/250477': 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) = 6465.20674543
delta logL = 0.00349195123636

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  2.732e+01  3.861e+01  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.708e+00  8.708e-01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  8.906e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  8.927e-01  1.544e-01  0.000e+00  1.000e+01 ( 1.000e+00)
489        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
490        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
487   Normalization:  8.676e-01  1.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.11
Ra Dec: 343.308 -12.542
Photon Index (Free Index): 2.71 +/- 0.87
Photon Flux (Free Index): 5.98e-08 +/- 4.84e-08
Energy Flux (Free Index): 1.43e-05 +/- 1.29e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/250477/cmap_HighResolution_685670401_685929601_4FGL_J2253.2-1232_daily_bin1722.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-02', comment='SUCCESS', photon_flux='5.84e-08', energy_flux2='1.43e-05', photon_flux_error='5.37e-08', dlogl='3.49e-03', energy_flux='1.47e-05', photon_flux2='5.98e-08', job_status='DONE', time_completed='2022-09-27 01:23:40.162545', photon_index_error2='0.87', photon_index2='2.71', ts='2.06', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='1.49e-07', energy_flux_error2='1.29e-05', EG='0.87', time_epoch_completed='1664267020.16', return_code='0', job_id='250477', GAL2='0.89', EG2='0.87', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='4.84e-08', ts2='2.11', photon_index='2.65' WHERE bin_id='1722' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 27 01:23:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 250477: <4FGL_J2253.2-1232_daily_bin1722> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1722> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 27 01:10:17 2022
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 01:10:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 01:10:57 2022
Terminated at Tue Sep 27 01:23:40 2022
Results reported at Tue Sep 27 01:23:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1722 343.308 -12.5416 685670401 685929601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2253.2-1232 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   542.06 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             277.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   764 sec.
    Turnaround time :                            803 sec.

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

