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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin846
RA = 343.496, Dec = 16.1506
tmin = 458611201, tmax = 458870401
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='576959', job_status='RUN', time_executed='2021-09-29 01:56:05.738863', time_epoch_executed='1632905765.74' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='846'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/576959

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/576959/ft1_4FGL_J2253.9+1609_daily_bin846.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/576959/ft2_4FGL_J2253.9+1609_daily_bin846.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/576959/ft1_4FGL_J2253.9+1609_daily_bin846.fits outfile=/scratch/kocevski/576959/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin846.fits ra=343.496 dec=16.1506 rad=12.0 tmin=458611201.0 tmax=458870401.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.63
user 3.39
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/576959/ft2_4FGL_J2253.9+1609_daily_bin846.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/576959/ft2_4FGL_J2253.9+1609_daily_bin846.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/576959/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin846.fits evtable="EVENTS" outfile="/scratch/kocevski/576959/ft1_filtered_4FGL_J2253.9+1609_daily_bin846.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/576959/ft1_filtered_4FGL_J2253.9+1609_daily_bin846.fits" evtable="EVENTS" scfile=/scratch/kocevski/576959/ft2_4FGL_J2253.9+1609_daily_bin846.fits sctable="SC_DATA" outfile=/scratch/kocevski/576959/ltcube_458611201_458870401_4FGL_J2253.9+1609_daily_bin846.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/576959/ft2_4FGL_J2253.9+1609_daily_bin846.fits
.....................!
real 11.91
user 11.59
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/576959/ft1_filtered_4FGL_J2253.9+1609_daily_bin846.fits evtable="EVENTS" scfile=/scratch/kocevski/576959/ft2_4FGL_J2253.9+1609_daily_bin846.fits sctable="SC_DATA" expcube=/scratch/kocevski/576959/ltcube_458611201_458870401_4FGL_J2253.9+1609_daily_bin846.fits outfile=/scratch/kocevski/576959/expmap_458611201_458870401_4FGL_J2253.9+1609_daily_bin846.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/576959/ltcube_458611201_458870401_4FGL_J2253.9+1609_daily_bin846.fits
.....................!
real 191.89
user 186.64
sys 4.93

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 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J2253.9+1609 @ 343.496 16.1506

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/576959/ft1_filtered_4FGL_J2253.9+1609_daily_bin846.fits scfile=/scratch/kocevski/576959/ft2_4FGL_J2253.9+1609_daily_bin846.fits outfile=/scratch/kocevski/576959/cmap_458611201_458870401_4FGL_J2253.9+1609_daily_bin846.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.496 yref=16.1506 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/576959/ft1_filtered_4FGL_J2253.9+1609_daily_bin846.fits scfile=/scratch/kocevski/576959/ft2_4FGL_J2253.9+1609_daily_bin846.fits outfile=/scratch/kocevski/576959/cmap_HighResolution_458611201_458870401_4FGL_J2253.9+1609_daily_bin846.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.496 yref=16.1506 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/576959/ft1_filtered_4FGL_J2253.9+1609_daily_bin846.fits evtable="EVENTS" scfile=/scratch/kocevski/576959/ft2_4FGL_J2253.9+1609_daily_bin846.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/576959/Model_4FGL_J2253.9+1609_daily_bin846.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/576959/ft1_filtered_4FGL_J2253.9+1609_daily_bin846.fits.....................!
real 84.09
user 82.78
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/576959/ft1_filtered_4FGL_J2253.9+1609_daily_bin846.fits', '/scratch/kocevski/576959/ft2_4FGL_J2253.9+1609_daily_bin846.fits', expMap='/scratch/kocevski/576959/expmap_458611201_458870401_4FGL_J2253.9+1609_daily_bin846.fits', expCube='/scratch/kocevski/576959/ltcube_458611201_458870401_4FGL_J2253.9+1609_daily_bin846.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/576959/Model_4FGL_J2253.9+1609_daily_bin846.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2253.9+1609'

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  5.306e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/576959/ft1_filtered_4FGL_J2253.9+1609_daily_bin846.fits
Spacecraft file(s): /scratch/kocevski/576959/ft2_4FGL_J2253.9+1609_daily_bin846.fits
Exposure map: /scratch/kocevski/576959/expmap_458611201_458870401_4FGL_J2253.9+1609_daily_bin846.fits
Exposure cube: /scratch/kocevski/576959/ltcube_458611201_458870401_4FGL_J2253.9+1609_daily_bin846.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/576959/Model_4FGL_J2253.9+1609_daily_bin846.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) = 8072.06353246

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    18.900       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.0220       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.8753       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .96782       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.983       1.0000         .10000E-03   10000.    
     7 'norm      '    1.6484       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.2589       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8848       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.4102       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.2832       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.9215       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.1945       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    14.052       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.7302       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .94288       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0390       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8071.968     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     3091 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.438        .30735E-06** at limit **
   2  norm          18.900        7.0446       -.71132E-06   -.20590E-03
   3  Prefactor     7.0211        11.529       -.20739E-05   -.68994E-04
   4  Prefactor     1.8779        11.886        .72878E-05   -.36670E-05
   5  Prefactor     .96785        .25283        .40838E-07   -.13967E-03
   6  Prefactor     17.982        9.4240       -.45967E-06   -.37283E-04
   7  norm          1.6483        1.6207       -.49329E-07   -.10974E-03
   8  Prefactor     7.2588        25.430       -.14887E-06   -.67450E-05
   9  Prefactor     5.8850        11.180        .51469E-06   -.36880E-04
  10  Prefactor     .10000E-03    51.099        .19473E-05** at limit **
  11  Prefactor     1.4103        .22154        .95136E-08   -.31193E-03
  12  Prefactor     3.2840        9.8785        .28989E-05   -.15130E-04
  13  Prefactor     .10000E-03    220.59       -.61656E-05** at limit **
  14  Prefactor     .10000E-03    2.0515        .67991E-07** at limit **
  15  Prefactor     1.9210        3.0609        .13145E-05   -.23527E-02
  16  Prefactor     .10000E-03    12.506        .10705E-04** at limit **
  17  Prefactor     3.1953        6.3458       -.21729E-05   -.13680E-03
  18  Prefactor     .10000E-03    12.812       -.68574E-05** at limit **
  19  Prefactor     .10000E-03    11.646       -.46990E-05** at limit **
  20  norm          14.053        11.037        .24237E-05    .33754E-03
  21  Prefactor     8.7307        9.0909       -.85271E-06   -.57317E-03
  22  norm          .10000E-03    5.5972        .19826E-07** at limit **
  23  Normalizat    .94262        .23054       -.12486E-05    .14443E-04
  24  Prefactor     1.0391        .12569        .23359E-06   -.71485E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 18.8998
  Prefactor  = 7.02109
  Prefactor  = 1.8779
  Prefactor  = 0.967852
  Prefactor  = 17.9824
  norm       = 1.64834
  Prefactor  = 7.25884
  Prefactor  = 5.88498
  Prefactor  = 0.0001
  Prefactor  = 1.41026
  Prefactor  = 3.28401
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.92104
  Prefactor  = 0.0001
  Prefactor  = 3.19529
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 14.0526
  Prefactor  = 8.73065
  norm       = 0.0001
  Normalizat = 0.94262
  Prefactor  = 1.03911
 **********
 **   18 **HESSE 
 **********

 FCN=   8071.968     FROM HESSE     STATUS=OK           403 CALLS     3494 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          18.900        7.0487        .92129E-04   -1.4838    
   3  Prefactor     7.0211        11.526        .15139E-03   -1.5178    
   4  Prefactor     1.8779        11.871        .30407E-03   -1.5434    
   5  Prefactor     .96785        .25261        .21525E-04   -1.5511    
   6  Prefactor     17.982        9.4303        .94447E-04   -1.4860    
   7  norm          1.6483        1.6146        .10776E-03   -1.5451    
   8  Prefactor     7.2588        25.446        .14888E-03   -1.5169    
   9  Prefactor     5.8850        11.125        .16554E-03   -1.5223    
  10  Prefactor     .10000E-03    52.652        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4103        .22211        .15649E-04   -1.5470    
  12  Prefactor     3.2840        9.8623        .22347E-03   -1.5346    
  13  Prefactor     .10000E-03    227.24        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.0570        .12566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.9210        6.6494        .14987E-02   -1.5431    
  16  Prefactor     .10000E-03    12.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.1953        6.3336        .22670E-03   -1.5350    
  18  Prefactor     .10000E-03    13.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          14.053        11.148        .10685E-03   -1.4958    
  21  Prefactor     8.7307        9.2142        .67830E-03   -1.5117    
  22  norm          .10000E-03    5.6031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .94262        .26513        .36803E-03   -.94978    
  24  Prefactor     1.0391        .14554        .20289E-03   -.91437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33788e-08
