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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1593
RA = 343.308, Dec = -12.5416
tmin = 652233601, tmax = 652492801
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='572801', job_status='RUN', time_executed='2021-09-29 01:49:15.918949', time_epoch_executed='1632905355.92' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1593'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/572801

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/572801/ft1_4FGL_J2253.2-1232_daily_bin1593.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/572801/ft2_4FGL_J2253.2-1232_daily_bin1593.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/572801/ft1_4FGL_J2253.2-1232_daily_bin1593.fits outfile=/scratch/kocevski/572801/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1593.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=652233601.0 tmax=652492801.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 4.41
user 4.18
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/572801/ft1_filtered_4FGL_J2253.2-1232_daily_bin1593.fits" evtable="EVENTS" scfile=/scratch/kocevski/572801/ft2_4FGL_J2253.2-1232_daily_bin1593.fits sctable="SC_DATA" outfile=/scratch/kocevski/572801/ltcube_652233601_652492801_4FGL_J2253.2-1232_daily_bin1593.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/572801/ft2_4FGL_J2253.2-1232_daily_bin1593.fits
.....................!
real 11.70
user 11.35
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/572801/ft1_filtered_4FGL_J2253.2-1232_daily_bin1593.fits evtable="EVENTS" scfile=/scratch/kocevski/572801/ft2_4FGL_J2253.2-1232_daily_bin1593.fits sctable="SC_DATA" expcube=/scratch/kocevski/572801/ltcube_652233601_652492801_4FGL_J2253.2-1232_daily_bin1593.fits outfile=/scratch/kocevski/572801/expmap_652233601_652492801_4FGL_J2253.2-1232_daily_bin1593.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/572801/ltcube_652233601_652492801_4FGL_J2253.2-1232_daily_bin1593.fits
.....................!
real 190.97
user 185.51
sys 5.14

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/572801/ft1_filtered_4FGL_J2253.2-1232_daily_bin1593.fits scfile=/scratch/kocevski/572801/ft2_4FGL_J2253.2-1232_daily_bin1593.fits outfile=/scratch/kocevski/572801/cmap_652233601_652492801_4FGL_J2253.2-1232_daily_bin1593.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.36
sys 0.17

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/572801/ft1_filtered_4FGL_J2253.2-1232_daily_bin1593.fits evtable="EVENTS" scfile=/scratch/kocevski/572801/ft2_4FGL_J2253.2-1232_daily_bin1593.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/572801/Model_4FGL_J2253.2-1232_daily_bin1593.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/572801/ft1_filtered_4FGL_J2253.2-1232_daily_bin1593.fits.....................!
real 48.95
user 47.61
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11986E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    54.837       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    51.561       1.0000         .10000E-03   10000.    
     5 'norm      '    1.2673       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .81147E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.910       1.0000         .10000E-03   10000.    
    10 'norm      '    .10290E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    39.434       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    10.111       1.0000         .10000E-03   10000.    
    15 'Prefactor '    65.859       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .38944E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .38101       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .72494       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0801       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=   5525.617     FROM MIGRAD    STATUS=CONVERGED    577 CALLS     2806 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    17.750        .45725E-05** at limit **
   2  Prefactor     54.911        106.24       -.81971E-06   -.10216E-03
   3  Prefactor     .10000E-03    4.3085        .19063E-06** at limit **
   4  Prefactor     51.532        50.976       -.41031E-06   -.74309E-04
   5  norm          1.2663        4.4649       -.20125E-05   -.26933E-03
   6  Prefactor     .10000E-03    26.981        .15088E-05** at limit **
   7  Prefactor     .10000E-03    7.6501        .15632E-07** at limit **
   8  norm          .10566E-03    .79676        .80022E-06** at limit **
   9  Prefactor     26.928        20.432        .97299E-06   -.52232E-03
  10  norm          .10000E-03    .60740       -.31966E-06** at limit **
  11  Prefactor     39.413        40.256       -.17789E-05   -.37399E-03
  12  Prefactor     .10000E-03    3.2644       -.30986E-07** at limit **
  13  Prefactor     .10000E-03    15.003        .21419E-06** at limit **
  14  norm          10.107        11.799       -.26301E-06    .23568E-04
  15  Prefactor     66.043        57.433        .13700E-05    .35872E-03
  16  Prefactor     .10000E-03    6.6828       -.23670E-07** at limit **
  17  Prefactor     .10001E-03    13.027        .87431E-06** at limit **
  18  norm          .10000E-03    .38340       -.15746E-07** at limit **
  19  norm          .36827        3.8991       -.61684E-06   -.21027E-03
  20  Prefactor     .10000E-03    22.834       -.14576E-05** at limit **
  21  Prefactor     .10000E-03    8.6317       -.15405E-06** at limit **
  22  Prefactor     .10000E-03    24.587        .17536E-05** at limit **
  23  Normalizat    .72464        .19497        .24942E-05    .14526E-03
  24  Prefactor     1.0805        .15066        .28484E-06    .28253E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Prefactor  = 54.9114
  Prefactor  = 0.0001
  Prefactor  = 51.5324
  norm       = 1.26628
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000105657
  Prefactor  = 26.9277
  norm       = 0.000100001
  Prefactor  = 39.4131
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.1067
  Prefactor  = 66.0433
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  norm       = 0.0001
  norm       = 0.368273
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.724644
  Prefactor  = 1.08048
 **********
 **   18 **HESSE 
 **********

 FCN=   5525.617     FROM HESSE     STATUS=OK           399 CALLS     3205 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    26.919        .36034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     54.911        107.25        .54167E-04   -1.4225    
   3  Prefactor     .10000E-03    4.4302        .30095E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     51.532        51.020        .55852E-04   -1.4271    
   5  norm          1.2663        4.4878        .25669E-03   -1.5483    
   6  Prefactor     .10000E-03    27.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.6991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10566E-03    1.5295        .15491E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.928        20.862        .77226E-04   -1.4670    
  10  norm          .10000E-03    .92196        .10333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     39.413        40.504        .63829E-04   -1.4452    
  12  Prefactor     .10000E-03    3.2673        .13117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.107        11.808        .12602E-03   -1.5072    
  15  Prefactor     66.043        53.452        .49454E-04   -1.4081    
  16  Prefactor     .10000E-03    6.6845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    22.555        .37630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .39309        .89854E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .36827        13.802        .23814E-02   -1.5587    
  20  Prefactor     .10000E-03    22.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.6834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    24.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .72464        .22381        .28833E-03   -1.0293    
  24  Prefactor     1.0805        .17743        .19486E-03   -.90093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.4642e-09
