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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1267
RA = 343.308, Dec = -12.5416
tmin = 567734401, tmax = 567993601
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='571146', job_status='RUN', time_executed='2021-09-29 01:43:15.193198', time_epoch_executed='1632904995.19' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1267'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/571146

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/571146/ft1_4FGL_J2253.2-1232_daily_bin1267.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/571146/ft2_4FGL_J2253.2-1232_daily_bin1267.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/571146/ft1_4FGL_J2253.2-1232_daily_bin1267.fits outfile=/scratch/kocevski/571146/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1267.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=567734401.0 tmax=567993601.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.34
user 2.12
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/571146/ft1_filtered_4FGL_J2253.2-1232_daily_bin1267.fits" evtable="EVENTS" scfile=/scratch/kocevski/571146/ft2_4FGL_J2253.2-1232_daily_bin1267.fits sctable="SC_DATA" outfile=/scratch/kocevski/571146/ltcube_567734401_567993601_4FGL_J2253.2-1232_daily_bin1267.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/571146/ft2_4FGL_J2253.2-1232_daily_bin1267.fits
.....................!
real 13.71
user 13.27
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/571146/ft1_filtered_4FGL_J2253.2-1232_daily_bin1267.fits evtable="EVENTS" scfile=/scratch/kocevski/571146/ft2_4FGL_J2253.2-1232_daily_bin1267.fits sctable="SC_DATA" expcube=/scratch/kocevski/571146/ltcube_567734401_567993601_4FGL_J2253.2-1232_daily_bin1267.fits outfile=/scratch/kocevski/571146/expmap_567734401_567993601_4FGL_J2253.2-1232_daily_bin1267.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/571146/ltcube_567734401_567993601_4FGL_J2253.2-1232_daily_bin1267.fits
.....................!
real 190.80
user 185.57
sys 4.84

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/571146/ft1_filtered_4FGL_J2253.2-1232_daily_bin1267.fits scfile=/scratch/kocevski/571146/ft2_4FGL_J2253.2-1232_daily_bin1267.fits outfile=/scratch/kocevski/571146/cmap_567734401_567993601_4FGL_J2253.2-1232_daily_bin1267.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/571146/ft1_filtered_4FGL_J2253.2-1232_daily_bin1267.fits scfile=/scratch/kocevski/571146/ft2_4FGL_J2253.2-1232_daily_bin1267.fits outfile=/scratch/kocevski/571146/cmap_HighResolution_567734401_567993601_4FGL_J2253.2-1232_daily_bin1267.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.59
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/571146/ft1_filtered_4FGL_J2253.2-1232_daily_bin1267.fits evtable="EVENTS" scfile=/scratch/kocevski/571146/ft2_4FGL_J2253.2-1232_daily_bin1267.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/571146/Model_4FGL_J2253.2-1232_daily_bin1267.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/571146/ft1_filtered_4FGL_J2253.2-1232_daily_bin1267.fits.....................!
real 61.44
user 60.11
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0555       1.0000         .10000E-03   10000.    
     2 'Prefactor '    43.280       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8308       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.008       1.0000         .10000E-03   10000.    
     5 'norm      '    4.3858       1.0000         .10000E-03   10000.    
     6 'Prefactor '    44.174       1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.257       1.0000         .10000E-03   10000.    
     8 'norm      '    .27560       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.8713       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.0076       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .21192E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.7320       1.0000         .10000E-03   10000.    
    19 'norm      '    3.8258       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.1043       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2847       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .63844       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=   6973.158     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2729 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0564        9.0656       -.15811E-07    .48430E-04
   2  Prefactor     43.283        61.512        .70870E-06    .45576E-04
   3  Prefactor     2.8308        3.3262       -.72437E-06    .65711E-03
   4  Prefactor     11.002        38.750        .97488E-06    .39637E-04
   5  norm          4.3859        3.0102        .45823E-07    .25609E-03
   6  Prefactor     44.168        53.166       -.18790E-06    .22934E-04
   7  Prefactor     17.257        14.426       -.21075E-07    .40404E-04
   8  norm          .27606        .38901       -.72375E-06   -.90995E-03
   9  Prefactor     .10000E-03    16.467       -.96818E-06** at limit **
  10  norm          3.8722        1.1135        .17063E-06    .89500E-02
  11  Prefactor     .10000E-03    14.172        .11422E-05** at limit **
  12  Prefactor     3.0078        4.6618       -.72886E-07    .59033E-04
  13  Prefactor     .10000E-03    5.7550        .22100E-07** at limit **
  14  norm          .10002E-03    75.476       -.23284E-04** at limit **
  15  Prefactor     .10000E-03    46.232        .89188E-06** at limit **
  16  Prefactor     .10000E-03    9.1693       -.93032E-07** at limit **
  17  Prefactor     .10000E-03    2.6541       -.51069E-07** at limit **
  18  norm          1.7319        1.0007       -.16772E-07   -.91095E-05
  19  norm          3.8256        3.5418       -.24216E-06    .39833E-04
  20  Prefactor     .10000E-03    26.223        .93433E-06** at limit **
  21  Prefactor     5.1041        11.022       -.30769E-06   -.15356E-03
  22  Prefactor     .10000E-03    51.121       -.10140E-05** at limit **
  23  Normalizat    1.2848        .16934        .21445E-06    .39842E-03
  24  Prefactor     .63836        .12769        .31590E-06    .35473E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.05644
  Prefactor  = 43.2828
  Prefactor  = 2.83077
  Prefactor  = 11.0019
  norm       = 4.38594
  Prefactor  = 44.1685
  Prefactor  = 17.2568
  norm       = 0.276062
  Prefactor  = 0.0001
  norm       = 3.87216
  Prefactor  = 0.0001
  Prefactor  = 3.00784
  Prefactor  = 0.0001
  norm       = 0.000100016
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.73194
  norm       = 3.82561
  Prefactor  = 0.0001
  Prefactor  = 5.10414
  Prefactor  = 0.0001
  Normalizat = 1.28478
  Prefactor  = 0.638356
 **********
 **   18 **HESSE 
 **********

 FCN=   6973.158     FROM HESSE     STATUS=OK           401 CALLS     3130 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0564        9.0585        .20022E-03   -1.5305    
   2  Prefactor     43.283        61.494        .60938E-04   -1.4391    
   3  Prefactor     2.8308        3.3306        .78417E-03   -1.5371    
   4  Prefactor     11.002        38.780        .12075E-03   -1.5044    
   5  norm          4.3859        3.0019        .11220E-03   -1.5289    
   6  Prefactor     44.168        53.150        .60321E-04   -1.4378    
   7  Prefactor     17.257        14.448        .96414E-04   -1.4877    
   8  norm          .27606        .38920        .77428E-03   -1.5603    
   9  Prefactor     .10000E-03    16.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.8722        1.1304        .45862E-04   -1.5314    
  11  Prefactor     .10000E-03    14.149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.0078        4.6478        .21854E-03   -1.5361    
  13  Prefactor     .10000E-03    5.7793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10002E-03    73.319        .34922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    46.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.1748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.6708        .13282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.7319        1.0008        .61252E-04   -1.5445    
  19  norm          3.8256        3.5345        .73025E-03   -1.5317    
  20  Prefactor     .10000E-03    26.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.1041        11.027        .17796E-03   -1.5256    
  22  Prefactor     .10000E-03    51.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2848        .19752        .23051E-03   -.84022    
  24  Prefactor     .63836        .14867        .23954E-03   -1.0599    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09443e-09
