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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin901
RA = 343.308, Dec = -12.5416
tmin = 472867201, tmax = 473126401
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='569500', job_status='RUN', time_executed='2021-09-29 01:39:28.500397', time_epoch_executed='1632904768.5' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='901'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/569500

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/569500/ft1_4FGL_J2253.2-1232_daily_bin901.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/569500/ft2_4FGL_J2253.2-1232_daily_bin901.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/569500/ft1_4FGL_J2253.2-1232_daily_bin901.fits outfile=/scratch/kocevski/569500/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin901.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=472867201.0 tmax=473126401.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.88
user 3.66
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/569500/ft1_filtered_4FGL_J2253.2-1232_daily_bin901.fits" evtable="EVENTS" scfile=/scratch/kocevski/569500/ft2_4FGL_J2253.2-1232_daily_bin901.fits sctable="SC_DATA" outfile=/scratch/kocevski/569500/ltcube_472867201_473126401_4FGL_J2253.2-1232_daily_bin901.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/569500/ft2_4FGL_J2253.2-1232_daily_bin901.fits
.....................!
real 11.73
user 11.37
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/569500/ft1_filtered_4FGL_J2253.2-1232_daily_bin901.fits evtable="EVENTS" scfile=/scratch/kocevski/569500/ft2_4FGL_J2253.2-1232_daily_bin901.fits sctable="SC_DATA" expcube=/scratch/kocevski/569500/ltcube_472867201_473126401_4FGL_J2253.2-1232_daily_bin901.fits outfile=/scratch/kocevski/569500/expmap_472867201_473126401_4FGL_J2253.2-1232_daily_bin901.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/569500/ltcube_472867201_473126401_4FGL_J2253.2-1232_daily_bin901.fits
.....................!
real 189.83
user 184.75
sys 4.77

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/569500/ft1_filtered_4FGL_J2253.2-1232_daily_bin901.fits scfile=/scratch/kocevski/569500/ft2_4FGL_J2253.2-1232_daily_bin901.fits outfile=/scratch/kocevski/569500/cmap_472867201_473126401_4FGL_J2253.2-1232_daily_bin901.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/569500/ft1_filtered_4FGL_J2253.2-1232_daily_bin901.fits scfile=/scratch/kocevski/569500/ft2_4FGL_J2253.2-1232_daily_bin901.fits outfile=/scratch/kocevski/569500/cmap_HighResolution_472867201_473126401_4FGL_J2253.2-1232_daily_bin901.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10398E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    56.485       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.101       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.1171       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10721E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10388E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.073       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.1325       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.1674       1.0000         .10000E-03   10000.    
    14 'norm      '    7.1120       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.196       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.021       1.0000         .10000E-03   10000.    
    18 'norm      '    1.8773       1.0000         .10000E-03   10000.    
    19 'norm      '    .19434E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    51.546       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2553       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .64993       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=   4095.080     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2681 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.478        .11397E-05** at limit **
   2  Prefactor     56.480        68.377        .32780E-06   -.23316E-05
   3  Prefactor     10.101        6.0301        .13887E-06    .99674E-04
   4  Prefactor     .10000E-03    60.795       -.38584E-06** at limit **
   5  norm          .10000E-03    1.1533        .14618E-07** at limit **
   6  Prefactor     .10000E-03    54.573        .73094E-06** at limit **
   7  Prefactor     .10000E-03    11.348        .16021E-06** at limit **
   8  norm          1.1171        .84904       -.33101E-07   -.41663E-04
   9  Prefactor     .10000E-03    5.3278       -.14403E-05** at limit **
  10  norm          .10000E-03    .38697       -.12764E-05** at limit **
  11  Prefactor     13.030        28.378       -.58429E-06   -.66031E-04
  12  Prefactor     1.1380        12.621        .34153E-05    .11948E-03
  13  Prefactor     5.1700        13.150        .34326E-06    .59637E-04
  14  norm          7.1130        17.049        .13015E-06    .11054E-04
  15  Prefactor     .10000E-03    32.518        .50928E-07** at limit **
  16  Prefactor     20.186        29.337       -.14233E-06   -.62676E-04
  17  Prefactor     16.028        12.005       -.15988E-05    .11583E-03
  18  norm          1.8777        1.3073       -.15093E-06    .14112E-03
  19  norm          .10010E-03    10.590       -.37698E-05** at limit **
  20  Prefactor     .10000E-03    35.940        .60448E-06** at limit **
  21  Prefactor     .10000E-03    10.531       -.70336E-08** at limit **
  22  Prefactor     51.556        53.131       -.79852E-07    .75138E-04
  23  Normalizat    1.2550        .22633        .17708E-05    .11255E-03
  24  Prefactor     .65015        .16842       -.21803E-05    .15116E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 56.4804
  Prefactor  = 10.1008
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.11715
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.0297
  Prefactor  = 1.13801
  Prefactor  = 5.16996
  norm       = 7.11297
  Prefactor  = 0.0001
  Prefactor  = 20.1864
  Prefactor  = 16.0276
  norm       = 1.87765
  norm       = 0.000100099
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 51.5559
  Normalizat = 1.25501
  Prefactor  = 0.650146
 **********
 **   18 **HESSE 
 **********

 FCN=   4095.080     FROM HESSE     STATUS=OK           393 CALLS     3074 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     56.480        68.372        .53375E-04   -1.4203    
   3  Prefactor     10.101        6.0321        .11504E-03   -1.5072    
   4  Prefactor     .10000E-03    60.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.1562        .67093E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    54.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.1171        .84220        .49571E-04   -1.5497    
   9  Prefactor     .10000E-03    5.3573        .14448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .40894        .39544E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.030        28.052        .11078E-03   -1.4986    
  12  Prefactor     1.1380        12.711        .43666E-03   -1.5495    
  13  Prefactor     5.1700        13.134        .17685E-03   -1.5253    
  14  norm          7.1130        17.055        .15042E-03   -1.5175    
  15  Prefactor     .10000E-03    32.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     20.186        29.343        .89126E-04   -1.4809    
  17  Prefactor     16.028        11.411        .10006E-03   -1.4907    
  18  norm          1.8777        1.3017        .58858E-04   -1.5434    
  19  norm          .10010E-03    18.433        .31339E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    35.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    10.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     51.556        53.107        .55860E-04   -1.4271    
  23  Normalizat    1.2550        .26279        .23759E-03   -.84920    
  24  Prefactor     .65015        .19369        .23767E-03   -1.0551    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34295e-09