Minuit parameter uncertainties:
  1  1.90328e-05
  2  7.04903
  3  11.53
  4  9.44537
  5  0.252606
  6  9.43111
  7  1.61461
  8  25.484
  9  11.1293
  10  3.04602e-05
  11  0.222107
  12  9.86714
  13  2.44752e-05
  14  2.11727e-06
  15  6.65197
  16  0.000146016
  17  6.33491
  18  0.000191184
  19  1.49635e-05
  20  11.1498
  21  9.21568
  22  2.90758e-06
  23  0.2655
  24  0.145596
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.410e+00  2.221e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.039e+00  1.456e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  9.426e-01  2.655e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 118.88
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 5.14e-07 +/- 8.10e-08
Energy Flux (Fixed Index): 1.65e-04 +/- 2.60e-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) = 8071.02135158
delta logL = 0.946919916861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8071.01578159
delta logL = 0.952489905875

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5405       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.2714       1.0000          .0000       10.000    
     3 'Normalizat'    .86057       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0717       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8071.016     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      203 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5405        .23169        .35778E-02    .33618E-02
   2  Index1        2.2714        .17870        .84377E-01   -.10148E-03
   3  Normalizat    .86061        .22323        .86344E-01    .12117E-03
   4  Prefactor     1.0717        .12722        .38776E-01   -.81451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.54054
  Index1     = 2.27137
  Normalizat = 0.86061
  Prefactor  = 1.07172
 **********
 **   18 **HESSE 
 **********

 FCN=   8071.016     FROM HESSE     STATUS=OK            27 CALLS      230 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5405        .24035        .15821E-04   -1.5460    
   2  Index1        2.2714        .18777        .36889E-03   -.57726    
   3  Normalizat    .86061        .25756        .38236E-03   -.97858    
   4  Prefactor     1.0717        .14638        .20010E-03   -.90375    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.602e-10
