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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1282
RA = 343.308, Dec = -12.5416
tmin = 571622401, tmax = 571881601
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='571168', job_status='RUN', time_executed='2021-09-29 01:44:28.507192', time_epoch_executed='1632905068.51' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1282'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/571168

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/571168/ft1_4FGL_J2253.2-1232_daily_bin1282.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/571168/ft2_4FGL_J2253.2-1232_daily_bin1282.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/571168/ft1_4FGL_J2253.2-1232_daily_bin1282.fits outfile=/scratch/kocevski/571168/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1282.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=571622401.0 tmax=571881601.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.70
user 2.49
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/571168/ft1_filtered_4FGL_J2253.2-1232_daily_bin1282.fits" evtable="EVENTS" scfile=/scratch/kocevski/571168/ft2_4FGL_J2253.2-1232_daily_bin1282.fits sctable="SC_DATA" outfile=/scratch/kocevski/571168/ltcube_571622401_571881601_4FGL_J2253.2-1232_daily_bin1282.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/571168/ft2_4FGL_J2253.2-1232_daily_bin1282.fits
.....................!
real 12.76
user 12.39
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/571168/ft1_filtered_4FGL_J2253.2-1232_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/571168/ft2_4FGL_J2253.2-1232_daily_bin1282.fits sctable="SC_DATA" expcube=/scratch/kocevski/571168/ltcube_571622401_571881601_4FGL_J2253.2-1232_daily_bin1282.fits outfile=/scratch/kocevski/571168/expmap_571622401_571881601_4FGL_J2253.2-1232_daily_bin1282.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/571168/ltcube_571622401_571881601_4FGL_J2253.2-1232_daily_bin1282.fits
.....................!
real 193.70
user 188.17
sys 5.00

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/571168/ft1_filtered_4FGL_J2253.2-1232_daily_bin1282.fits scfile=/scratch/kocevski/571168/ft2_4FGL_J2253.2-1232_daily_bin1282.fits outfile=/scratch/kocevski/571168/cmap_571622401_571881601_4FGL_J2253.2-1232_daily_bin1282.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/571168/ft1_filtered_4FGL_J2253.2-1232_daily_bin1282.fits scfile=/scratch/kocevski/571168/ft2_4FGL_J2253.2-1232_daily_bin1282.fits outfile=/scratch/kocevski/571168/cmap_HighResolution_571622401_571881601_4FGL_J2253.2-1232_daily_bin1282.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/571168/ft1_filtered_4FGL_J2253.2-1232_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/571168/ft2_4FGL_J2253.2-1232_daily_bin1282.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/571168/Model_4FGL_J2253.2-1232_daily_bin1282.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/571168/ft1_filtered_4FGL_J2253.2-1232_daily_bin1282.fits.....................!
real 31.07
user 29.81
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    99.844       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.6851       1.0000         .10000E-03   10000.    
     4 'Prefactor '    101.30       1.0000         .10000E-03   10000.    
     5 'norm      '    13.939       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    189.25       1.0000         .10000E-03   10000.    
     8 'norm      '    .11723E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.3215       1.0000         .10000E-03   10000.    
    11 'Prefactor '    39.790       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    24.772       1.0000         .10000E-03   10000.    
    15 'Prefactor '    117.58       1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.163       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.3086       1.0000         .10000E-03   10000.    
    19 'norm      '    6.9392       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.1695       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11077E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.986       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .87771       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .70825       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=   2489.710     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2748 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     99.869        109.06        .10273E-05    .61540E-04
   2  Prefactor     .10000E-03    212.53        .47579E-06** at limit **
   3  Prefactor     6.6855        9.4507        .42876E-05    .31549E-03
   4  Prefactor     101.23        226.43        .83419E-05    .49115E-04
   5  norm          13.938        11.322       -.60539E-06    .80519E-04
   6  Prefactor     .10000E-03    86.443       -.40084E-06** at limit **
   7  Prefactor     189.26        109.57        .19059E-05   -.96782E-05
   8  norm          .10000E-03    2.2699       -.15924E-05** at limit **
   9  Prefactor     .10000E-03    17.531        .33005E-06** at limit **
  10  norm          5.3214        3.2691       -.24982E-06    .48133E-03
  11  Prefactor     39.828        86.315        .53506E-05    .79234E-04
  12  Prefactor     .10000E-03    8.3075        .97990E-07** at limit **
  13  Prefactor     .10000E-03    12.429       -.38264E-07** at limit **
  14  norm          24.771        18.872       -.96036E-07    .88077E-05
  15  Prefactor     117.62        90.637        .26701E-05    .50219E-04
  16  Prefactor     23.159        51.461        .26396E-05   -.55618E-05
  17  Prefactor     .10000E-03    12.467        .10136E-05** at limit **
  18  norm          1.3087        1.3794        .10568E-06    .71853E-04
  19  norm          6.9390        8.0583        .21903E-07   -.26830E-04
  20  Prefactor     4.2770        400.39        .30660E-05    .27756E-04
  21  Prefactor     .10000E-03    33.123        .93324E-05** at limit **
  22  Prefactor     17.030        120.59        .56661E-05    .31283E-04
  23  Normalizat    .87712        .37082       -.13009E-04    .16973E-03
  24  Prefactor     .70861        .24946        .81098E-05    .11353E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 99.8691
  Prefactor  = 0.000100001
  Prefactor  = 6.68546
  Prefactor  = 101.229
  norm       = 13.9385
  Prefactor  = 0.0001
  Prefactor  = 189.255
  norm       = 0.000100005
  Prefactor  = 0.0001
  norm       = 5.32144
  Prefactor  = 39.8283
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 24.7706
  Prefactor  = 117.62
  Prefactor  = 23.1588
  Prefactor  = 0.0001
  norm       = 1.30871
  norm       = 6.93897
  Prefactor  = 4.27703
  Prefactor  = 0.000100002
  Prefactor  = 17.0304
  Normalizat = 0.877124
  Prefactor  = 0.708608
 **********
 **   18 **HESSE 
 **********

 FCN=   2489.710     FROM HESSE     STATUS=OK           395 CALLS     3143 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     99.869        109.06        .40233E-04   -1.3706    
   2  Prefactor     .10000E-03    212.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.6855        9.5902        .77598E-03   -1.5191    
   4  Prefactor     101.23        222.55        .19973E-03   -1.3692    
   5  norm          13.938        11.322        .10728E-03   -1.4961    
   6  Prefactor     .10000E-03    86.467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     189.26        109.96        .14678E-03   -1.2948    
   8  norm          .10000E-03    5.3674        .13677E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.3214        3.3316        .54358E-04   -1.5247    
  11  Prefactor     39.828        88.060        .63544E-04   -1.4445    
  12  Prefactor     .10000E-03    8.3128        .14045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.450        .17182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          24.771        18.932        .80484E-04   -1.4712    
  15  Prefactor     117.62        90.755        .18554E-03   -1.3535    
  16  Prefactor     23.159        51.314        .83228E-04   -1.4745    
  17  Prefactor     .10000E-03    12.487        .17154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.3087        1.3572        .56727E-04   -1.5479    
  19  norm          6.9390        8.0195        .13806E-03   -1.5181    
  20  Prefactor     4.2770        387.71        .19738E-03   -1.5294    
  21  Prefactor     .10000E-03    33.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     17.030        120.50        .97178E-04   -1.4882    
  23  Normalizat    .87712        .40257        .30175E-03   -.97269    
  24  Prefactor     .70861        .27369        .24088E-03   -1.0319    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80602e-09
