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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1283
RA = 343.308, Dec = -12.5416
tmin = 571881601, tmax = 572140801
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='571170', job_status='RUN', time_executed='2021-09-29 01:41:53.029350', time_epoch_executed='1632904913.03' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1283'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/571170

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/571170/ft1_4FGL_J2253.2-1232_daily_bin1283.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/571170/ft2_4FGL_J2253.2-1232_daily_bin1283.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/571170/ft1_4FGL_J2253.2-1232_daily_bin1283.fits outfile=/scratch/kocevski/571170/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1283.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=571881601.0 tmax=572140801.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 2.56
user 2.38
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/571170/ft1_filtered_4FGL_J2253.2-1232_daily_bin1283.fits" evtable="EVENTS" scfile=/scratch/kocevski/571170/ft2_4FGL_J2253.2-1232_daily_bin1283.fits sctable="SC_DATA" outfile=/scratch/kocevski/571170/ltcube_571881601_572140801_4FGL_J2253.2-1232_daily_bin1283.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/571170/ft2_4FGL_J2253.2-1232_daily_bin1283.fits
.....................!
real 12.68
user 12.32
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/571170/ft1_filtered_4FGL_J2253.2-1232_daily_bin1283.fits evtable="EVENTS" scfile=/scratch/kocevski/571170/ft2_4FGL_J2253.2-1232_daily_bin1283.fits sctable="SC_DATA" expcube=/scratch/kocevski/571170/ltcube_571881601_572140801_4FGL_J2253.2-1232_daily_bin1283.fits outfile=/scratch/kocevski/571170/expmap_571881601_572140801_4FGL_J2253.2-1232_daily_bin1283.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/571170/ltcube_571881601_572140801_4FGL_J2253.2-1232_daily_bin1283.fits
.....................!
real 190.69
user 186.06
sys 4.24

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/571170/ft1_filtered_4FGL_J2253.2-1232_daily_bin1283.fits scfile=/scratch/kocevski/571170/ft2_4FGL_J2253.2-1232_daily_bin1283.fits outfile=/scratch/kocevski/571170/cmap_571881601_572140801_4FGL_J2253.2-1232_daily_bin1283.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/571170/ft1_filtered_4FGL_J2253.2-1232_daily_bin1283.fits scfile=/scratch/kocevski/571170/ft2_4FGL_J2253.2-1232_daily_bin1283.fits outfile=/scratch/kocevski/571170/cmap_HighResolution_571881601_572140801_4FGL_J2253.2-1232_daily_bin1283.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/571170/ft1_filtered_4FGL_J2253.2-1232_daily_bin1283.fits evtable="EVENTS" scfile=/scratch/kocevski/571170/ft2_4FGL_J2253.2-1232_daily_bin1283.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/571170/Model_4FGL_J2253.2-1232_daily_bin1283.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/571170/ft1_filtered_4FGL_J2253.2-1232_daily_bin1283.fits.....................!
real 42.05
user 40.75
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    90.419       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.1920       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12567E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.8953       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.692       1.0000         .10000E-03   10000.    
     8 'norm      '    .11228E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    149.19       1.0000         .10000E-03   10000.    
    10 'norm      '    .12886       1.0000         .10000E-03   10000.    
    11 'Prefactor '    178.93       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .69835E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    32.853       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    49.138       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12812E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.5285       1.0000         .10000E-03   10000.    
    20 'Prefactor '    34.997       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .14880E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    49.323       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .79278       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .83262       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=   3762.012     FROM MIGRAD    STATUS=CONVERGED    630 CALLS     3431 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     90.382        49.272       -.15949E-07   -.29874E-04
   2  Prefactor     .10000E-03    74.726        .12800E-06** at limit **
   3  Prefactor     9.1922        6.9789       -.39065E-06   -.83653E-04
   4  Prefactor     .10000E-03    210.13        .14980E-05** at limit **
   5  norm          2.8933        6.0252       -.59022E-06   -.91627E-04
   6  Prefactor     .10000E-03    82.982       -.22750E-05** at limit **
   7  Prefactor     26.699        61.183        .69726E-06   -.13458E-05
   8  norm          .10000E-03    1.7534        .11054E-05** at limit **
   9  Prefactor     149.77        100.04       -.21877E-06   -.14833E-03
  10  norm          .89494E-01    88.573       -.11494E-04    .50981E-04
  11  Prefactor     178.78        119.38        .46109E-05   -.36773E-04
  12  Prefactor     .10000E-03    7.1746       -.81469E-06** at limit **
  13  Prefactor     .10003E-03    479.91       -.17439E-04** at limit **
  14  norm          32.865        19.238        .15147E-06   -.60171E-04
  15  Prefactor     .10000E-03    21.798       -.30943E-06** at limit **
  16  Prefactor     49.164        54.339       -.29013E-06    .10263E-04
  17  Prefactor     .10015E-03    10.154        .14306E-05** at limit **
  18  norm          .10000E-03    1.4475        .18947E-05** at limit **
  19  norm          6.5306        6.4890       -.10695E-06   -.91516E-03
  20  Prefactor     34.966        106.40        .45847E-05    .12320E-04
  21  Prefactor     .10000E-03    27.111       -.90830E-06** at limit **
  22  Prefactor     49.332        46.233       -.21957E-06   -.15750E-04
  23  Normalizat    .79126        .34590       -.10627E-04   -.16207E-03
  24  Prefactor     .83337        .22811        .10509E-04    .50306E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 90.3823
  Prefactor  = 0.0001
  Prefactor  = 9.19223
  Prefactor  = 0.0001
  norm       = 2.89334
  Prefactor  = 0.0001
  Prefactor  = 26.6986
  norm       = 0.000100001
  Prefactor  = 149.775
  norm       = 0.0894941
  Prefactor  = 178.776
  Prefactor  = 0.0001
  Prefactor  = 0.000100029
  norm       = 32.865
  Prefactor  = 0.0001
  Prefactor  = 49.1642
  Prefactor  = 0.000100148
  norm       = 0.000100001
  norm       = 6.53056
  Prefactor  = 34.9656
  Prefactor  = 0.0001
  Prefactor  = 49.3325
  Normalizat = 0.791264
  Prefactor  = 0.833366
 **********
 **   18 **HESSE 
 **********

 FCN=   3762.012     FROM HESSE     STATUS=OK           415 CALLS     3846 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     90.382        49.270        .42258E-04   -1.3804    
   2  Prefactor     .10000E-03    74.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.1922        6.9729        .13109E-03   -1.5101    
   4  Prefactor     .10000E-03    210.19        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.8933        6.0093        .20215E-03   -1.5368    
   6  Prefactor     .10000E-03    83.089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     26.699        61.223        .77540E-04   -1.4674    
   8  norm          .10000E-03    1.8990        .12873E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     149.77        168.01        .16498E-03   -1.3254    
  10  norm          .89494E-01    287.67        .13171E-02   -1.5648    
  11  Prefactor     178.78        122.62        .15087E-03   -1.3026    
  12  Prefactor     .10000E-03    7.1945        .16051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10003E-03    26.914        .84639E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          32.865        19.275        .69910E-04   -1.4561    
  15  Prefactor     .10000E-03    21.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     49.164        54.277        .57206E-04   -1.4304    
  17  Prefactor     .10015E-03    29.025        .32830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.0463        .12275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.5306        6.6686        .74401E-03   -1.5197    
  20  Prefactor     34.966        106.97        .67741E-04   -1.4525    
  21  Prefactor     .10000E-03    27.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     49.332        46.221        .57100E-04   -1.4302    
  23  Normalizat    .79126        .37094        .33881E-03   -1.0039    
  24  Prefactor     .83337        .24315        .23601E-03   -.98510    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.15403e-09