Minuit parameter uncertainties:
  1  0.240351
  2  0.187837
  3  0.257931
  4  0.146434
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/576959': 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) = 8071.01578155
delta logL = 0.95248994579

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.541e+00  2.404e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.271e+00  1.878e-01  0.000e+00  1.000e+01 (-1.000e+00)
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.072e+00  1.464e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  8.606e-01  2.579e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 120.19
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.27 +/- 0.19
Photon Flux (Free Index): 5.80e-07 +/- 9.77e-08
Energy Flux (Free Index): 1.51e-04 +/- 2.44e-05

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/576959/cmap_HighResolution_458611201_458870401_4FGL_J2253.9+1609_daily_bin846.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.14e-07', energy_flux2='1.51e-04', photon_flux_error='8.10e-08', dlogl='9.52e-01', energy_flux='1.65e-04', photon_flux2='5.80e-07', job_status='DONE', time_completed='2021-09-29 02:08:04.942194', photon_index_error2='0.19', photon_index2='2.27', ts='118.88', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='2.44e-05', EG='0.94', time_epoch_completed='1632906484.94', return_code='0', job_id='576959', GAL2='1.07', EG2='0.86', return_code2='0', energy_flux_error='2.60e-05', photon_flux_error2='9.77e-08', ts2='120.19', photon_index='2.02' WHERE bin_id='846' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:08:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 576959: <4FGL_J2253.9+1609_daily_bin846> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin846> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 01:55:45 2021
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:55:46 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:55:46 2021
Terminated at Wed Sep 29 02:08:05 2021
Results reported at Wed Sep 29 02:08:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin846 343.496 16.1506 458611201 458870401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2253.9+1609 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   717.16 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             354.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            740 sec.

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

