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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1574
RA = 343.308, Dec = -12.5416
tmin = 647308801, tmax = 647568001
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='572771', job_status='RUN', time_executed='2021-09-29 01:45:42.225578', time_epoch_executed='1632905142.23' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1574'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/572771

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/572771/ft1_4FGL_J2253.2-1232_daily_bin1574.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/572771/ft2_4FGL_J2253.2-1232_daily_bin1574.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/572771/ft1_4FGL_J2253.2-1232_daily_bin1574.fits outfile=/scratch/kocevski/572771/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1574.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=647308801.0 tmax=647568001.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.50
user 3.25
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/572771/ft1_filtered_4FGL_J2253.2-1232_daily_bin1574.fits" evtable="EVENTS" scfile=/scratch/kocevski/572771/ft2_4FGL_J2253.2-1232_daily_bin1574.fits sctable="SC_DATA" outfile=/scratch/kocevski/572771/ltcube_647308801_647568001_4FGL_J2253.2-1232_daily_bin1574.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/572771/ft2_4FGL_J2253.2-1232_daily_bin1574.fits
.....................!
real 11.90
user 11.54
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/572771/ft1_filtered_4FGL_J2253.2-1232_daily_bin1574.fits evtable="EVENTS" scfile=/scratch/kocevski/572771/ft2_4FGL_J2253.2-1232_daily_bin1574.fits sctable="SC_DATA" expcube=/scratch/kocevski/572771/ltcube_647308801_647568001_4FGL_J2253.2-1232_daily_bin1574.fits outfile=/scratch/kocevski/572771/expmap_647308801_647568001_4FGL_J2253.2-1232_daily_bin1574.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/572771/ltcube_647308801_647568001_4FGL_J2253.2-1232_daily_bin1574.fits
.....................!
real 189.70
user 184.90
sys 4.43

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/572771/ft1_filtered_4FGL_J2253.2-1232_daily_bin1574.fits scfile=/scratch/kocevski/572771/ft2_4FGL_J2253.2-1232_daily_bin1574.fits outfile=/scratch/kocevski/572771/cmap_647308801_647568001_4FGL_J2253.2-1232_daily_bin1574.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/572771/ft1_filtered_4FGL_J2253.2-1232_daily_bin1574.fits scfile=/scratch/kocevski/572771/ft2_4FGL_J2253.2-1232_daily_bin1574.fits outfile=/scratch/kocevski/572771/cmap_HighResolution_647308801_647568001_4FGL_J2253.2-1232_daily_bin1574.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.56
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1933       1.0000         .10000E-03   10000.    
     2 'Prefactor '    88.825       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.1781       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.1230       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .39307       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.0095       1.0000         .10000E-03   10000.    
    10 'norm      '    1.1608       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    14.502       1.0000         .10000E-03   10000.    
    15 'Prefactor '    33.507       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.2457       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10885E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .95104       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92663       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=   6086.452     FROM MIGRAD    STATUS=CONVERGED    567 CALLS     2724 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1933        11.135        .22351E-05   -.40846E-03
   2  Prefactor     88.800        64.405       -.33985E-05   -.28477E-03
   3  Prefactor     2.1782        3.9524        .31641E-06   -.14182E-03
   4  Prefactor     .10000E-03    28.447        .56203E-06** at limit **
   5  norm          5.1240        4.4547        .19332E-06   -.87217E-04
   6  Prefactor     .10000E-03    239.90        .27899E-06** at limit **
   7  Prefactor     .10000E-03    15.896        .93789E-07** at limit **
   8  norm          .39282        .53709        .13640E-08   -.55860E-04
   9  Prefactor     9.0360        20.315        .10720E-05   -.18957E-04
  10  norm          1.1588        1.5176       -.15241E-06    .16011E-03
  11  Prefactor     .10000E-03    20.449        .62488E-07** at limit **
  12  Prefactor     .10000E-03    5.2759        .14670E-07** at limit **
  13  Prefactor     .10000E-03    2.9577       -.19381E-08** at limit **
  14  norm          14.502        9.7244        .26701E-07   -.60403E-05
  15  Prefactor     33.489        34.371       -.29859E-07   -.42553E-05
  16  Prefactor     .10000E-03    7.7855        .20046E-07** at limit **
  17  Prefactor     .10000E-03    7.8754       -.61870E-07** at limit **
  18  norm          .10000E-03    .36547       -.97490E-08** at limit **
  19  norm          2.2431        4.2940        .38140E-06   -.13186E-03
  20  Prefactor     .10000E-03    137.87        .37800E-06** at limit **
  21  Prefactor     .10000E-03    27.422       -.45055E-06** at limit **
  22  Prefactor     .10000E-03    32.987       -.95774E-07** at limit **
  23  Normalizat    .95091        .17976       -.47892E-06    .27002E-05
  24  Prefactor     .92675        .14001       -.38289E-07   -.23333E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.19333
  Prefactor  = 88.8002
  Prefactor  = 2.17817
  Prefactor  = 0.0001
  norm       = 5.12401
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.392822
  Prefactor  = 9.03602
  norm       = 1.15877
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.5022
  Prefactor  = 33.4888
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.24308
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.950912
  Prefactor  = 0.926746
 **********
 **   18 **HESSE 
 **********

 FCN=   6086.452     FROM HESSE     STATUS=OK           397 CALLS     3121 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1933        11.673        .70032E-03   -1.5135    
   2  Prefactor     88.800        70.288        .21316E-03   -1.3820    
   3  Prefactor     2.1782        3.9372        .19768E-03   -1.5413    
   4  Prefactor     .10000E-03    28.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.1240        4.4362        .14015E-03   -1.5255    
   6  Prefactor     .10000E-03    240.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .39282        .49636        .64272E-03   -1.5583    
   9  Prefactor     9.0360        24.682        .13353E-03   -1.5107    
  10  norm          1.1588        1.8116        .65217E-04   -1.5493    
  11  Prefactor     .10000E-03    20.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.2987        .17499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.9621        .13103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          14.502        9.7273        .10518E-03   -1.4946    
  15  Prefactor     33.489        34.225        .69226E-04   -1.4550    
  16  Prefactor     .10000E-03    7.7880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.1250        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .37113        .46005E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.2431        4.2827        .21434E-03   -1.5408    
  20  Prefactor     .10000E-03    139.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    27.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    33.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .95091        .20969        .26345E-03   -.94694    
  24  Prefactor     .92675        .16341        .20909E-03   -.95213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9131e-10