Minuit parameter uncertainties:
  1  0.00028774
  2  68.4672
  3  6.03248
  4  0.000443091
  5  6.11348e-07
  6  0.000469073
  7  1.0353e-05
  8  0.842212
  9  8.7009e-05
  10  2.13685e-05
  11  28.0802
  12  7.60837
  13  13.141
  14  17.0662
  15  4.17298e-06
  16  29.3642
  17  11.4123
  18  1.30171
  19  0.00269709
  20  0.00034556
  21  7.29561e-06
  22  53.1556
  23  0.263068
  24  0.193888
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.303e+01  2.808e+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:  6.501e-01  1.939e-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.255e+00  2.631e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/569500/likelihoodResults_472867201_473126401_4FGL_J2253.2-1232_daily_bin901.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) = 4095.03242295
delta logL = 0.0479214554275

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4095.0189726
delta logL = 0.0613718004229

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1346       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0859       1.0000          .0000       10.000    
     3 'Normalizat'    1.2435       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65495       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=   4095.019     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      252 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1247        26.097        .13261E-03   -.28326E-03
   2  Index         3.0864        1.4699        .75524E-02   -.14706E-03
   3  Normalizat    1.2435        .26058        .23850E-03    .47118E-04
   4  Prefactor     .65492        .19116        .23685E-03    .37332E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.12475
  Index      = 3.08637
  Normalizat = 1.24354
  Prefactor  = 0.654925
 **********
 **   18 **HESSE 
 **********

 FCN=   4095.019     FROM HESSE     STATUS=OK            23 CALLS      275 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1247        22.922        .53043E-05   -1.5104    
   2  Index         3.0864        1.2946        .30209E-03   -.39275    
   3  Normalizat    1.2435        .26091        .95402E-05   -.85268    
   4  Prefactor     .65492        .19127        .47371E-04   -1.0532    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56542e-09
Minuit parameter uncertainties:
  1  22.9442
  2  1.31216
  3  0.26118
  4  0.191462
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/569500': 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) = 4095.01897239
delta logL = 0.061372009658

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  9.125e+00  2.294e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  3.086e+00  1.312e+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:  6.549e-01  1.915e-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.244e+00  2.612e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.26
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/569500/cmap_HighResolution_472867201_473126401_4FGL_J2253.2-1232_daily_bin901.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-02', job_status='DONE', photon_flux_upper_limit='1.52e-07', time_completed='2021-09-29 01:48:06.086274', job_id='569500', GAL2='0.65', fit_tolerance='1e-08', EG2='1.24', EG='1.26', time_epoch_completed='1632905286.09', return_code2='0', ts='0.26', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='6.14e-02', ts2='0.38', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='901' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:48:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 569500: <4FGL_J2253.2-1232_daily_bin901> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin901 343.308 -12.5416 472867201 473126401 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 :                                   515.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            751 sec.

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

