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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1042
RA = 343.308, Dec = -12.5416
tmin = 509414401, tmax = 509673601
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='569729', job_status='RUN', time_executed='2021-09-29 01:36:22.745675', time_epoch_executed='1632904582.75' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1042'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/569729

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/569729/ft1_4FGL_J2253.2-1232_daily_bin1042.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/569729/ft2_4FGL_J2253.2-1232_daily_bin1042.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/569729/ft1_4FGL_J2253.2-1232_daily_bin1042.fits outfile=/scratch/kocevski/569729/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1042.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=509414401.0 tmax=509673601.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.70
user 3.46
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/569729/ft1_filtered_4FGL_J2253.2-1232_daily_bin1042.fits" evtable="EVENTS" scfile=/scratch/kocevski/569729/ft2_4FGL_J2253.2-1232_daily_bin1042.fits sctable="SC_DATA" outfile=/scratch/kocevski/569729/ltcube_509414401_509673601_4FGL_J2253.2-1232_daily_bin1042.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/569729/ft2_4FGL_J2253.2-1232_daily_bin1042.fits
.....................!
real 12.05
user 11.69
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/569729/ft1_filtered_4FGL_J2253.2-1232_daily_bin1042.fits evtable="EVENTS" scfile=/scratch/kocevski/569729/ft2_4FGL_J2253.2-1232_daily_bin1042.fits sctable="SC_DATA" expcube=/scratch/kocevski/569729/ltcube_509414401_509673601_4FGL_J2253.2-1232_daily_bin1042.fits outfile=/scratch/kocevski/569729/expmap_509414401_509673601_4FGL_J2253.2-1232_daily_bin1042.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/569729/ltcube_509414401_509673601_4FGL_J2253.2-1232_daily_bin1042.fits
.....................!
real 189.64
user 184.48
sys 4.79

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/569729/ft1_filtered_4FGL_J2253.2-1232_daily_bin1042.fits scfile=/scratch/kocevski/569729/ft2_4FGL_J2253.2-1232_daily_bin1042.fits outfile=/scratch/kocevski/569729/cmap_509414401_509673601_4FGL_J2253.2-1232_daily_bin1042.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.39
sys 0.13

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/569729/ft1_filtered_4FGL_J2253.2-1232_daily_bin1042.fits evtable="EVENTS" scfile=/scratch/kocevski/569729/ft2_4FGL_J2253.2-1232_daily_bin1042.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/569729/Model_4FGL_J2253.2-1232_daily_bin1042.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/569729/ft1_filtered_4FGL_J2253.2-1232_daily_bin1042.fits.....................!
real 57.72
user 56.35
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9876       1.0000         .10000E-03   10000.    
     2 'Prefactor '    49.295       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.3786       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11202E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    44.605       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11309E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.4168       1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.865       1.0000         .10000E-03   10000.    
    10 'norm      '    15.723       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12218E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.757       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.1454       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11215E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .71552       1.0000         .10000E-03   10000.    
    19 'norm      '    33.681       1.0000         .10000E-03   10000.    
    20 'Prefactor '    93.301       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10523E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11015E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .55698       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3575       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=   5968.265     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     3176 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9929        18.002       -.97927E-06    .12738E-04
   2  Prefactor     49.048        173.86        .16145E-04   -.25505E-05
   3  Prefactor     5.3766        6.4952        .12647E-06    .14618E-03
   4  Prefactor     .10000E-03    39.406       -.11990E-05** at limit **
   5  norm          44.605        9.9045       -.40114E-06    .19645E-03
   6  Prefactor     .10000E-03    43.851       -.11558E-05** at limit **
   7  Prefactor     .10000E-03    7.1563        .15416E-06** at limit **
   8  norm          2.4171        1.4577       -.73972E-07    .18236E-03
   9  Prefactor     26.978        78.690        .21211E-04    .16919E-04
  10  norm          15.705        6.6457       -.25482E-05   -.11930E-03
  11  Prefactor     .10000E-03    27.106        .31252E-05** at limit **
  12  Prefactor     33.761        19.676        .32488E-06    .24376E-04
  13  Prefactor     .10000E-03    10.851        .73061E-06** at limit **
  14  norm          2.1427        18.391        .17904E-05    .40820E-04
  15  Prefactor     .10000E-03    59.316        .19032E-05** at limit **
  16  Prefactor     .10000E-03    12.160       -.17526E-06** at limit **
  17  Prefactor     .10000E-03    10.871        .17136E-06** at limit **
  18  norm          .71549        1.6693        .73175E-06    .43038E-03
  19  norm          33.677        10.906       -.20160E-06   -.10585E-03
  20  Prefactor     93.261        71.933        .41781E-05    .23551E-04
  21  Prefactor     .10000E-03    18.870       -.31977E-05** at limit **
  22  Prefactor     .10000E-03    31.909        .29953E-06** at limit **
  23  Normalizat    .55660        .29983       -.14602E-04    .10608E-04
  24  Prefactor     1.3578        .22495        .63072E-05   -.18006E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.99288
  Prefactor  = 49.0478
  Prefactor  = 5.37661
  Prefactor  = 0.0001
  norm       = 44.6047
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.41713
  Prefactor  = 26.9783
  norm       = 15.7046
  Prefactor  = 0.0001
  Prefactor  = 33.7607
  Prefactor  = 0.0001
  norm       = 2.14273
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.715486
  norm       = 33.6774
  Prefactor  = 93.2606
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.556595
  Prefactor  = 1.35783
 **********
 **   18 **HESSE 
 **********

 FCN=   5968.265     FROM HESSE     STATUS=OK           397 CALLS     3573 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9929        17.930        .14187E-03   -1.5142    
   2  Prefactor     49.048        174.99        .28558E-03   -1.4306    
   3  Prefactor     5.3766        6.4880        .17328E-03   -1.5244    
   4  Prefactor     .10000E-03    39.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          44.605        9.8712        .60030E-04   -1.4371    
   6  Prefactor     .10000E-03    43.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.1643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.4171        1.4512        .67533E-04   -1.5397    
   9  Prefactor     26.978        79.079        .77291E-04   -1.4669    
  10  norm          15.705        6.6965        .51529E-04   -1.4915    
  11  Prefactor     .10000E-03    27.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     33.761        19.698        .68970E-04   -1.4545    
  13  Prefactor     .10000E-03    10.968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.1427        18.395        .28135E-03   -1.5415    
  15  Prefactor     .10000E-03    59.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .71549        1.6240        .14192E-03   -1.5539    
  19  norm          33.677        10.780        .69047E-04   -1.4547    
  20  Prefactor     93.261        72.055        .20803E-03   -1.3774    
  21  Prefactor     .10000E-03    19.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    31.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .55660        .31717        .45891E-03   -1.0986    
  24  Prefactor     1.3578        .24457        .24051E-03   -.81603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79199e-10