Minuit parameter uncertainties:
  1  109.275
  2  0.000813462
  3  9.59238
  4  224.43
  5  11.3242
  6  0.000181375
  7  110.085
  8  0.000323155
  9  2.31945e-06
  10  3.33168
  11  88.3491
  12  2.76926e-06
  13  4.32723e-06
  14  18.9367
  15  90.8624
  16  51.4116
  17  9.95173e-06
  18  1.35728
  19  8.02079
  20  81.9955
  21  0.00057253
  22  90.8635
  23  0.40396
  24  0.274215
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  3.983e+01  8.835e+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:  7.086e-01  2.742e-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:  8.771e-01  4.040e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/571168/likelihoodResults_571622401_571881601_4FGL_J2253.2-1232_daily_bin1282.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) = 2489.4215291
delta logL = 0.288133540721

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2489.31114615
delta logL = 0.398516489367

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    86.111       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6067       1.0000          .0000       10.000    
     3 'Normalizat'    .91642       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67994       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=   2489.311     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      260 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     85.851        108.69        .21646E-03   -.46743E-05
   2  Index         1.6054        .71480        .68392E-02   -.61945E-05
   3  Normalizat    .91617        .35302        .29580E-03   -.21888E-04
   4  Prefactor     .68028        .25711        .24500E-03   -.65914E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 85.8514
  Index      = 1.6054
  Normalizat = 0.916171
  Prefactor  = 0.680276
 **********
 **   18 **HESSE 
 **********

 FCN=   2489.311     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     85.851        111.34        .86586E-05   -1.3852    
   2  Index         1.6054        .73225        .27357E-03   -.74629    
   3  Normalizat    .91617        .35337        .11832E-04   -.95894    
   4  Prefactor     .68028        .25736        .98001E-05   -1.0431    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09773e-11
Minuit parameter uncertainties:
  1  111.613
  2  0.73719
  3  0.354274
  4  0.257806
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/571168': 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) = 2489.3111424
delta logL = 0.398520237628

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  8.585e+01  1.116e+02  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  1.605e+00  7.372e-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.803e-01  2.578e-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:  9.162e-01  3.543e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.19
Ra Dec: 343.308 -12.542
Photon Index (Free Index): 1.61 +/- 0.74
Photon Flux (Free Index): 4.67e-08 +/- 7.49e-08
Energy Flux (Free Index): 1.04e-04 +/- 1.75e-04

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/571168/cmap_HighResolution_571622401_571881601_4FGL_J2253.2-1232_daily_bin1282.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.96e-02', comment='SUCCESS', energy_flux2='1.04e-04', dlogl='3.99e-01', photon_flux2='4.67e-08', job_status='DONE', time_completed='2021-09-29 01:53:55.589297', photon_index_error2='0.74', photon_index2='1.61', ts='0.38', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='3.77e-07', energy_flux_error2='1.75e-04', EG='0.88', time_epoch_completed='1632905635.59', return_code='0', job_id='571168', GAL2='0.68', EG2='0.92', return_code2='0', photon_flux_error2='7.49e-08', ts2='1.19', photon_index='2.65' WHERE bin_id='1282' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:53:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 571168: <4FGL_J2253.2-1232_daily_bin1282> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1282 343.308 -12.5416 571622401 571881601 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 :                                   431.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             207.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            807 sec.

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

