/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 162 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 = 7410
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2253.2-1232_daily_bin388
RA = 343.308, Dec = -12.5416
tmin = 339897601, tmax = 340156801
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='566664', job_status='RUN', time_executed='2021-09-29 01:28:18.165434', time_epoch_executed='1632904098.17' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='388'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/566664

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/566664/ft1_4FGL_J2253.2-1232_daily_bin388.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/566664/ft2_4FGL_J2253.2-1232_daily_bin388.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/566664/ft1_4FGL_J2253.2-1232_daily_bin388.fits outfile=/scratch/kocevski/566664/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin388.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=339897601.0 tmax=340156801.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.32
user 3.10
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/566664/ft1_filtered_4FGL_J2253.2-1232_daily_bin388.fits" evtable="EVENTS" scfile=/scratch/kocevski/566664/ft2_4FGL_J2253.2-1232_daily_bin388.fits sctable="SC_DATA" outfile=/scratch/kocevski/566664/ltcube_339897601_340156801_4FGL_J2253.2-1232_daily_bin388.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/566664/ft2_4FGL_J2253.2-1232_daily_bin388.fits
.....................!
real 11.57
user 11.18
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/566664/ft1_filtered_4FGL_J2253.2-1232_daily_bin388.fits evtable="EVENTS" scfile=/scratch/kocevski/566664/ft2_4FGL_J2253.2-1232_daily_bin388.fits sctable="SC_DATA" expcube=/scratch/kocevski/566664/ltcube_339897601_340156801_4FGL_J2253.2-1232_daily_bin388.fits outfile=/scratch/kocevski/566664/expmap_339897601_340156801_4FGL_J2253.2-1232_daily_bin388.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/566664/ltcube_339897601_340156801_4FGL_J2253.2-1232_daily_bin388.fits
.....................!
real 190.89
user 185.51
sys 5.02

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/566664/ft1_filtered_4FGL_J2253.2-1232_daily_bin388.fits scfile=/scratch/kocevski/566664/ft2_4FGL_J2253.2-1232_daily_bin388.fits outfile=/scratch/kocevski/566664/cmap_339897601_340156801_4FGL_J2253.2-1232_daily_bin388.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/566664/ft1_filtered_4FGL_J2253.2-1232_daily_bin388.fits scfile=/scratch/kocevski/566664/ft2_4FGL_J2253.2-1232_daily_bin388.fits outfile=/scratch/kocevski/566664/cmap_HighResolution_339897601_340156801_4FGL_J2253.2-1232_daily_bin388.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/566664/ft1_filtered_4FGL_J2253.2-1232_daily_bin388.fits evtable="EVENTS" scfile=/scratch/kocevski/566664/ft2_4FGL_J2253.2-1232_daily_bin388.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/566664/Model_4FGL_J2253.2-1232_daily_bin388.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/566664/ft1_filtered_4FGL_J2253.2-1232_daily_bin388.fits.....................!
real 46.15
user 44.82
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1310       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12306E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    50.539       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.138       1.0000         .10000E-03   10000.    
     8 'norm      '    2.2246       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    63.372       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.7743       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.735       1.0000         .10000E-03   10000.    
    14 'norm      '    15.620       1.0000         .10000E-03   10000.    
    15 'Prefactor '    83.066       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .41883E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    2.8626       1.0000         .10000E-03   10000.    
    19 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.0126       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10498E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    44.873       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1114       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .58683       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.

 FCN=   4574.805     FROM MIGRAD    STATUS=CONVERGED    591 CALLS     3260 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0734        38.325        .16194E-04   -.10271E-03
   2  Prefactor     .10000E-03    22.751       -.77822E-08** at limit **
   3  Prefactor     .10000E-03    2.7852       -.48506E-06** at limit **
   4  Prefactor     .10000E-03    43.661       -.74567E-08** at limit **
   5  norm          50.541        8.2442       -.19469E-06    .49470E-03
   6  Prefactor     .10000E-03    358.86       -.25747E-05** at limit **
   7  Prefactor     10.136        11.313       -.13322E-06    .26717E-04
   8  norm          2.2245        1.1285       -.17748E-07    .11626E-03
   9  Prefactor     .10000E-03    9.3785        .48825E-06** at limit **
  10  norm          .10000E-03    .63607        .45875E-06** at limit **
  11  Prefactor     63.409        37.704       -.23034E-05   -.35870E-04
  12  Prefactor     7.7725        10.041        .51912E-06   -.15931E-06
  13  Prefactor     15.730        13.399       -.23359E-06    .47999E-04
  14  norm          15.618        14.152       -.40988E-07    .27341E-04
  15  Prefactor     83.292        79.507        .28245E-05   -.78860E-04
  16  Prefactor     .10000E-03    11.053        .38228E-07** at limit **
  17  Prefactor     .13633E-03    18.578       -.41176E-06** at limit **
  18  norm          2.8620        1.7780        .23428E-06   -.87803E-04
  19  norm          .10000E-03    9.2136       -.43441E-06** at limit **
  20  Prefactor     3.9477        222.44       -.58769E-05    .25911E-05
  21  Prefactor     .10000E-03    12.798        .16830E-06** at limit **
  22  Prefactor     44.895        73.077        .40264E-05   -.25668E-04
  23  Normalizat    1.1119        .26095       -.24201E-05   -.10385E-03
  24  Prefactor     .58658        .16691        .36802E-05    .26589E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.07339
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 50.5406
  Prefactor  = 0.0001
  Prefactor  = 10.1364
  norm       = 2.22454
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 63.4093
  Prefactor  = 7.77248
  Prefactor  = 15.7298
  norm       = 15.618
  Prefactor  = 83.2916
  Prefactor  = 0.0001
  Prefactor  = 0.000136333
  norm       = 2.86196
  norm       = 0.0001
  Prefactor  = 3.94774
  Prefactor  = 0.0001
  Prefactor  = 44.8953
  Normalizat = 1.11193
  Prefactor  = 0.586577
 **********
 **   18 **HESSE 
 **********

 FCN=   4574.805     FROM HESSE     STATUS=OK           405 CALLS     3665 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0734        40.805        .21960E-02   -1.5501    
   2  Prefactor     .10000E-03    22.753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.624        .21596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    43.705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          50.541        8.1728        .56411E-04   -1.4285    
   6  Prefactor     .10000E-03    360.49        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.136        11.315        .12584E-03   -1.5071    
   8  norm          2.2245        1.1265        .49057E-04   -1.5410    
   9  Prefactor     .10000E-03    9.4077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .66375        .10512E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     63.409        37.602        .50409E-04   -1.4114    
  12  Prefactor     7.7725        10.032        .14382E-03   -1.5150    
  13  Prefactor     15.730        13.401        .10097E-03   -1.4915    
  14  norm          15.618        14.153        .10134E-03   -1.4917    
  15  Prefactor     83.292        124.04        .22036E-03   -1.3880    
  16  Prefactor     .10000E-03    11.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .13633E-03    61.380        .61896E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.8620        1.7809        .67843E-04   -1.5370    
  19  norm          .10000E-03    9.5157        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.9477        222.33        .20132E-03   -1.5311    
  21  Prefactor     .10000E-03    12.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     44.895        73.243        .59851E-04   -1.4367    
  23  Normalizat    1.1119        .29411        .26311E-03   -.89370    
  24  Prefactor     .58658        .19480        .25604E-03   -1.0815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69638e-09
