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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1751
RA = 343.308, Dec = -12.5416
tmin = 693187201, tmax = 693446401
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='89041', job_status='RUN', time_executed='2022-12-23 01:27:53.276280', time_epoch_executed='1671787673.28' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/89041

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/89041/ft1_4FGL_J2253.2-1232_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/89041/ft2_4FGL_J2253.2-1232_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/89041/ft1_4FGL_J2253.2-1232_daily_bin1751.fits outfile=/scratch/kocevski/89041/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1751.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=693187201.0 tmax=693446401.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.62
user 3.41
sys 0.19

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

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

Number of photons that the gtmktime cut: 496

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/89041/ft1_filtered_4FGL_J2253.2-1232_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/89041/ft2_4FGL_J2253.2-1232_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/89041/ltcube_693187201_693446401_4FGL_J2253.2-1232_daily_bin1751.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/89041/ft2_4FGL_J2253.2-1232_daily_bin1751.fits
.....................!
real 12.11
user 11.76
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/89041/ft1_filtered_4FGL_J2253.2-1232_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/89041/ft2_4FGL_J2253.2-1232_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/89041/ltcube_693187201_693446401_4FGL_J2253.2-1232_daily_bin1751.fits outfile=/scratch/kocevski/89041/expmap_693187201_693446401_4FGL_J2253.2-1232_daily_bin1751.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/89041/ltcube_693187201_693446401_4FGL_J2253.2-1232_daily_bin1751.fits
.....................!
real 191.11
user 185.89
sys 4.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/89041/ft1_filtered_4FGL_J2253.2-1232_daily_bin1751.fits scfile=/scratch/kocevski/89041/ft2_4FGL_J2253.2-1232_daily_bin1751.fits outfile=/scratch/kocevski/89041/cmap_693187201_693446401_4FGL_J2253.2-1232_daily_bin1751.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/89041/ft1_filtered_4FGL_J2253.2-1232_daily_bin1751.fits scfile=/scratch/kocevski/89041/ft2_4FGL_J2253.2-1232_daily_bin1751.fits outfile=/scratch/kocevski/89041/cmap_HighResolution_693187201_693446401_4FGL_J2253.2-1232_daily_bin1751.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/89041/ft1_filtered_4FGL_J2253.2-1232_daily_bin1751.fits', '/scratch/kocevski/89041/ft2_4FGL_J2253.2-1232_daily_bin1751.fits', expMap='/scratch/kocevski/89041/expmap_693187201_693446401_4FGL_J2253.2-1232_daily_bin1751.fits', expCube='/scratch/kocevski/89041/ltcube_693187201_693446401_4FGL_J2253.2-1232_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/89041/Model_4FGL_J2253.2-1232_daily_bin1751.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/89041/ft1_filtered_4FGL_J2253.2-1232_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/89041/ft2_4FGL_J2253.2-1232_daily_bin1751.fits
Exposure map: /scratch/kocevski/89041/expmap_693187201_693446401_4FGL_J2253.2-1232_daily_bin1751.fits
Exposure cube: /scratch/kocevski/89041/ltcube_693187201_693446401_4FGL_J2253.2-1232_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/89041/Model_4FGL_J2253.2-1232_daily_bin1751.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) = 5519.94347098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.849       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.2492       1.0000          .0000       .10000E+07
     3 'Prefactor '    45.683       1.0000          .0000       .10000E+07
     4 'norm      '    5.6405       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14747E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    13.116       1.0000          .0000       .10000E+07
     7 'norm      '    1.9911       1.0000          .0000       .10000E+07
     8 'Prefactor '    23.705       1.0000          .0000       .10000E+07
     9 'norm      '    .22099E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16120E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .32368E-02   1.0000          .0000       .10000E+07
    12 'norm      '    7.9251       1.0000          .0000       .10000E+07
    13 'Prefactor '    32.589       1.0000          .0000       .10000E+07
    14 'Prefactor '    12.350       1.0000          .0000       .10000E+07
    15 'Prefactor '    .51543E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .23975E-06   1.0000          .0000       .10000E+07
    17 'norm      '    3.2083       1.0000          .0000       .10000E+07
    18 'Prefactor '    .25527E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0859       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .63344       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=   5519.740     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     1598 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.757        5.2791        .19973E-07   -.20882E-02
   2  Prefactor     9.2546        5.5156        .27313E-07    .23340E-03
   3  Prefactor     51.649        53.210        .75271E-06   -.42622E-02
   4  norm          5.6943        5.3683       -.64591E-07    .81527E-03
   5  Prefactor     .77716E-09    29.310       -.10891E-05** at limit **
   6  Prefactor     13.271        13.084       -.40002E-07   -.19989E-02
   7  norm          1.9818        .92651        .23605E-07   -.36260E-03
   8  Prefactor     23.791        13.948        .89793E-08   -.11657E-01
   9  norm           .0000        2.6994        .22714E-06** at limit **
  10  Prefactor      .0000        39.919        .48794E-06** at limit **
  11  Prefactor     .10913E-06    10.005       -.24566E-06** at limit **
  12  norm          7.8393        9.1427        .31497E-07    .12404E-03
  13  Prefactor     35.759        46.379        .44031E-06    .36270E-02
  14  Prefactor     12.433        6.3577       -.11140E-07    .65467E-01
  15  Prefactor     .31253E-07    10.298       -.72732E-07** at limit **
  16  norm           .0000        1.5100       -.21153E-06** at limit **
  17  norm          3.1510        4.7665        .42803E-07    .30203E-03
  18  Prefactor     .86597E-08    8.3215       -.64084E-07** at limit **
  19  Normalizat    1.0819        .22790       -.37691E-05    .12162E-04
  20  Prefactor     .63366        .17061        .39682E-05   -.10653E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.7574
  Prefactor  = 9.25459
  Prefactor  = 51.6493
  norm       = 5.69429
  Prefactor  = 7.77156e-10
  Prefactor  = 13.2707
  norm       = 1.98178
  Prefactor  = 23.7909
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.09135e-07
  norm       = 7.8393
  Prefactor  = 35.7585
  Prefactor  = 12.4326
  Prefactor  = 3.12528e-08
  norm       = 0
  norm       = 3.15104
  Prefactor  = 8.65974e-09
  Normalizat = 1.08186
  Prefactor  = 0.633659
 **********
 **   18 **HESSE 
 **********

 FCN=   5519.740     FROM HESSE     STATUS=OK           349 CALLS     1947 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.757        16.521        .17722E-03   -1.5595    
   2  Prefactor     9.2546        5.5220        .32930E-03   -1.5647    
   3  Prefactor     51.649        53.186        .14796E-03   -1.5564    
   4  norm          5.6943        5.3813        .42274E-03   -1.5660    
   5  Prefactor     .77716E-09    29.265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.271        13.137        .27632E-03   -1.5635    
   7  norm          1.9818        .92652        .73394E-03   -1.5680    
   8  Prefactor     23.791        18.422        .20544E-03   -1.5610    
   9  norm           .0000        1.0263        .31851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        39.102        .17307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10913E-06    10.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.8393        9.1500        .35593E-03   -1.5652    
  13  Prefactor     35.759        46.432        .17520E-03   -1.5588    
  14  Prefactor     12.433        20.850        .28479E-03   -1.5637    
  15  Prefactor     .31253E-07    10.714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .63826        .20592E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.1510        4.8178        .56538E-03   -1.5672    
  18  Prefactor     .86597E-08    8.3798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0819        .19879        .38606E-01   -.90336    
  20  Prefactor     .63366        .14796        .41508E-01   -1.0619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67283e-07