Minuit parameter uncertainties:
  1  49.292
  2  1.44143e-05
  3  6.97352
  4  0.000350785
  5  6.01059
  6  8.71978e-05
  7  61.3672
  8  7.10955e-05
  9  168.547
  10  10.1915
  11  122.798
  12  3.48172e-05
  13  0.00175332
  14  19.2786
  15  5.10407e-05
  16  54.3315
  17  0.00414692
  18  8.45464e-05
  19  6.66935
  20  107.567
  21  0.000176384
  22  46.2545
  23  0.372128
  24  0.243461
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.788e+02  1.228e+02  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:  8.334e-01  2.435e-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:  7.913e-01  3.721e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.04
Ra Dec: 343.308 -12.542
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 3.54e-07 +/- 2.43e-07
Energy Flux (Fixed Index): 8.91e-05 +/- 6.12e-05

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) = 3760.84558647
delta logL = 1.16637495967

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3760.82048546
delta logL = 1.19147597541

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.752       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8668       1.0000          .0000       10.000    
     3 'Normalizat'    .61246       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94217       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=   3760.820     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      326 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.865        215.35        .67979E-04   -.57445E-03
   2  Index         3.8655        2.6486        .23554E-02   -.26174E-03
   3  Normalizat    .60987        .34072        .38010E-03    .12742E-04
   4  Prefactor     .94382        .25418        .22382E-03    .98581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.8652
  Index      = 3.86553
  Normalizat = 0.609873
  Prefactor  = 0.943823
 **********
 **   18 **HESSE 
 **********

 FCN=   3760.820     FROM HESSE     STATUS=OK            25 CALLS      351 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.865        70.920        .13596E-04   -1.4526    
   2  Index         3.8655        1.1322        .94218E-04   -.22889    
   3  Normalizat    .60987        .33916        .15204E-04   -1.0757    
   4  Prefactor     .94382        .24051        .44764E-04   -.94626    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05311e-10
Minuit parameter uncertainties:
  1  71.0921
  2  1.14261
  3  0.340324
  4  0.240786
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/571170': 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) = 3760.82045333
delta logL = 1.19150810057

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  3.487e+01  7.109e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  3.866e+00  1.143e+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.438e-01  2.408e-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:  6.099e-01  3.403e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.54
Ra Dec: 343.308 -12.542
Photon Index (Free Index): 3.87 +/- 1.14
Photon Flux (Free Index): 5.72e-07 +/- 2.27e-07
Energy Flux (Free Index): 8.77e-05 +/- 3.52e-05

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/571170/cmap_HighResolution_571881601_572140801_4FGL_J2253.2-1232_daily_bin1283.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.54e-07', energy_flux2='8.77e-05', photon_flux_error='2.43e-07', dlogl='1.19e+00', energy_flux='8.91e-05', photon_flux2='5.72e-07', job_status='DONE', time_completed='2021-09-29 01:50:39.331681', photon_index_error2='1.14', photon_index2='3.87', ts='6.04', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='3.52e-05', EG='0.79', time_epoch_completed='1632905439.33', return_code='0', job_id='571170', GAL2='0.94', EG2='0.61', return_code2='0', energy_flux_error='6.12e-05', photon_flux_error2='2.27e-07', ts2='10.54', photon_index='2.65' WHERE bin_id='1283' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:50:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 571170: <4FGL_J2253.2-1232_daily_bin1283> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1283> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 01:40:30 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:40:31 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:40:31 2021
Terminated at Wed Sep 29 01:50:39 2021
Results reported at Wed Sep 29 01:50:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1283 343.308 -12.5416 571881601 572140801 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 :                                   501.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             304.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   608 sec.
    Turnaround time :                            609 sec.

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