Minuit parameter uncertainties:
  1  13.2454
  2  1.29141e-05
  3  0.000125059
  4  0.000121505
  5  8.173
  6  0.000552036
  7  11.3178
  8  1.12649
  9  0.000136296
  10  2.96679e-05
  11  37.6162
  12  10.0339
  13  13.4032
  14  14.1562
  15  124.428
  16  2.87518e-06
  17  0.0945446
  18  1.78091
  19  0.000131779
  20  59.4851
  21  8.98282e-05
  22  73.3903
  23  0.294548
  24  0.195023
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  6.341e+01  3.762e+01  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:  5.866e-01  1.950e-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.112e+00  2.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.59
Ra Dec: 343.308 -12.542
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 7.45e-08
Energy Flux (Fixed Index): 3.16e-05 +/- 1.88e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4574.14410682
delta logL = 0.660692441939

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4574.14154318
delta logL = 0.663256086043

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.195       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3662       1.0000          .0000       10.000    
     3 'Normalizat'    1.0515       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61912       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=   4574.142     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      293 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.185        39.776        .76821E-04    .24181E-03
   2  Index         3.3662        .85722        .36425E-02    .10244E-03
   3  Normalizat    1.0518        .26765        .26917E-03   -.25825E-03
   4  Prefactor     .61907        .19124        .24968E-03   -.34886E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.1848
  Index      = 3.3662
  Normalizat = 1.05177
  Prefactor  = 0.619065
 **********
 **   18 **HESSE 
 **********

 FCN=   4574.142     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.185        32.281        .30729E-05   -1.4665    
   2  Index         3.3662        .69611        .14570E-03   -.33287    
   3  Normalizat    1.0518        .26742        .53834E-04   -.91316    
   4  Prefactor     .61907        .19085        .49935E-04   -1.0679    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.58655e-10
Minuit parameter uncertainties:
  1  32.3015
  2  0.69865
  3  0.267759
  4  0.191049
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/566664': 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) = 4574.14154182
delta logL = 0.663257445503

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  2.718e+01  3.230e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  3.366e+00  6.986e-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:  6.191e-01  1.910e-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.052e+00  2.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.03
Ra Dec: 343.308 -12.542
Photon Index (Free Index): 3.37 +/- 0.70
Photon Flux (Free Index): 1.81e-07 +/- 9.64e-08
Energy Flux (Free Index): 3.13e-05 +/- 1.60e-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/566664/cmap_HighResolution_339897601_340156801_4FGL_J2253.2-1232_daily_bin388.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='3.13e-05', photon_flux_error='7.45e-08', dlogl='6.63e-01', energy_flux='3.16e-05', photon_flux2='1.81e-07', job_status='DONE', time_completed='2021-09-29 01:37:07.962139', photon_index_error2='0.70', photon_index2='3.37', ts='4.59', fit_tolerance='1e-08', GAL='0.59', photon_index_error='0.00', energy_flux_error2='1.60e-05', EG='1.11', time_epoch_completed='1632904627.96', return_code='0', job_id='566664', GAL2='0.62', EG2='1.05', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='9.64e-08', ts2='6.03', photon_index='2.65' WHERE bin_id='388' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:37:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 566664: <4FGL_J2253.2-1232_daily_bin388> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin388> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 01:25:26 2021
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:25:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 01:25:28 2021
Terminated at Wed Sep 29 01:37:08 2021
Results reported at Wed Sep 29 01:37:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin388 343.308 -12.5416 339897601 340156801 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 :                                   528.43 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             309.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   700 sec.
    Turnaround time :                            702 sec.

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