Minuit parameter uncertainties:
  1  9.06159
  2  61.5843
  3  3.33079
  4  38.8688
  5  3.00198
  6  53.2071
  7  14.451
  8  0.389206
  9  4.53878e-05
  10  1.13042
  11  6.98678e-05
  12  4.64832
  13  1.12029e-05
  14  0.00219821
  15  0.000375497
  16  4.14994e-06
  17  1.21121e-05
  18  1.00082
  19  3.53467
  20  0.000112256
  21  11.0311
  22  7.41574e-05
  23  0.197631
  24  0.148766
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  6.987e-05  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:  6.384e-01  1.488e-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.285e+00  1.976e-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: 8.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/571146/likelihoodResults_567734401_567993601_4FGL_J2253.2-1232_daily_bin1267.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) = 6973.15857861
delta logL = -0.000336860925017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6973.15824171
delta logL = 4.00377757614e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6631       1.0000          .0000       10.000    
     3 'Normalizat'    1.2848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63836       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=   6973.158     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      212 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    635.86        .90712E-02** at limit **
   2  Index         2.6807        5.8328        .50000       -.11872E-04
   3  Normalizat    1.2848        .29786E-01    .52135E-01   -.61434E-05
   4  Prefactor     .63836        .22690E-01    .41575E-01    .93062E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.68066
  Normalizat = 1.28478
  Prefactor  = 0.638355
 **********
 **   18 **HESSE 
 **********

 FCN=   6973.158     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      245 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1746.1        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6807        7.8372        .50000       -.48236    
   3  Normalizat    1.2848        .58089E-01    .23051E-03   -.84022    
   4  Prefactor     .63836        .44254E-01    .23954E-03   -1.0599    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.99754e-08
Minuit parameter uncertainties:
  1  0.000192204
  2  50.2683
  3  0.0580917
  4  0.0442568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/571146': 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) = 6973.15824166
delta logL = 8.74106262927e-08

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  1.922e-04  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.681e+00  5.027e+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.384e-01  4.426e-02  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.285e+00  5.809e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/571146/cmap_HighResolution_567734401_567993601_4FGL_J2253.2-1232_daily_bin1267.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.81e-03', job_status='DONE', photon_flux_upper_limit='8.67e-08', time_completed='2021-09-29 01:55:20.942384', job_id='571146', GAL2='0.64', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1632905720.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='8.74e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1267' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:55:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 571146: <4FGL_J2253.2-1232_daily_bin1267> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1267> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 01:40:28 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:40:29 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:40:29 2021
Terminated at Wed Sep 29 01:55:21 2021
Results reported at Wed Sep 29 01:55:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1267 343.308 -12.5416 567734401 567993601 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 :                                   668.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            893 sec.

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