Minuit parameter uncertainties:
  1  16.5207
  2  5.52201
  3  53.1863
  4  5.38127
  5  0.000297661
  6  13.1374
  7  0.926522
  8  18.4224
  9  3.41551e-06
  10  4.24976e-05
  11  0.00218915
  12  9.15001
  13  46.4326
  14  20.8503
  15  0.00115778
  16  5.74176e-06
  17  4.81786
  18  0.000538873
  19  0.198931
  20  0.148051
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  4.250e-05  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:  6.337e-01  1.481e-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:  1.082e+00  1.989e-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: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/89041/likelihoodResults_693187201_693446401_4FGL_J2253.2-1232_daily_bin1751.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) = 5519.75217992
delta logL = -0.0125090965967

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5519.73967155
delta logL = -7.27732185624e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .84816E-05   1.0000          .0000       .10000E+07
     2 'Index     '    4.3575       1.0000          .0000       10.000    
     3 'Normalizat'    1.0820       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63367       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=   5519.740     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      269 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    2.8285        .42118E-03** at limit **
   2  Index         1.2811        6.4491        .50000       -.11369E-09
   3  Normalizat    1.0819        .27522E-02    .38786E-01    .92387E-04
   4  Prefactor     .63366        .21127E-02    .41511E-01    .43500E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 1.28113
  Normalizat = 1.08186
  Prefactor  = 0.633658
 **********
 **   18 **HESSE 
 **********

 FCN=   5519.740     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      302 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    14.044        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2811        8.4230        .50000       -.83870    
   3  Normalizat    1.0819        .61383E-02    .24044E-03   -.90336    
   4  Prefactor     .63366        .47101E-02    .11711E-02   -1.0619    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.223e-10
Minuit parameter uncertainties:
  1  0.000119764
  2  100408
  3  0.00613826
  4  0.00471015
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/89041': 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) = 5519.73967082
delta logL = -4.18367562816e-11

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  2.776e-10  1.198e-04  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  1.281e+00  1.004e+05  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:  6.337e-01  4.710e-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:  1.082e+00  6.138e-03  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/89041/cmap_HighResolution_693187201_693446401_4FGL_J2253.2-1232_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.78e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2022-12-23 01:36:10.084663', job_id='89041', GAL2='0.63', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1671788170.08', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='-4.18e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1751' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:36:10 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 89041: <4FGL_J2253.2-1232_daily_bin1751> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1751> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Dec 23 01:25:18 2022
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 01:25:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 01:25:19 2022
Terminated at Fri Dec 23 01:36:10 2022
Results reported at Fri Dec 23 01:36:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1751 343.308 -12.5416 693187201 693446401 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 :                                   499.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             313.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   651 sec.
    Turnaround time :                            652 sec.

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

