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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1062
RA = 343.308, Dec = -12.5416
tmin = 514598401, tmax = 514857601
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='569761', job_status='RUN', time_executed='2021-09-29 01:36:56.737942', time_epoch_executed='1632904616.74' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1062'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/569761

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/569761/ft1_4FGL_J2253.2-1232_daily_bin1062.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/569761/ft2_4FGL_J2253.2-1232_daily_bin1062.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/569761/ft1_4FGL_J2253.2-1232_daily_bin1062.fits outfile=/scratch/kocevski/569761/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1062.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=514598401.0 tmax=514857601.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 4.02
user 3.77
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/569761/ft1_filtered_4FGL_J2253.2-1232_daily_bin1062.fits" evtable="EVENTS" scfile=/scratch/kocevski/569761/ft2_4FGL_J2253.2-1232_daily_bin1062.fits sctable="SC_DATA" outfile=/scratch/kocevski/569761/ltcube_514598401_514857601_4FGL_J2253.2-1232_daily_bin1062.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/569761/ft2_4FGL_J2253.2-1232_daily_bin1062.fits
.....................!
real 11.86
user 11.48
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/569761/ft1_filtered_4FGL_J2253.2-1232_daily_bin1062.fits evtable="EVENTS" scfile=/scratch/kocevski/569761/ft2_4FGL_J2253.2-1232_daily_bin1062.fits sctable="SC_DATA" expcube=/scratch/kocevski/569761/ltcube_514598401_514857601_4FGL_J2253.2-1232_daily_bin1062.fits outfile=/scratch/kocevski/569761/expmap_514598401_514857601_4FGL_J2253.2-1232_daily_bin1062.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/569761/ltcube_514598401_514857601_4FGL_J2253.2-1232_daily_bin1062.fits
.....................!
real 190.83
user 185.68
sys 4.80

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/569761/ft1_filtered_4FGL_J2253.2-1232_daily_bin1062.fits scfile=/scratch/kocevski/569761/ft2_4FGL_J2253.2-1232_daily_bin1062.fits outfile=/scratch/kocevski/569761/cmap_514598401_514857601_4FGL_J2253.2-1232_daily_bin1062.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/569761/ft1_filtered_4FGL_J2253.2-1232_daily_bin1062.fits scfile=/scratch/kocevski/569761/ft2_4FGL_J2253.2-1232_daily_bin1062.fits outfile=/scratch/kocevski/569761/cmap_HighResolution_514598401_514857601_4FGL_J2253.2-1232_daily_bin1062.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/569761/ft1_filtered_4FGL_J2253.2-1232_daily_bin1062.fits evtable="EVENTS" scfile=/scratch/kocevski/569761/ft2_4FGL_J2253.2-1232_daily_bin1062.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/569761/Model_4FGL_J2253.2-1232_daily_bin1062.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/569761/ft1_filtered_4FGL_J2253.2-1232_daily_bin1062.fits.....................!
real 55.79
user 54.43
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10697E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.4792       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.4875       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.610       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.2544       1.0000         .10000E-03   10000.    
     8 'norm      '    1.5363       1.0000         .10000E-03   10000.    
     9 'Prefactor '    31.035       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.173       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.0659       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.679       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    115.37       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    53.815       1.0000         .10000E-03   10000.    
    18 'norm      '    1.7407       1.0000         .10000E-03   10000.    
    19 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .82542       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0386       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=   6293.805     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2717 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    6.8037       -.21835E-05** at limit **
   2  Prefactor     .10000E-03    85.823       -.21648E-04** at limit **
   3  Prefactor     1.4793        3.5600        .12460E-05   -.33986E-03
   4  Prefactor     .10000E-03    17.308        .10803E-05** at limit **
   5  norm          5.4867        3.5511        .13061E-05    .48039E-03
   6  Prefactor     10.530        131.26       -.20746E-03    .21093E-04
   7  Prefactor     8.2540        13.916       -.25294E-05   -.14984E-04
   8  norm          1.5363        .91086       -.24255E-06    .53535E-03
   9  Prefactor     31.061        21.325        .14834E-05    .89889E-03
  10  norm          .10000E-03    .88540       -.51342E-06** at limit **
  11  Prefactor     15.181        31.668       -.23110E-05    .26268E-03
  12  Prefactor     6.0659        6.5935        .42560E-06    .10134E-03
  13  Prefactor     23.679        14.128        .39351E-06    .14469E-03
  14  norm          .10000E-03    4.6731        .23871E-06** at limit **
  15  Prefactor     115.32        77.432       -.34239E-04    .67905E-05
  16  Prefactor     .10000E-03    8.8036       -.48930E-07** at limit **
  17  Prefactor     53.816        17.944        .55340E-05   -.36943E-04
  18  norm          1.7405        1.2102       -.11323E-06    .47836E-04
  19  norm          .10000E-03    2.4497       -.19619E-07** at limit **
  20  Prefactor     .10000E-03    15.380       -.95217E-06** at limit **
  21  Prefactor     .10000E-03    4.6856       -.32779E-06** at limit **
  22  Prefactor     .10000E-03    75.055        .28086E-04** at limit **
  23  Normalizat    .82550        .19582        .27637E-05    .50311E-03
  24  Prefactor     1.0385        .14992        .49624E-05    .34309E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 1.47934
  Prefactor  = 0.0001
  norm       = 5.48671
  Prefactor  = 10.5304
  Prefactor  = 8.25398
  norm       = 1.5363
  Prefactor  = 31.0609
  norm       = 0.000100001
  Prefactor  = 15.1811
  Prefactor  = 6.06592
  Prefactor  = 23.6791
  norm       = 0.0001
  Prefactor  = 115.325
  Prefactor  = 0.0001
  Prefactor  = 53.8157
  norm       = 1.74053
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.8255
  Prefactor  = 1.03852
 **********
 **   18 **HESSE 
 **********

 FCN=   6293.805     FROM HESSE     STATUS=OK           397 CALLS     3114 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    43.756        .39768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    86.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.4793        3.5283        .22044E-03   -1.5465    
   4  Prefactor     .10000E-03    17.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.4867        3.5469        .11420E-03   -1.5239    
   6  Prefactor     10.530        131.55        .12300E-03   -1.5059    
   7  Prefactor     8.2540        13.938        .13954E-03   -1.5133    
   8  norm          1.5363        .90780        .55606E-04   -1.5460    
   9  Prefactor     31.061        18.757        .71922E-04   -1.4593    
  10  norm          .10000E-03    2.1888        .11458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.181        31.316        .10282E-03   -1.4929    
  12  Prefactor     6.0659        6.5924        .16302E-03   -1.5215    
  13  Prefactor     23.679        14.126        .82317E-04   -1.4734    
  14  norm          .10000E-03    4.6854        .16748E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     115.32        77.624        .18729E-03   -1.3556    
  16  Prefactor     .10000E-03    8.8074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     53.816        17.934        .54676E-04   -1.4239    
  18  norm          1.7405        1.2085        .70352E-04   -1.5444    
  19  norm          .10000E-03    2.4565        .12119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    15.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.6896        .16771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    75.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .82550        .22482        .30658E-03   -.99130    
  24  Prefactor     1.0385        .17303        .21610E-03   -.91456    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70013e-09
