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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1547
RA = 343.308, Dec = -12.5416
tmin = 640310401, tmax = 640569601
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='572729', job_status='RUN', time_executed='2021-09-29 01:45:30.497235', time_epoch_executed='1632905130.5' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1547'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/572729

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/572729/ft1_4FGL_J2253.2-1232_daily_bin1547.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/572729/ft2_4FGL_J2253.2-1232_daily_bin1547.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/572729/ft1_4FGL_J2253.2-1232_daily_bin1547.fits outfile=/scratch/kocevski/572729/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1547.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=640310401.0 tmax=640569601.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 5.01
user 4.72
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/572729/ft2_4FGL_J2253.2-1232_daily_bin1547.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/572729/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1547.fits evtable="EVENTS" outfile="/scratch/kocevski/572729/ft1_filtered_4FGL_J2253.2-1232_daily_bin1547.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.53
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/572729/ft1_filtered_4FGL_J2253.2-1232_daily_bin1547.fits" evtable="EVENTS" scfile=/scratch/kocevski/572729/ft2_4FGL_J2253.2-1232_daily_bin1547.fits sctable="SC_DATA" outfile=/scratch/kocevski/572729/ltcube_640310401_640569601_4FGL_J2253.2-1232_daily_bin1547.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/572729/ft2_4FGL_J2253.2-1232_daily_bin1547.fits
.....................!
real 12.24
user 11.88
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/572729/ft1_filtered_4FGL_J2253.2-1232_daily_bin1547.fits evtable="EVENTS" scfile=/scratch/kocevski/572729/ft2_4FGL_J2253.2-1232_daily_bin1547.fits sctable="SC_DATA" expcube=/scratch/kocevski/572729/ltcube_640310401_640569601_4FGL_J2253.2-1232_daily_bin1547.fits outfile=/scratch/kocevski/572729/expmap_640310401_640569601_4FGL_J2253.2-1232_daily_bin1547.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/572729/ltcube_640310401_640569601_4FGL_J2253.2-1232_daily_bin1547.fits
.....................!
real 191.58
user 186.07
sys 4.89

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/572729/ft1_filtered_4FGL_J2253.2-1232_daily_bin1547.fits scfile=/scratch/kocevski/572729/ft2_4FGL_J2253.2-1232_daily_bin1547.fits outfile=/scratch/kocevski/572729/cmap_640310401_640569601_4FGL_J2253.2-1232_daily_bin1547.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/572729/ft1_filtered_4FGL_J2253.2-1232_daily_bin1547.fits scfile=/scratch/kocevski/572729/ft2_4FGL_J2253.2-1232_daily_bin1547.fits outfile=/scratch/kocevski/572729/cmap_HighResolution_640310401_640569601_4FGL_J2253.2-1232_daily_bin1547.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/572729/ft1_filtered_4FGL_J2253.2-1232_daily_bin1547.fits evtable="EVENTS" scfile=/scratch/kocevski/572729/ft2_4FGL_J2253.2-1232_daily_bin1547.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/572729/Model_4FGL_J2253.2-1232_daily_bin1547.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/572729/ft1_filtered_4FGL_J2253.2-1232_daily_bin1547.fits.....................!
real 58.16
user 56.62
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.446       1.0000         .10000E-03   10000.    
     2 'Prefactor '    31.823       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7353       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10317E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    25.617       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10265E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .56108       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .75080E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    1.5058       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.0050       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.410       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .20168       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10837E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10349E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.9967       1.0000         .10000E-03   10000.    
    22 'Prefactor '    28.061       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96466       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91281       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=   6428.640     FROM MIGRAD    STATUS=CONVERGED    557 CALLS     2787 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.447        13.205       -.12032E-08    .42846E-05
   2  Prefactor     31.813        58.704       -.37713E-07   -.12958E-04
   3  Prefactor     3.7359        5.0020        .37616E-06   -.36127E-04
   4  Prefactor     .10000E-03    46.807        .50912E-06** at limit **
   5  norm          25.619        5.7215       -.71628E-07   -.77166E-04
   6  Prefactor     .10000E-03    51.276       -.33671E-06** at limit **
   7  Prefactor     .10000E-03    17.119        .47250E-06** at limit **
   8  norm          .56117        .62072        .74496E-07   -.32742E-04
   9  Prefactor     .10036E-03    11.063        .87974E-06** at limit **
  10  norm          1.5065        1.1588       -.16627E-06   -.14744E-02
  11  Prefactor     6.0256        36.817       -.17248E-05   -.10155E-03
  12  Prefactor     .10000E-03    9.4527        .10768E-06** at limit **
  13  Prefactor     .10000E-03    3.2285        .56771E-07** at limit **
  14  norm          .10000E-03    6.5683        .32000E-07** at limit **
  15  Prefactor     15.340        49.095       -.19305E-07   -.78930E-05
  16  Prefactor     .48438        12.677       -.37650E-06    .59694E-04
  17  Prefactor     .10000E-03    8.5319       -.27862E-05** at limit **
  18  norm          .10000E-03    .53056       -.17156E-06** at limit **
  19  norm          .10000E-03    1.9365       -.43290E-06** at limit **
  20  Prefactor     .10000E-03    70.471        .10130E-05** at limit **
  21  Prefactor     4.9766        16.071        .28699E-06    .18704E-04
  22  Prefactor     28.049        60.854       -.41630E-08   -.49591E-06
  23  Normalizat    .96424        .19870        .15114E-05   -.10708E-03
  24  Prefactor     .91305        .14934       -.13290E-05    .43550E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.4474
  Prefactor  = 31.8128
  Prefactor  = 3.73588
  Prefactor  = 0.0001
  norm       = 25.6192
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.561168
  Prefactor  = 0.000100362
  norm       = 1.5065
  Prefactor  = 6.02564
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.3397
  Prefactor  = 0.484384
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.97661
  Prefactor  = 28.0493
  Normalizat = 0.964243
  Prefactor  = 0.913046
 **********
 **   18 **HESSE 
 **********

 FCN=   6428.640     FROM HESSE     STATUS=OK           413 CALLS     3200 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.447        13.209        .66385E-04   -1.4500    
   2  Prefactor     31.813        58.703        .71029E-04   -1.4579    
   3  Prefactor     3.7359        4.9722        .19346E-03   -1.5321    
   4  Prefactor     .10000E-03    46.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          25.619        5.7146        .79147E-04   -1.4695    
   6  Prefactor     .10000E-03    51.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    17.536        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .56117        .58494        .63701E-03   -1.5558    
   9  Prefactor     .10036E-03    34.966        .62042E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5065        1.4564        .56545E-04   -1.5462    
  11  Prefactor     6.0256        38.232        .16385E-03   -1.5217    
  12  Prefactor     .10000E-03    9.6110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.2374        .14068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.5961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.340        49.350        .10203E-03   -1.4924    
  16  Prefactor     .48438        149.79        .54355E-02   -1.5569    
  17  Prefactor     .10000E-03    7.8981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .54052        .11362E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.9231        .10844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    70.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.9766        16.020        .17990E-03   -1.5262    
  22  Prefactor     28.049        60.848        .75629E-04   -1.4648    
  23  Normalizat    .96424        .22339        .27262E-03   -.94238    
  24  Prefactor     .91305        .16798        .21930E-03   -.95687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.4265e-09
