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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1572
RA = 343.308, Dec = -12.5416
tmin = 646790401, tmax = 647049601
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='572769', job_status='RUN', time_executed='2021-09-29 01:46:14.452818', time_epoch_executed='1632905174.45' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1572'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/572769

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/572769/ft1_4FGL_J2253.2-1232_daily_bin1572.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/572769/ft2_4FGL_J2253.2-1232_daily_bin1572.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/572769/ft1_4FGL_J2253.2-1232_daily_bin1572.fits outfile=/scratch/kocevski/572769/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1572.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=646790401.0 tmax=647049601.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.39
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/572769/ft1_filtered_4FGL_J2253.2-1232_daily_bin1572.fits" evtable="EVENTS" scfile=/scratch/kocevski/572769/ft2_4FGL_J2253.2-1232_daily_bin1572.fits sctable="SC_DATA" outfile=/scratch/kocevski/572769/ltcube_646790401_647049601_4FGL_J2253.2-1232_daily_bin1572.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/572769/ft2_4FGL_J2253.2-1232_daily_bin1572.fits
.....................!
real 11.80
user 11.44
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/572769/ft1_filtered_4FGL_J2253.2-1232_daily_bin1572.fits evtable="EVENTS" scfile=/scratch/kocevski/572769/ft2_4FGL_J2253.2-1232_daily_bin1572.fits sctable="SC_DATA" expcube=/scratch/kocevski/572769/ltcube_646790401_647049601_4FGL_J2253.2-1232_daily_bin1572.fits outfile=/scratch/kocevski/572769/expmap_646790401_647049601_4FGL_J2253.2-1232_daily_bin1572.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/572769/ltcube_646790401_647049601_4FGL_J2253.2-1232_daily_bin1572.fits
.....................!
real 192.95
user 187.76
sys 4.87

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/572769/ft1_filtered_4FGL_J2253.2-1232_daily_bin1572.fits scfile=/scratch/kocevski/572769/ft2_4FGL_J2253.2-1232_daily_bin1572.fits outfile=/scratch/kocevski/572769/cmap_646790401_647049601_4FGL_J2253.2-1232_daily_bin1572.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/572769/ft1_filtered_4FGL_J2253.2-1232_daily_bin1572.fits scfile=/scratch/kocevski/572769/ft2_4FGL_J2253.2-1232_daily_bin1572.fits outfile=/scratch/kocevski/572769/cmap_HighResolution_646790401_647049601_4FGL_J2253.2-1232_daily_bin1572.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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/572769/ft1_filtered_4FGL_J2253.2-1232_daily_bin1572.fits evtable="EVENTS" scfile=/scratch/kocevski/572769/ft2_4FGL_J2253.2-1232_daily_bin1572.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/572769/Model_4FGL_J2253.2-1232_daily_bin1572.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/572769/ft1_filtered_4FGL_J2253.2-1232_daily_bin1572.fits.....................!
real 48.89
user 47.50
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.971       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .27724E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.1837       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.0464       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.5650       1.0000         .10000E-03   10000.    
    10 'norm      '    1.6826       1.0000         .10000E-03   10000.    
    11 'Prefactor '    61.284       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10412E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    19.175       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    36.889       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.9354       1.0000         .10000E-03   10000.    
    18 'norm      '    .64925       1.0000         .10000E-03   10000.    
    19 'norm      '    2.6205       1.0000         .10000E-03   10000.    
    20 'Prefactor '    66.143       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11164E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    40.914       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1916       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .58755       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=   5164.070     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2801 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.967        17.223       -.35769E-06    .27709E-04
   2  Prefactor     .10002E-03    90.003        .21163E-04** at limit **
   3  Prefactor     .10007E-03    2.3474       -.11923E-05** at limit **
   4  Prefactor     .10000E-03    25.427        .57269E-05** at limit **
   5  norm          6.1843        3.8805       -.13530E-07    .25323E-03
   6  Prefactor     .10000E-03    28.038       -.11861E-05** at limit **
   7  Prefactor     .10000E-03    8.3066        .25815E-06** at limit **
   8  norm          2.0466        1.0530       -.52288E-07   -.17064E-03
   9  Prefactor     3.4414        164.28       -.58867E-05   -.86172E-04
  10  norm          1.6907        3.7922        .83879E-06   -.76836E-03
  11  Prefactor     61.297        46.257       -.96481E-05   -.20614E-03
  12  Prefactor     .10000E-03    4.4444        .30868E-06** at limit **
  13  Prefactor     .10000E-03    39.417       -.12400E-04** at limit **
  14  norm          19.175        12.311       -.20490E-06    .20642E-04
  15  Prefactor     .10000E-03    10.961        .50815E-06** at limit **
  16  Prefactor     36.883        35.041       -.14191E-05   -.16352E-04
  17  Prefactor     3.9369        6.9428       -.93921E-07   -.19241E-04
  18  norm          .64994        1.1805        .26827E-06    .44214E-03
  19  norm          2.6187        5.9382       -.47037E-07   -.30769E-04
  20  Prefactor     66.136        68.538       -.28593E-05    .11163E-04
  21  Prefactor     .10000E-03    18.014       -.15960E-05** at limit **
  22  Prefactor     40.912        50.018       -.10630E-05   -.10419E-04
  23  Normalizat    1.1918        .21728        .71319E-05   -.86459E-04
  24  Prefactor     .58741        .15280       -.60597E-05    .40731E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.9672
  Prefactor  = 0.00010002
  Prefactor  = 0.000100072
  Prefactor  = 0.000100002
  norm       = 6.18431
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.04663
  Prefactor  = 3.44143
  norm       = 1.69072
  Prefactor  = 61.297
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.1747
  Prefactor  = 0.0001
  Prefactor  = 36.883
  Prefactor  = 3.93689
  norm       = 0.649944
  norm       = 2.61867
  Prefactor  = 66.1356
  Prefactor  = 0.0001
  Prefactor  = 40.9119
  Normalizat = 1.1918
  Prefactor  = 0.587407
 **********
 **   18 **HESSE 
 **********

 FCN=   5164.070     FROM HESSE     STATUS=OK           397 CALLS     3198 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.967        17.257        .75751E-04   -1.4650    
   2  Prefactor     .10002E-03    91.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10007E-03    12.474        .20681E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    25.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.1843        3.8654        .10654E-03   -1.5211    
   6  Prefactor     .10000E-03    28.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.3440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0466        1.0524        .28902E-04   -1.5422    
   9  Prefactor     3.4414        173.44        .21405E-03   -1.5337    
  10  norm          1.6907        3.8422        .70932E-04   -1.5448    
  11  Prefactor     61.297        46.341        .51255E-04   -1.4141    
  12  Prefactor     .10000E-03    4.4627        .14799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    40.057        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          19.175        12.309        .91465E-04   -1.4832    
  15  Prefactor     .10000E-03    10.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     36.883        35.031        .65986E-04   -1.4493    
  17  Prefactor     3.9369        6.8689        .20335E-03   -1.5311    
  18  norm          .64994        1.0151        .98889E-03   -1.5547    
  19  norm          2.6187        5.7995        .23262E-03   -1.5384    
  20  Prefactor     66.136        68.744        .49348E-04   -1.4080    
  21  Prefactor     .10000E-03    18.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     40.912        50.002        .62668E-04   -1.4428    
  23  Normalizat    1.1918        .24501        .24203E-03   -.86857    
  24  Prefactor     .58741        .17105        .24706E-03   -1.0812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.29369e-09