Minuit parameter uncertainties:
  1  0.000860484
  2  107.627
  3  4.05715e-06
  4  51.0628
  5  4.489
  6  0.00028631
  7  1.96321e-05
  8  0.00588329
  9  20.8673
  10  6.05672e-05
  11  40.5327
  12  3.23734e-06
  13  4.18936e-05
  14  11.8108
  15  53.4912
  16  6.17337e-06
  17  0.000756597
  18  1.62705e-06
  19  4.50949
  20  0.000289255
  21  3.73971e-05
  22  0.000311441
  23  0.224095
  24  0.17753
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  3.941e+01  4.053e+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:  1.080e+00  1.775e-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:  7.246e-01  2.241e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.27
Ra Dec: 343.308 -12.542
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 7.81e-08 +/- 8.02e-08
Energy Flux (Fixed Index): 1.97e-05 +/- 2.02e-05

TS (Fixed Index): 2.27
Ra Dec: 343.308 -12.542
Photon Flux Upper Limit: 1.91e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.50e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/572801/likelihoodResults_652233601_652492801_4FGL_J2253.2-1232_daily_bin1593.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) = 5524.86837957
delta logL = 0.748771945164

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5524.85079369
delta logL = 0.766357826227

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.030       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6504       1.0000          .0000       10.000    
     3 'Normalizat'    .66959       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1122       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=   5524.851     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      288 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.034        249.12        .12063E-03    .47461E-03
   2  Index         3.6505        6.7698        .40418E-02    .25583E-03
   3  Normalizat    .66957        .23886        .29862E-03   -.16641E-03
   4  Prefactor     1.1122        .19931        .19233E-03   -.20965E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.0341
  Index      = 3.65048
  Normalizat = 0.669574
  Prefactor  = 1.11218
 **********
 **   18 **HESSE 
 **********

 FCN=   5524.851     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.034        21.132        .48253E-05   -1.5043    
   2  Index         3.6505        1.0403        .16167E-03   -.27329    
   3  Normalizat    .66957        .22279        .11945E-04   -1.0511    
   4  Prefactor     1.1122        .17789        .38466E-04   -.89078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.80379e-10
Minuit parameter uncertainties:
  1  21.1465
  2  1.04858
  3  0.223089
  4  0.177988
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/572801': 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) = 5524.85079336
delta logL = 0.766358147336

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.103e+01  2.115e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  3.650e+00  1.049e+00  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:  1.112e+00  1.780e-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:  6.696e-01  2.231e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.07
Ra Dec: 343.308 -12.542
Photon Index (Free Index): 3.65 +/- 1.05
Photon Flux (Free Index): 1.22e-07 +/- 7.27e-08
Energy Flux (Free Index): 1.96e-05 +/- 1.20e-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/572801/cmap_HighResolution_652233601_652492801_4FGL_J2253.2-1232_daily_bin1593.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-02', comment='SUCCESS', photon_flux='7.81e-08', energy_flux2='1.96e-05', photon_flux_error='8.02e-08', dlogl='7.66e-01', energy_flux='1.97e-05', photon_flux2='1.22e-07', job_status='DONE', time_completed='2021-09-29 01:59:34.748465', photon_index_error2='1.05', photon_index2='3.65', ts='2.27', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.91e-07', energy_flux_error2='1.20e-05', EG='0.72', time_epoch_completed='1632905974.75', return_code='0', job_id='572801', GAL2='1.11', EG2='0.67', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='7.27e-08', ts2='4.07', photon_index='2.65' WHERE bin_id='1593' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:59:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 572801: <4FGL_J2253.2-1232_daily_bin1593> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1593> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 01:45:26 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:45:27 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:27 2021
Terminated at Wed Sep 29 01:59:35 2021
Results reported at Wed Sep 29 01:59:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1593 343.308 -12.5416 652233601 652492801 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 :                                   606.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            849 sec.

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

