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 71 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1674
RA = 343.308, Dec = -12.5416
tmin = 673228801, tmax = 673488001
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='717931', job_status='RUN', time_executed='2022-05-06 03:16:06.334420', time_epoch_executed='1651832166.33' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/717931

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/717931/ft1_4FGL_J2253.2-1232_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/717931/ft2_4FGL_J2253.2-1232_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/717931/ft1_4FGL_J2253.2-1232_daily_bin1674.fits outfile=/scratch/kocevski/717931/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1674.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=673228801.0 tmax=673488001.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.78
user 2.57
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/717931/ft2_4FGL_J2253.2-1232_daily_bin1674.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/717931/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1674.fits evtable="EVENTS" outfile="/scratch/kocevski/717931/ft1_filtered_4FGL_J2253.2-1232_daily_bin1674.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.35
sys 0.15

Number of photons that the gtmktime cut: 557

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/717931/ft1_filtered_4FGL_J2253.2-1232_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/717931/ft2_4FGL_J2253.2-1232_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/717931/ltcube_673228801_673488001_4FGL_J2253.2-1232_daily_bin1674.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/717931/ft2_4FGL_J2253.2-1232_daily_bin1674.fits
.....................!
real 14.29
user 13.90
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/717931/ft1_filtered_4FGL_J2253.2-1232_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/717931/ft2_4FGL_J2253.2-1232_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/717931/ltcube_673228801_673488001_4FGL_J2253.2-1232_daily_bin1674.fits outfile=/scratch/kocevski/717931/expmap_673228801_673488001_4FGL_J2253.2-1232_daily_bin1674.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/717931/ltcube_673228801_673488001_4FGL_J2253.2-1232_daily_bin1674.fits
.....................!
real 191.50
user 185.84
sys 5.19

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/717931/ft1_filtered_4FGL_J2253.2-1232_daily_bin1674.fits scfile=/scratch/kocevski/717931/ft2_4FGL_J2253.2-1232_daily_bin1674.fits outfile=/scratch/kocevski/717931/cmap_673228801_673488001_4FGL_J2253.2-1232_daily_bin1674.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/717931/ft1_filtered_4FGL_J2253.2-1232_daily_bin1674.fits scfile=/scratch/kocevski/717931/ft2_4FGL_J2253.2-1232_daily_bin1674.fits outfile=/scratch/kocevski/717931/cmap_HighResolution_673228801_673488001_4FGL_J2253.2-1232_daily_bin1674.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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/717931/ft1_filtered_4FGL_J2253.2-1232_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/717931/ft2_4FGL_J2253.2-1232_daily_bin1674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/717931/Model_4FGL_J2253.2-1232_daily_bin1674.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/717931/ft1_filtered_4FGL_J2253.2-1232_daily_bin1674.fits.....................!
real 54.91
user 52.87
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/717931/ft1_filtered_4FGL_J2253.2-1232_daily_bin1674.fits', '/scratch/kocevski/717931/ft2_4FGL_J2253.2-1232_daily_bin1674.fits', expMap='/scratch/kocevski/717931/expmap_673228801_673488001_4FGL_J2253.2-1232_daily_bin1674.fits', expCube='/scratch/kocevski/717931/ltcube_673228801_673488001_4FGL_J2253.2-1232_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/717931/Model_4FGL_J2253.2-1232_daily_bin1674.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  1.000e-04  1.000e+04 ( 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/717931/ft1_filtered_4FGL_J2253.2-1232_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/717931/ft2_4FGL_J2253.2-1232_daily_bin1674.fits
Exposure map: /scratch/kocevski/717931/expmap_673228801_673488001_4FGL_J2253.2-1232_daily_bin1674.fits
Exposure cube: /scratch/kocevski/717931/ltcube_673228801_673488001_4FGL_J2253.2-1232_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/717931/Model_4FGL_J2253.2-1232_daily_bin1674.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) = 6146.53997583

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.445       1.0000         .10000E-03   10000.    
     2 'Prefactor '    46.536       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.4760       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.8358       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .54319E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.0623       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.388       1.0000         .10000E-03   10000.    
    10 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.2265       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.0678       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.090       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.5218       1.0000         .10000E-03   10000.    
    20 'Prefactor '    37.822       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10342E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .94326       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88070       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6146.522     FROM MIGRAD    STATUS=CONVERGED    992 CALLS     3171 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.442        11.384        .95891E-04   -.27505E-04
   2  Prefactor     46.804        82.000        .29388E-03   -.29013E-05
   3  Prefactor     1.4786        3.8854        .23335E-03    .48331E-04
   4  Prefactor     .10000E-03    15.849        .18142E-02** at limit **
   5  norm          1.8272        3.2132        .16919E-03   -.97719E-03
   6  Prefactor     .10000E-03    48.376        .16692    ** at limit **
   7  Prefactor     .10000E-03    9.7989        .18142E-02** at limit **
   8  norm          3.0622        1.0302        .11591E-03    .29298E-03
   9  Prefactor     14.393        10.107        .10559E-03    .82155E-03
  10  norm          .10000E-03    .74350        .10297E-02** at limit **
  11  Prefactor     .10000E-03    7.8743        .18142E-02** at limit **
  12  Prefactor     5.2267        6.1322        .17583E-03    .37760E-04
  13  Prefactor     .10003E-03    13.593        .33395E-02** at limit **
  14  norm          3.0707        12.439        .11580E-02    .14021E-03
  15  Prefactor     15.095        30.081        .10311E-03    .32086E-04
  16  Prefactor     .10000E-03    6.9180        .18142E-02** at limit **
  17  Prefactor     .10000E-03    4.2369        .15719E-02** at limit **
  18  norm          .10000E-03    .31718        .42949E-03** at limit **
  19  norm          3.5231        5.1904        .10327E-02    .72339E-04
  20  Prefactor     37.797        48.482        .65171E-04   -.30179E-04
  21  Prefactor     .10000E-03    8.6639        .18142E-02** at limit **
  22  Prefactor     .10000E-03    33.446        .18142E-02** at limit **
  23  Normalizat    .94334        .21191        .25837E-03   -.67058E-04
  24  Prefactor     .88058        .16233        .20836E-03   -.14874E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.4419
  Prefactor  = 46.8036
  Prefactor  = 1.47861
  Prefactor  = 0.0001
  norm       = 1.82716
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 3.06225
  Prefactor  = 14.3931
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.22666
  Prefactor  = 0.000100027
  norm       = 3.07069
  Prefactor  = 15.0952
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.5231
  Prefactor  = 37.7966
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.943342
  Prefactor  = 0.880577
 **********
 **   18 **HESSE 
 **********

 FCN=   6146.522     FROM HESSE     STATUS=OK           387 CALLS     3558 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.442        11.384        .38357E-05   -1.4872    
   2  Prefactor     46.804        81.980        .11755E-04   -1.4339    
   3  Prefactor     1.4786        3.8839        .93338E-05   -1.5465    
   4  Prefactor     .10000E-03    15.849        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8272        3.2117        .67677E-05   -1.5438    
   6  Prefactor     .10000E-03    48.718        .16595       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.8018        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.0622        1.0302        .46363E-05   -1.5358    
   9  Prefactor     14.393        10.098        .21119E-04   -1.4949    
  10  norm          .10000E-03    .74355        .20593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.8747        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.2267        6.1322        .70331E-05   -1.5251    
  13  Prefactor     .10003E-03    13.700        .66790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.0707        12.422        .23160E-03   -1.5357    
  15  Prefactor     15.095        30.077        .41242E-05   -1.4931    
  16  Prefactor     .10000E-03    6.9180        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.2372        .31438E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .31719        .85899E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.5231        5.1882        .41308E-04   -1.5333    
  20  Prefactor     37.797        48.496        .26068E-05   -1.4478    
  21  Prefactor     .10000E-03    8.6643        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    33.447        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .94334        .21211        .10335E-04   -.94953    
  24  Prefactor     .88058        .16248        .83345E-05   -.96823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25287e-09