Minuit parameter uncertainties:
  1  17.942
  2  176.875
  3  6.48885
  4  5.47112e-05
  5  9.87159
  6  9.69015e-05
  7  1.57432e-05
  8  1.45122
  9  79.3889
  10  6.69685
  11  0.000102384
  12  19.7018
  13  4.53099e-05
  14  12.5611
  15  6.57063e-06
  16  1.4428e-05
  17  3.34981e-05
  18  1.62411
  19  10.7811
  20  72.1231
  21  0.000174201
  22  5.51454e-06
  23  0.318212
  24  0.244774
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  1.024e-04  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.358e+00  2.448e-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:  5.566e-01  3.182e-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: 1.73e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.36e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/569729/likelihoodResults_509414401_509673601_4FGL_J2253.2-1232_daily_bin1042.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) = 5968.26527436
delta logL = -0.000175102677531

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5968.26510017
delta logL = -9.21420905797e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10287E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0184       1.0000          .0000       10.000    
     3 'Normalizat'    .55658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3578       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=   5968.265     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      281 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10369E-03    10.418        .18142E-01** at limit **
   2  Index         2.9242        8.5357        .50000        .13271E-04
   3  Normalizat    .55659        .43645E-02    .45894E-03   -.40378E-05
   4  Prefactor     1.3578        .34598E-02    .24050E-03   -.23579E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103687
  Index      = 2.92417
  Normalizat = 0.556592
  Prefactor  = 1.35783
 **********
 **   18 **HESSE 
 **********

 FCN=   5968.265     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      310 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10369E-03    87.157        .34352E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9242        8.1349        .50000       -.42812    
   3  Normalizat    .55659        .12623E-01    .18358E-04   -1.0986    
   4  Prefactor     1.3578        .10006E-01    .48100E-04   -.81603    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.20735e-09
Minuit parameter uncertainties:
  1  0.0359029
  2  302.674
  3  0.0126233
  4  0.0100065
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/569729': 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) = 5968.26509989
delta logL = -6.36932782072e-07

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.037e-04  3.590e-02  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.924e+00  3.027e+02  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.358e+00  1.001e-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:  5.566e-01  1.262e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/569729/cmap_HighResolution_509414401_509673601_4FGL_J2253.2-1232_daily_bin1042.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', job_status='DONE', photon_flux_upper_limit='1.73e-07', time_completed='2021-09-29 01:47:28.407385', job_id='569729', GAL2='1.36', fit_tolerance='1e-08', EG2='0.56', EG='0.56', time_epoch_completed='1632905248.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='-6.37e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1042' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:47:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 569729: <4FGL_J2253.2-1232_daily_bin1042> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1042> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 01:35:51 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:35:52 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:35:52 2021
Terminated at Wed Sep 29 01:47:28 2021
Results reported at Wed Sep 29 01:47:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1042 343.308 -12.5416 509414401 509673601 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 :                                   652.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            697 sec.

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