Minuit parameter uncertainties:
  1  17.2599
  2  0.00271827
  3  0.00189333
  4  0.00039216
  5  3.86558
  6  7.10999e-05
  7  1.62313e-06
  8  1.05239
  9  49.0129
  10  3.84273
  11  46.3685
  12  3.09991e-05
  13  0.000207975
  14  12.3109
  15  2.18701e-05
  16  35.0505
  17  6.87023
  18  1.01511
  19  5.80079
  20  68.8263
  21  4.05309e-05
  22  50.0529
  23  0.245251
  24  0.171204
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  6.130e+01  4.637e+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.874e-01  1.712e-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.192e+00  2.453e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.71
Ra Dec: 343.308 -12.542
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 1.21e-07 +/- 9.18e-08
Energy Flux (Fixed Index): 3.06e-05 +/- 2.31e-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) = 5164.07022832
delta logL = 1.77441052074e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5164.07020564
delta logL = 4.04281454394e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    61.594       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6414       1.0000          .0000       10.000    
     3 'Normalizat'    1.1922       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58727       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=   5164.070     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      245 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     61.607        50.048        .51127E-04   -.10681E-02
   2  Index         2.6416        .54650        .47400E-02   -.65874E-03
   3  Normalizat    1.1921        .22990        .24200E-03    .63090E-03
   4  Prefactor     .58722        .16790        .24710E-03    .83079E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 61.6071
  Index      = 2.6416
  Normalizat = 1.19214
  Prefactor  = 0.587219
 **********
 **   18 **HESSE 
 **********

 FCN=   5164.070     FROM HESSE     STATUS=OK            23 CALLS      268 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     61.607        47.308        .10225E-04   -1.4137    
   2  Index         2.6416        .51622        .18960E-03   -.49120    
   3  Normalizat    1.1921        .22985        .48399E-04   -.86846    
   4  Prefactor     .58722        .16787        .49420E-04   -1.0813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.36364e-09
Minuit parameter uncertainties:
  1  47.3373
  2  0.517404
  3  0.230045
  4  0.168017
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/572769': 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) = 5164.07020492
delta logL = 4.11535347666e-05

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  6.161e+01  4.734e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.642e+00  5.174e-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:  5.872e-01  1.680e-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.192e+00  2.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.90
Ra Dec: 343.308 -12.542
Photon Index (Free Index): 2.64 +/- 0.52
Photon Flux (Free Index): 1.21e-07 +/- 7.14e-08
Energy Flux (Free Index): 3.06e-05 +/- 1.72e-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/572769/cmap_HighResolution_646790401_647049601_4FGL_J2253.2-1232_daily_bin1572.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.21e-07', energy_flux2='3.06e-05', photon_flux_error='9.18e-08', dlogl='4.12e-05', energy_flux='3.06e-05', photon_flux2='1.21e-07', job_status='DONE', time_completed='2021-09-29 01:55:12.963489', photon_index_error2='0.52', photon_index2='2.64', ts='5.71', fit_tolerance='1e-08', GAL='0.59', photon_index_error='0.00', energy_flux_error2='1.72e-05', EG='1.19', time_epoch_completed='1632905712.96', return_code='0', job_id='572769', GAL2='0.59', EG2='1.19', return_code2='0', energy_flux_error='2.31e-05', photon_flux_error2='7.14e-08', ts2='5.90', photon_index='2.65' WHERE bin_id='1572' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:55:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 572769: <4FGL_J2253.2-1232_daily_bin1572> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1572> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 01:45:23 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:45:25 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:45:25 2021
Terminated at Wed Sep 29 01:55:13 2021
Results reported at Wed Sep 29 01:55:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1572 343.308 -12.5416 646790401 647049601 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 :                                   534.21 sec.
    Max Memory :                                 1196 MB
    Average Memory :                             363.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   588 sec.
    Turnaround time :                            590 sec.

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

