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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin927
RA = 343.308, Dec = -12.5416
tmin = 479606401, tmax = 479865601
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='569541', job_status='RUN', time_executed='2021-09-29 01:38:52.685265', time_epoch_executed='1632904732.69' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='927'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/569541

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/569541/ft1_4FGL_J2253.2-1232_daily_bin927.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/569541/ft2_4FGL_J2253.2-1232_daily_bin927.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/569541/ft1_4FGL_J2253.2-1232_daily_bin927.fits outfile=/scratch/kocevski/569541/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin927.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=479606401.0 tmax=479865601.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.47
user 3.25
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/569541/ft2_4FGL_J2253.2-1232_daily_bin927.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/569541/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin927.fits evtable="EVENTS" outfile="/scratch/kocevski/569541/ft1_filtered_4FGL_J2253.2-1232_daily_bin927.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.51
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/569541/ft1_filtered_4FGL_J2253.2-1232_daily_bin927.fits" evtable="EVENTS" scfile=/scratch/kocevski/569541/ft2_4FGL_J2253.2-1232_daily_bin927.fits sctable="SC_DATA" outfile=/scratch/kocevski/569541/ltcube_479606401_479865601_4FGL_J2253.2-1232_daily_bin927.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/569541/ft2_4FGL_J2253.2-1232_daily_bin927.fits
.....................!
real 12.01
user 11.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/569541/ft1_filtered_4FGL_J2253.2-1232_daily_bin927.fits evtable="EVENTS" scfile=/scratch/kocevski/569541/ft2_4FGL_J2253.2-1232_daily_bin927.fits sctable="SC_DATA" expcube=/scratch/kocevski/569541/ltcube_479606401_479865601_4FGL_J2253.2-1232_daily_bin927.fits outfile=/scratch/kocevski/569541/expmap_479606401_479865601_4FGL_J2253.2-1232_daily_bin927.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/569541/ltcube_479606401_479865601_4FGL_J2253.2-1232_daily_bin927.fits
.....................!
real 190.47
user 186.05
sys 4.08

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/569541/ft1_filtered_4FGL_J2253.2-1232_daily_bin927.fits scfile=/scratch/kocevski/569541/ft2_4FGL_J2253.2-1232_daily_bin927.fits outfile=/scratch/kocevski/569541/cmap_479606401_479865601_4FGL_J2253.2-1232_daily_bin927.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.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/569541/ft1_filtered_4FGL_J2253.2-1232_daily_bin927.fits evtable="EVENTS" scfile=/scratch/kocevski/569541/ft2_4FGL_J2253.2-1232_daily_bin927.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/569541/Model_4FGL_J2253.2-1232_daily_bin927.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/569541/ft1_filtered_4FGL_J2253.2-1232_daily_bin927.fits.....................!
real 65.24
user 63.81
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9998       1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.359       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.0222       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.420       1.0000         .10000E-03   10000.    
     5 'norm      '    8.2886       1.0000         .10000E-03   10000.    
     6 'Prefactor '    60.342       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.9033       1.0000         .10000E-03   10000.    
     8 'norm      '    .95748       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10380E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10178E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.314       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.2572       1.0000         .10000E-03   10000.    
    14 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.739       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10100E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.6024       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .98397       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95791       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=   7837.170     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2707 TOTAL
                     EDM=   .40E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0001        3.0031        .60259E-07   -.58750E-03
   2  Prefactor     18.356        57.277       -.57549E-05   -.39679E-05
   3  Prefactor     8.0222        4.0450        .26109E-07   -.14822E-04
   4  Prefactor     15.420        32.387        .31175E-06   -.18512E-05
   5  norm          8.2889        3.7380        .11276E-06   -.19239E-04
   6  Prefactor     60.341        73.235       -.14403E-05   -.18223E-05
   7  Prefactor     9.9045        11.150       -.11143E-06   -.54497E-05
   8  norm          .95762        .71426        .27731E-07   -.22430E-04
   9  Prefactor     .10000E-03    4.8461        .24392E-05** at limit **
  10  norm          .10000E-03    .30271        .44272E-08** at limit **
  11  Prefactor     24.309        17.198       -.10763E-05   -.70387E-04
  12  Prefactor     .10000E-03    5.4373       -.18819E-05** at limit **
  13  Prefactor     6.2582        8.8257        .59063E-07   -.25175E-03
  14  norm          .10000E-03    6.8461        .13422E-06** at limit **
  15  Prefactor     .10000E-03    38.454        .31395E-05** at limit **
  16  Prefactor     13.739        15.555       -.94360E-07   -.22540E-05
  17  Prefactor     .10000E-03    4.5380       -.73020E-06** at limit **
  18  norm          .10000E-03    .53571        .45529E-07** at limit **
  19  norm          4.6030        3.9601       -.52937E-06   -.88764E-05
  20  Prefactor     .10000E-03    17.262        .13156E-05** at limit **
  21  Prefactor     .10000E-03    2.6079       -.61040E-07** at limit **
  22  Prefactor     .10000E-03    12.583        .15400E-06** at limit **
  23  Normalizat    .98385        .16386        .62698E-06   -.77278E-04
  24  Prefactor     .95800        .13014       -.34151E-06   -.14240E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.00007
  Prefactor  = 18.3558
  Prefactor  = 8.02221
  Prefactor  = 15.4203
  norm       = 8.28888
  Prefactor  = 60.3407
  Prefactor  = 9.90448
  norm       = 0.957624
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 24.3088
  Prefactor  = 0.0001
  Prefactor  = 6.25816
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.739
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.60303
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.983847
  Prefactor  = 0.958003
 **********
 **   18 **HESSE 
 **********

 FCN=   7837.170     FROM HESSE     STATUS=OK           405 CALLS     3112 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0001        7.1873        .11718E-02   -1.5362    
   2  Prefactor     18.356        57.243        .93476E-04   -1.4851    
   3  Prefactor     8.0222        4.0450        .12026E-03   -1.5141    
   4  Prefactor     15.420        32.341        .10200E-03   -1.4922    
   5  norm          8.2889        3.7347        .10518E-03   -1.5132    
   6  Prefactor     60.341        73.272        .51651E-04   -1.4153    
   7  Prefactor     9.9045        11.188        .12733E-03   -1.5078    
   8  norm          .95762        .68654        .61429E-03   -1.5512    
   9  Prefactor     .10000E-03    4.9250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .31249        .94302E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.309        17.178        .81237E-04   -1.4721    
  12  Prefactor     .10000E-03    5.4399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.2582        9.4548        .80238E-03   -1.5208    
  14  norm          .10000E-03    6.9147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    38.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.739        15.556        .10806E-03   -1.4966    
  17  Prefactor     .10000E-03    4.5465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.1621        .12474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.6030        3.9365        .15737E-03   -1.5279    
  20  Prefactor     .10000E-03    17.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.6091        .13962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    12.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .98385        .19161        .26190E-03   -.93574    
  24  Prefactor     .95800        .15186        .21464E-03   -.94143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07875e-09
