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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1519
RA = 343.308, Dec = -12.5416
tmin = 633052801, tmax = 633312001
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='572686', job_status='RUN', time_executed='2021-09-29 01:46:52.038483', time_epoch_executed='1632905212.04' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1519'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/572686

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/572686/ft1_4FGL_J2253.2-1232_daily_bin1519.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/572686/ft2_4FGL_J2253.2-1232_daily_bin1519.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/572686/ft1_4FGL_J2253.2-1232_daily_bin1519.fits outfile=/scratch/kocevski/572686/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1519.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=633052801.0 tmax=633312001.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 16.65
user 3.42
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/572686/ft2_4FGL_J2253.2-1232_daily_bin1519.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/572686/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1519.fits evtable="EVENTS" outfile="/scratch/kocevski/572686/ft1_filtered_4FGL_J2253.2-1232_daily_bin1519.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 7.00
user 0.30
sys 0.20

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/572686/ft1_filtered_4FGL_J2253.2-1232_daily_bin1519.fits" evtable="EVENTS" scfile=/scratch/kocevski/572686/ft2_4FGL_J2253.2-1232_daily_bin1519.fits sctable="SC_DATA" outfile=/scratch/kocevski/572686/ltcube_633052801_633312001_4FGL_J2253.2-1232_daily_bin1519.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/572686/ft2_4FGL_J2253.2-1232_daily_bin1519.fits
.....................!
real 12.83
user 12.41
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/572686/ft1_filtered_4FGL_J2253.2-1232_daily_bin1519.fits evtable="EVENTS" scfile=/scratch/kocevski/572686/ft2_4FGL_J2253.2-1232_daily_bin1519.fits sctable="SC_DATA" expcube=/scratch/kocevski/572686/ltcube_633052801_633312001_4FGL_J2253.2-1232_daily_bin1519.fits outfile=/scratch/kocevski/572686/expmap_633052801_633312001_4FGL_J2253.2-1232_daily_bin1519.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/572686/ltcube_633052801_633312001_4FGL_J2253.2-1232_daily_bin1519.fits
.....................!
real 191.92
user 186.65
sys 4.86

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/572686/ft1_filtered_4FGL_J2253.2-1232_daily_bin1519.fits scfile=/scratch/kocevski/572686/ft2_4FGL_J2253.2-1232_daily_bin1519.fits outfile=/scratch/kocevski/572686/cmap_633052801_633312001_4FGL_J2253.2-1232_daily_bin1519.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/572686/ft1_filtered_4FGL_J2253.2-1232_daily_bin1519.fits scfile=/scratch/kocevski/572686/ft2_4FGL_J2253.2-1232_daily_bin1519.fits outfile=/scratch/kocevski/572686/cmap_HighResolution_633052801_633312001_4FGL_J2253.2-1232_daily_bin1519.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.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6092       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .45564E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.4247       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.8155       1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.933       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.5224       1.0000         .10000E-03   10000.    
     8 'norm      '    .10097E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.697       1.0000         .10000E-03   10000.    
    10 'norm      '    3.2698       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .24961       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .16518E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.0854       1.0000         .10000E-03   10000.    
    14 'norm      '    16.716       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12086E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.045       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10494E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .24442       1.0000         .10000E-03   10000.    
    19 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.6214       1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.976       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .19920E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1752       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78740       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=   4607.466     FROM MIGRAD    STATUS=CONVERGED    633 CALLS     2483 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4582        13.421        .96784E-06    .48839E-04
   2  Prefactor     .10001E-03    97.843       -.12724E-05** at limit **
   3  Prefactor     6.4287        4.6843        .22119E-06   -.39531E-04
   4  Prefactor     .10000E-03    56.491        .14500E-06** at limit **
   5  norm          6.8127        4.1782        .94146E-07   -.78263E-04
   6  Prefactor     21.235        54.635        .35923E-05    .23086E-03
   7  Prefactor     8.5579        15.725        .43425E-06   -.46039E-04
   8  norm          .10000E-03    1.0510        .38299E-06** at limit **
   9  Prefactor     19.436        46.177        .34250E-05   -.18444E-03
  10  norm          3.0832        3.5562       -.79923E-06   -.40059E-03
  11  Prefactor     .10000E-03    113.15        .14372E-05** at limit **
  12  Prefactor     .10000E-03    12.768        .10233E-07** at limit **
  13  Prefactor     3.0253        10.600        .13776E-04   -.25193E-03
  14  norm          16.859        12.844        .30664E-06   -.89821E-05
  15  Prefactor     .10000E-03    21.064       -.69634E-08** at limit **
  16  Prefactor     26.094        34.132       -.10860E-05   -.14044E-03
  17  Prefactor     .10000E-03    6.1133       -.32021E-07** at limit **
  18  norm          .24561        1.1301        .66227E-06   -.42420E-03
  19  norm          .10000E-03    3.3819       -.42724E-07** at limit **
  20  Prefactor     2.2306        780.18        .40458E-04   -.13908E-04
  21  Prefactor     25.404        31.892       -.48019E-05   -.55419E-04
  22  Prefactor     .10000E-03    38.634       -.36583E-06** at limit **
  23  Normalizat    1.1719        .23264       -.25120E-05   -.21028E-03
  24  Prefactor     .78914        .16789       -.83647E-06   -.29389E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.45815
  Prefactor  = 0.000100005
  Prefactor  = 6.4287
  Prefactor  = 0.0001
  norm       = 6.81266
  Prefactor  = 21.2355
  Prefactor  = 8.55793
  norm       = 0.0001
  Prefactor  = 19.4359
  norm       = 3.08317
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.02533
  norm       = 16.8585
  Prefactor  = 0.0001
  Prefactor  = 26.0939
  Prefactor  = 0.0001
  norm       = 0.24561
  norm       = 0.0001
  Prefactor  = 2.2306
  Prefactor  = 25.4044
  Prefactor  = 0.0001
  Normalizat = 1.17191
  Prefactor  = 0.789142
 **********
 **   18 **HESSE 
 **********

 FCN=   4607.466     FROM HESSE     STATUS=OK           399 CALLS     2882 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4582        13.425        .16962E-03   -1.5241    
   2  Prefactor     .10001E-03    97.953        .19328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.4287        4.6832        .12032E-03   -1.5201    
   4  Prefactor     .10000E-03    56.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.8127        4.1772        .10379E-03   -1.5186    
   6  Prefactor     21.235        54.332        .85526E-04   -1.4786    
   7  Prefactor     8.5579        15.741        .13731E-03   -1.5123    
   8  norm          .10000E-03    2.1772        .13036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.436        51.799        .98016E-04   -1.4826    
  10  norm          3.0832        4.0069        .63056E-04   -1.5357    
  11  Prefactor     .10000E-03    114.06        .20404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.0253        10.546        .11545E-02   -1.5360    
  14  norm          16.859        12.845        .97961E-04   -1.4887    
  15  Prefactor     .10000E-03    21.079        .20633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     26.094        34.097        .78496E-04   -1.4686    
  17  Prefactor     .10000E-03    6.1514        .16386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .24561        1.8630        .13619E-02   -1.5609    
  19  norm          .10000E-03    3.4122        .12184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.2306        736.67        .21231E-03   -1.5409    
  21  Prefactor     25.404        30.640        .80156E-04   -1.4699    
  22  Prefactor     .10000E-03    38.641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1719        .27913        .26031E-03   -.87475    
  24  Prefactor     .78914        .20030        .23275E-03   -1.0013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50881e-09