Minuit parameter uncertainties:
  1  0.00133895
  2  0.000223589
  3  3.52882
  4  2.12427e-05
  5  3.54705
  6  74.6417
  7  13.9435
  8  0.907809
  9  18.7603
  10  6.77077e-05
  11  31.3502
  12  6.5932
  13  14.1277
  14  1.18876e-05
  15  77.6929
  16  1.48324e-05
  17  17.9353
  18  1.2085
  19  2.40552e-06
  20  2.21746e-05
  21  8.54866e-06
  22  6.82882e-05
  23  0.225078
  24  0.173126
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.518e+01  3.135e+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:  1.039e+00  1.731e-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:  8.255e-01  2.251e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/569761/likelihoodResults_514598401_514857601_4FGL_J2253.2-1232_daily_bin1062.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) = 6292.77585168
delta logL = 1.02964682329

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6292.74647014
delta logL = 1.05902837043

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21441       1.0000         .10000E-03   10000.    
     2 'Index     '    5.7101       1.0000          .0000       10.000    
     3 'Normalizat'    .72831       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0893       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=   6292.746     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      331 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21384        1.9472        .53936E-02    .99692E-03
   2  Index         5.7128        2.3581        .11628        .11318E-03
   3  Normalizat    .72836        .47584E-01    .73111E-01    .15870E-04
   4  Prefactor     1.0893        .37461E-01    .38009E-01   -.14643E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.213845
  Index      = 5.7128
  Normalizat = 0.728363
  Prefactor  = 1.08933
 **********
 **   18 **HESSE 
 **********

 FCN=   6292.746     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      364 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21384        4.8755        .24345E-04   -1.5615    
   2  Index         5.7128        4.0441        .43315E-02    .14305    
   3  Normalizat    .72836        .19416        .32360E-03   -1.0278    
   4  Prefactor     1.0893        .14907        .21149E-03   -.89808    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.78652e-07
Minuit parameter uncertainties:
  1  2.04187
  2  4.73352
  3  0.194344
  4  0.149131
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/569761': 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) = 6292.74645872
delta logL = 1.05903978819

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  2.138e-01  2.042e+00  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  5.713e+00  4.734e+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:  1.089e+00  1.491e-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.284e-01  1.943e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.79
Ra Dec: 343.308 -12.542
Photon Index (Free Index): 5.71 +/- 4.73
Photon Flux (Free Index): 1.22e-07 +/- 8.55e-08
Energy Flux (Free Index): 1.54e-05 +/- 1.25e-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/569761/cmap_HighResolution_514598401_514857601_4FGL_J2253.2-1232_daily_bin1062.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', comment='SUCCESS', energy_flux2='1.54e-05', dlogl='1.06e+00', photon_flux2='1.22e-07', job_status='DONE', time_completed='2021-09-29 01:48:08.877543', photon_index_error2='4.73', photon_index2='5.71', ts='0.43', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.46e-07', energy_flux_error2='1.25e-05', EG='0.83', time_epoch_completed='1632905288.88', return_code='0', job_id='569761', GAL2='1.09', EG2='0.73', return_code2='102', photon_flux_error2='8.55e-08', ts2='2.79', photon_index='2.65' WHERE bin_id='1062' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:48:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 569761: <4FGL_J2253.2-1232_daily_bin1062> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1062> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 01:35:53 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:35:55 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:55 2021
Terminated at Wed Sep 29 01:48:09 2021
Results reported at Wed Sep 29 01:48:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1062 343.308 -12.5416 514598401 514857601 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 :                                   632.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             301.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            736 sec.

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