Minuit parameter uncertainties:
  1  11.6766
  2  70.3537
  3  3.93762
  4  0.000159229
  5  4.43652
  6  9.0047e-05
  7  1.1409e-05
  8  0.496368
  9  24.7103
  10  1.81168
  11  1.41379e-05
  12  1.041e-07
  13  1.37774e-06
  14  9.72841
  15  34.2448
  16  2.18916e-06
  17  5.11551e-06
  18  3.25506e-07
  19  4.28328
  20  0.000213288
  21  0.000127438
  22  2.97315e-05
  23  0.20987
  24  0.163497
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  1.414e-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:  9.267e-01  1.635e-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.509e-01  2.099e-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: 9.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/572771/likelihoodResults_647308801_647568001_4FGL_J2253.2-1232_daily_bin1574.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) = 6086.45227528
delta logL = -0.000232350249462

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6086.45204328
delta logL = -3.47954483004e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5984       1.0000          .0000       10.000    
     3 'Normalizat'    .95101       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92673       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=   6086.452     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      195 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6402.0        .90712E-02** at limit **
   2  Index         2.6078        5.1565        .50000       -.43201E-05
   3  Normalizat    .95091        .73715E-01    .45550E-01    .11749E-03
   4  Prefactor     .92675        .57799E-01    .45345E-01    .13038E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.6078
  Normalizat = 0.950912
  Prefactor  = 0.926747
 **********
 **   18 **HESSE 
 **********

 FCN=   6086.452     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      228 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7020.2        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6078        6.6377        .50000       -.49888    
   3  Normalizat    .95091        .15200        .26345E-03   -.94694    
   4  Prefactor     .92675        .11984        .20909E-03   -.95213    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.9775e-10
Minuit parameter uncertainties:
  1  0.00321502
  2  67.5566
  3  0.152073
  4  0.119876
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/572771': 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) = 6086.45204297
delta logL = -3.83333826903e-08

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  3.215e-03  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.608e+00  6.756e+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.267e-01  1.199e-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.509e-01  1.521e-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/572771/cmap_HighResolution_647308801_647568001_4FGL_J2253.2-1232_daily_bin1574.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.41e-03', job_status='DONE', photon_flux_upper_limit='9.44e-08', time_completed='2021-09-29 01:56:00.364171', job_id='572771', GAL2='0.93', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1632905760.36', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='-3.83e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1574' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:56:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 572771: <4FGL_J2253.2-1232_daily_bin1574> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1574 343.308 -12.5416 647308801 647568001 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 :                                   614.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             361.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   635 sec.
    Turnaround time :                            637 sec.

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