Minuit parameter uncertainties:
  1  7.1894
  2  57.4146
  3  4.04511
  4  32.3773
  5  3.7348
  6  73.3821
  7  11.1905
  8  0.686548
  9  1.38171e-05
  10  2.05147e-06
  11  17.1817
  12  6.82467e-06
  13  9.45701
  14  8.67212e-07
  15  2.90637e-05
  16  15.5609
  17  1.05933e-05
  18  2.94928e-07
  19  3.93669
  20  1.7432e-06
  21  3.49471e-07
  22  7.48342e-07
  23  0.191745
  24  0.151932
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  2.431e+01  1.718e+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.580e-01  1.519e-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.838e-01  1.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.77
Ra Dec: 343.308 -12.542
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 4.82e-08 +/- 3.40e-08
Energy Flux (Fixed Index): 1.21e-05 +/- 8.56e-06

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

Saving results to:
/scratch/kocevski/569541/likelihoodResults_479606401_479865601_4FGL_J2253.2-1232_daily_bin927.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) = 7837.17000912
delta logL = 1.26883232952e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7837.16998878
delta logL = 3.30346920236e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.145       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6532       1.0000          .0000       10.000    
     3 'Normalizat'    .98352       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95813       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=   7837.170     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      250 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.142        30.281        .81520E-04    .21828E-03
   2  Index         2.6530        .92441        .80014E-02    .61157E-04
   3  Normalizat    .98357        .18912        .26194E-03   -.69251E-03
   4  Prefactor     .95816        .15141        .21462E-03   -.99043E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.1418
  Index      = 2.65298
  Normalizat = 0.983573
  Prefactor  = 0.958159
 **********
 **   18 **HESSE 
 **********

 FCN=   7837.170     FROM HESSE     STATUS=OK            25 CALLS      275 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.142        26.668        .16304E-04   -1.4725    
   2  Index         2.6530        .81435        .32006E-03   -.48862    
   3  Normalizat    .98357        .18849        .52387E-04   -.93583    
   4  Prefactor     .95816        .15111        .42925E-04   -.94137    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.42867e-10
Minuit parameter uncertainties:
  1  26.6814
  2  0.819041
  3  0.188613
  4  0.151174
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/569541': 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) = 7837.16998819
delta logL = 3.362607913e-05

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  2.414e+01  2.668e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.653e+00  8.190e-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:  9.582e-01  1.512e-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.836e-01  1.886e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.76
Ra Dec: 343.308 -12.542
Photon Index (Free Index): 2.65 +/- 0.82
Photon Flux (Free Index): 4.84e-08 +/- 4.01e-08
Energy Flux (Free Index): 1.21e-05 +/- 9.04e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/569541/cmap_HighResolution_479606401_479865601_4FGL_J2253.2-1232_daily_bin927.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.52e-03', comment='SUCCESS', photon_flux='4.82e-08', energy_flux2='1.21e-05', photon_flux_error='3.40e-08', dlogl='3.36e-05', energy_flux='1.21e-05', photon_flux2='4.84e-08', job_status='DONE', time_completed='2021-09-29 01:50:51.969231', photon_index_error2='0.82', photon_index2='2.65', ts='3.77', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='9.04e-06', EG='0.98', time_epoch_completed='1632905451.97', return_code='0', job_id='569541', GAL2='0.96', EG2='0.98', return_code2='0', energy_flux_error='8.56e-06', photon_flux_error2='4.01e-08', ts2='3.76', photon_index='2.65' WHERE bin_id='927' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:50:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 569541: <4FGL_J2253.2-1232_daily_bin927> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin927 343.308 -12.5416 479606401 479865601 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 :                                   713.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            915 sec.

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