Minuit parameter uncertainties:
  1  13.4322
  2  0.00142412
  3  4.68345
  4  0.00010122
  5  4.17742
  6  54.4588
  7  15.7481
  8  4.33283e-05
  9  51.9195
  10  4.00724
  11  3.61762e-05
  12  3.29381e-05
  13  10.552
  14  12.8471
  15  2.25982e-05
  16  34.1222
  17  1.53279e-05
  18  1.35266
  19  5.89055e-06
  20  82.1107
  21  30.6592
  22  0.00019845
  23  0.279487
  24  0.200483
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  3.618e-05  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.646e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  8.906e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  7.891e-01  2.005e-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.172e+00  2.795e-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.68e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.32e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/572686/likelihoodResults_633052801_633312001_4FGL_J2253.2-1232_daily_bin1519.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) = 4607.46554173
delta logL = -4.16580787714e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4607.46554173
delta logL = -4.16579341618e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96348E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6463       1.0000          .0000       10.000    
     3 'Normalizat'    1.1719       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78915       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4607.466     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      202 TOTAL
                     EDM=   .75E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9757.2        .90714E-02** at limit **
   2  Index         2.6562        5.7561        .50000       -.70775E-06
   3  Normalizat    1.1719        .10098        .58860E-01    .11460E-04
   4  Prefactor     .78914        .74747E-01    .43576E-01    .14425E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.65622
  Normalizat = 1.17191
  Prefactor  = 0.789143
 **********
 **   18 **HESSE 
 **********

 FCN=   4607.466     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      235 TOTAL
                     EDM=   .90E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9995.9        .18143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6562        6.2724        .50000       -.48788    
   3  Normalizat    1.1719        .17987        .26031E-03   -.87475    
   4  Prefactor     .78914        .13518        .23275E-03   -1.0013    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.98476e-12
Minuit parameter uncertainties:
  1  0.00181287
  2  67.3992
  3  0.179965
  4  0.135235
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/572686': 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) = 4607.46550007
delta logL = 1.73440639628e-09

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  1.813e-03  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.656e+00  6.740e+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:  7.891e-01  1.352e-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.172e+00  1.800e-01  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/572686/cmap_HighResolution_633052801_633312001_4FGL_J2253.2-1232_daily_bin1519.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-02', job_status='DONE', photon_flux_upper_limit='1.68e-07', time_completed='2021-09-29 01:56:39.797428', job_id='572686', GAL2='0.79', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1632905799.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.73e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1519' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:56:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 572686: <4FGL_J2253.2-1232_daily_bin1519> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1519 343.308 -12.5416 633052801 633312001 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 :                                   532.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             288.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   681 sec.
    Turnaround time :                            683 sec.

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