Minuit parameter uncertainties:
  1  13.2102
  2  58.81
  3  4.9727
  4  0.000151513
  5  5.71473
  6  0.000248529
  7  2.00683e-05
  8  0.58495
  9  0.00712257
  10  1.45642
  11  30.3843
  12  1.62179e-05
  13  2.70394e-07
  14  1.07179e-06
  15  49.4819
  16  17.0776
  17  2.47933e-05
  18  9.54002e-07
  19  2.558e-06
  20  0.000105994
  21  16.0338
  22  60.983
  23  0.223604
  24  0.168076
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  6.026e+00  3.038e+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:  9.130e-01  1.681e-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.642e-01  2.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 343.308 -12.542
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/572729/likelihoodResults_640310401_640569601_4FGL_J2253.2-1232_daily_bin1547.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) = 6428.6194554
delta logL = 0.0210217741751

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6428.61245416
delta logL = 0.0280230065719

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6877       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1861       1.0000          .0000       10.000    
     3 'Normalizat'    .95740       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91621       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=   6428.612     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      242 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6874        192.93        .21032E-03   -.17773E-03
   2  Index         3.1885        6.4526        .12848E-01   -.40876E-04
   3  Normalizat    .95699        .21343        .27350E-03   -.24761E-03
   4  Prefactor     .91655        .16660        .21892E-03   -.24406E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.68736
  Index      = 3.18846
  Normalizat = 0.956994
  Prefactor  = 0.916551
 **********
 **   18 **HESSE 
 **********

 FCN=   6428.612     FROM HESSE     STATUS=OK            25 CALLS      267 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6874        23.297        .84127E-05   -1.5324    
   2  Index         3.1885        2.3672        .51392E-03   -.37074    
   3  Normalizat    .95699        .21378        .10940E-04   -.94485    
   4  Prefactor     .91655        .16553        .43783E-04   -.95565    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1554e-10
Minuit parameter uncertainties:
  1  18.5473
  2  2.48302
  3  0.213975
  4  0.165617
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/572729': 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) = 6428.61245104
delta logL = 0.0280261357884

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  3.687e+00  1.855e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  3.188e+00  2.483e+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:  9.166e-01  1.656e-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.570e-01  2.140e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
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/572729/cmap_HighResolution_640310401_640569601_4FGL_J2253.2-1232_daily_bin1547.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.05e-03', job_status='DONE', photon_flux_upper_limit='1.15e-07', time_completed='2021-09-29 01:58:13.140399', job_id='572729', GAL2='0.92', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1632905893.14', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='2.80e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1547' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:58:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 572729: <4FGL_J2253.2-1232_daily_bin1547> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1547> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 01:45:20 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:45:22 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:22 2021
Terminated at Wed Sep 29 01:58:13 2021
Results reported at Wed Sep 29 01:58:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1547 343.308 -12.5416 640310401 640569601 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 :                                   660.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            773 sec.

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