Minuit parameter uncertainties:
  1  11.385
  2  82.1788
  3  3.88457
  4  3.2458e-06
  5  3.21204
  6  0.00059761
  7  5.82258e-05
  8  1.03016
  9  10.0991
  10  1.35036e-05
  11  8.98794e-06
  12  6.13289
  13  0.00122558
  14  12.3566
  15  30.1076
  16  9.72729e-06
  17  5.44613e-05
  18  2.79868e-06
  19  5.18887
  20  48.5471
  21  0.000106518
  22  6.27628e-05
  23  0.212295
  24  0.162567
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  8.988e-06  1.000e-04  1.000e+04 ( 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.806e-01  1.626e-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:  9.433e-01  2.123e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.308 -12.542
Photon Flux Upper Limit: 6.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/717931/likelihoodResults_673228801_673488001_4FGL_J2253.2-1232_daily_bin1674.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): 102
logL (Free Index) = 6146.52265543
delta logL = -0.00060493753881

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6146.52205097
delta logL = -4.79994923808e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10831E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6198       1.0000          .0000       10.000    
     3 'Normalizat'    .94324       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88066       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6146.522     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      236 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10298E-03    7.0829        .18142E-01** at limit **
   2  Index         2.5343        8.7143        .50000        .22986E-04
   3  Normalizat    .94334        .39479E-02    .25837E-03    .61073E-04
   4  Prefactor     .88058        .31034E-02    .20836E-03    .63183E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102976
  Index      = 2.53434
  Normalizat = 0.943342
  Prefactor  = 0.880578
 **********
 **   18 **HESSE 
 **********

 FCN=   6146.522     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      265 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10298E-03    68.946        .22633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5343        5.3542        .50000       -.51569    
   3  Normalizat    .94334        .12382E-01    .10335E-04   -.94953    
   4  Prefactor     .88058        .97329E-02    .83344E-05   -.96823    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.52719e-09
Minuit parameter uncertainties:
  1  0.0286792
  2  310.495
  3  0.0123816
  4  0.00973292
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/717931': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6146.52205
delta logL = 4.91412720294e-07

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.030e-04  2.868e-02  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.534e+00  3.105e+02  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.806e-01  9.733e-03  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:  9.433e-01  1.238e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.308 -12.542

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/717931/cmap_HighResolution_673228801_673488001_4FGL_J2253.2-1232_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-03', job_status='DONE', photon_flux_upper_limit='6.71e-08', time_completed='2022-05-06 03:27:05.679482', job_id='717931', GAL2='0.88', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1651832825.68', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='4.91e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1674' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:27:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 717931: <4FGL_J2253.2-1232_daily_bin1674> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1674> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri May  6 03:10:38 2022
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 03:14:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 03:14:46 2022
Terminated at Fri May  6 03:27:06 2022
Results reported at Fri May  6 03:27:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1674 343.308 -12.5416 673228801 673488001 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 :                                   661.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            988 sec.

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

