/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 211 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 = 7430
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2253.9+1609_daily_bin48
RA = 343.496, Dec = 16.1506
tmin = 251769601, tmax = 252028801
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='572889', job_status='RUN', time_executed='2021-09-29 01:49:13.455976', time_epoch_executed='1632905353.46' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='48'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/572889

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/572889/ft1_4FGL_J2253.9+1609_daily_bin48.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/572889/ft2_4FGL_J2253.9+1609_daily_bin48.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/572889/ft1_4FGL_J2253.9+1609_daily_bin48.fits outfile=/scratch/kocevski/572889/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin48.fits ra=343.496 dec=16.1506 rad=12.0 tmin=251769601.0 tmax=252028801.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.13
user 1.94
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/572889/ft2_4FGL_J2253.9+1609_daily_bin48.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/572889/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin48.fits evtable="EVENTS" outfile="/scratch/kocevski/572889/ft1_filtered_4FGL_J2253.9+1609_daily_bin48.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.50
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/572889/ft1_filtered_4FGL_J2253.9+1609_daily_bin48.fits" evtable="EVENTS" scfile=/scratch/kocevski/572889/ft2_4FGL_J2253.9+1609_daily_bin48.fits sctable="SC_DATA" outfile=/scratch/kocevski/572889/ltcube_251769601_252028801_4FGL_J2253.9+1609_daily_bin48.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/572889/ft2_4FGL_J2253.9+1609_daily_bin48.fits
.....................!
real 12.69
user 12.34
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/572889/ft1_filtered_4FGL_J2253.9+1609_daily_bin48.fits evtable="EVENTS" scfile=/scratch/kocevski/572889/ft2_4FGL_J2253.9+1609_daily_bin48.fits sctable="SC_DATA" expcube=/scratch/kocevski/572889/ltcube_251769601_252028801_4FGL_J2253.9+1609_daily_bin48.fits outfile=/scratch/kocevski/572889/expmap_251769601_252028801_4FGL_J2253.9+1609_daily_bin48.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/572889/ltcube_251769601_252028801_4FGL_J2253.9+1609_daily_bin48.fits
.....................!
real 190.88
user 185.47
sys 4.65

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/572889/ft1_filtered_4FGL_J2253.9+1609_daily_bin48.fits scfile=/scratch/kocevski/572889/ft2_4FGL_J2253.9+1609_daily_bin48.fits outfile=/scratch/kocevski/572889/cmap_251769601_252028801_4FGL_J2253.9+1609_daily_bin48.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/572889/ft1_filtered_4FGL_J2253.9+1609_daily_bin48.fits scfile=/scratch/kocevski/572889/ft2_4FGL_J2253.9+1609_daily_bin48.fits outfile=/scratch/kocevski/572889/cmap_HighResolution_251769601_252028801_4FGL_J2253.9+1609_daily_bin48.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.90
user 0.37
sys 0.52

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/572889/ft1_filtered_4FGL_J2253.9+1609_daily_bin48.fits', '/scratch/kocevski/572889/ft2_4FGL_J2253.9+1609_daily_bin48.fits', expMap='/scratch/kocevski/572889/expmap_251769601_252028801_4FGL_J2253.9+1609_daily_bin48.fits', expCube='/scratch/kocevski/572889/ltcube_251769601_252028801_4FGL_J2253.9+1609_daily_bin48.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/572889/Model_4FGL_J2253.9+1609_daily_bin48.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/572889/ft1_filtered_4FGL_J2253.9+1609_daily_bin48.fits
Spacecraft file(s): /scratch/kocevski/572889/ft2_4FGL_J2253.9+1609_daily_bin48.fits
Exposure map: /scratch/kocevski/572889/expmap_251769601_252028801_4FGL_J2253.9+1609_daily_bin48.fits
Exposure cube: /scratch/kocevski/572889/ltcube_251769601_252028801_4FGL_J2253.9+1609_daily_bin48.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/572889/Model_4FGL_J2253.9+1609_daily_bin48.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) = 7469.86483176

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.286       1.0000         .10000E-03   10000.    
     2 'norm      '    2.1557       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.5214       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.287       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .73717       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.8901       1.0000         .10000E-03   10000.    
     7 'norm      '    5.4063       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.1104       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.092       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5584       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.088       1.0000         .10000E-03   10000.    
    13 'Prefactor '    49.965       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    46.818       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.0649       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    17.941       1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.851       1.0000         .10000E-03   10000.    
    22 'norm      '    14.934       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .46672       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1721       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=   7469.863     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2693 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.286        18.985        .12451E-06    .31417E-05
   2  norm          2.1551        3.4842       -.13219E-06   -.27416E-03
   3  Prefactor     9.5225        12.790        .37378E-06    .39118E-04
   4  Prefactor     14.287        12.855        .12239E-06   -.16621E-04
   5  Prefactor     .73722        .26066        .89202E-08    .53059E-04
   6  Prefactor     1.8884        19.517        .97624E-07   -.95428E-04
   7  norm          5.4065        2.2399        .34805E-08    .78432E-04
   8  Prefactor     5.1108        19.956        .52023E-06    .54568E-05
   9  Prefactor     .10000E-03    6.1985       -.10357E-05** at limit **
  10  Prefactor     24.094        23.995        .11699E-05    .13815E-03
  11  Prefactor     1.5584        .24102       -.83864E-08    .75346E-04
  12  Prefactor     11.089        12.808        .47158E-06    .80591E-04
  13  Prefactor     49.963        34.537       -.42097E-06   -.85029E-04
  14  Prefactor     .10000E-03    6.0936        .10088E-05** at limit **
  15  Prefactor     .10000E-03    9.0366       -.13246E-05** at limit **
  16  Prefactor     46.819        28.283        .42266E-06    .72597E-04
  17  Prefactor     9.0638        6.6015        .12118E-05   -.87608E-03
  18  Prefactor     .10000E-03    9.5494        .20293E-05** at limit **
  19  Prefactor     .10000E-03    12.745       -.10156E-05** at limit **
  20  norm          17.939        9.6206        .17870E-06   -.17656E-03
  21  Prefactor     12.851        8.6732        .59847E-07   -.18854E-04
  22  norm          14.934        16.184        .16226E-06    .14325E-04
  23  Normalizat    .46682        .27221       -.14074E-05   -.26125E-04
  24  Prefactor     1.1721        .14947       -.26643E-07    .57942E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.2865
  norm       = 2.15514
  Prefactor  = 9.52246
  Prefactor  = 14.287
  Prefactor  = 0.737224
  Prefactor  = 1.88835
  norm       = 5.40653
  Prefactor  = 5.11076
  Prefactor  = 0.0001
  Prefactor  = 24.0943
  Prefactor  = 1.55841
  Prefactor  = 11.0892
  Prefactor  = 49.9631
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.8187
  Prefactor  = 9.06381
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 17.9389
  Prefactor  = 12.8509
  norm       = 14.9339
  Normalizat = 0.466824
  Prefactor  = 1.17208
 **********
 **   18 **HESSE 
 **********

 FCN=   7469.863     FROM HESSE     STATUS=OK           405 CALLS     3098 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.286        18.982        .10597E-03   -1.4952    
   2  norm          2.1551        3.4977        .20048E-03   -1.5414    
   3  Prefactor     9.5225        12.805        .12987E-03   -1.5091    
   4  Prefactor     14.287        12.796        .10597E-03   -1.4952    
   5  Prefactor     .73722        .25741        .23008E-04   -1.5536    
   6  Prefactor     1.8884        20.304        .30267E-03   -1.5433    
   7  norm          5.4065        2.2399        .80872E-04   -1.5243    
   8  Prefactor     5.1108        19.950        .17785E-03   -1.5256    
   9  Prefactor     .10000E-03    6.3381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.094        24.218        .81609E-04   -1.4726    
  11  Prefactor     1.5584        .24098        .15364E-04   -1.5458    
  12  Prefactor     11.089        12.819        .12032E-03   -1.5042    
  13  Prefactor     49.963        34.637        .56733E-04   -1.4293    
  14  Prefactor     .10000E-03    6.2526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.2892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     46.819        28.260        .58600E-04   -1.4338    
  17  Prefactor     9.0638        7.4032        .66560E-03   -1.5106    
  18  Prefactor     .10000E-03    10.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          17.939        9.6324        .47279E-03   -1.4861    
  21  Prefactor     12.851        8.6507        .11174E-03   -1.4991    
  22  norm          14.934        16.175        .10364E-03   -1.4935    
  23  Normalizat    .46682        .26980        .49417E-03   -1.1398    
  24  Prefactor     1.1721        .15303        .18978E-03   -.87195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.13267e-10
Minuit parameter uncertainties:
  1  18.9905
  2  3.49804
  3  12.8092
  4  12.798
  5  0.257414
  6  12.3891
  7  2.23993
  8  19.9764
  9  8.51501e-05
  10  24.2277
  11  0.240984
  12  12.822
  13  34.6507
  14  7.62281e-05
  15  0.000125055
  16  28.268
  17  7.40396
  18  0.000197209
  19  0.000120829
  20  9.63321
  21  8.65154
  22  16.1802
  23  0.270557
  24  0.153085
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.558e+00  2.410e-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.172e+00  1.531e-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:  4.668e-01  2.706e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 142.25
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 5.68e-07 +/- 8.78e-08
Energy Flux (Fixed Index): 1.82e-04 +/- 2.82e-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) = 7469.86252987
delta logL = 2.28131557378e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7469.86252412
delta logL = 2.85637524939e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5594       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.0209       1.0000          .0000       10.000    
     3 'Normalizat'    .46659       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1722       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=   7469.863     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      192 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5592        .24470        .34758E-02    .14620E-04
   2  Index1        2.0208        .15294        .69741E-01   -.56434E-04
   3  Normalizat    .46647        .25167        .11152        .58443E-04
   4  Prefactor     1.1722        .14635        .35324E-01   -.38869E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.55922
  Index1     = 2.02079
  Normalizat = 0.466467
  Prefactor  = 1.17222
 **********
 **   18 **HESSE 
 **********

 FCN=   7469.863     FROM HESSE     STATUS=OK            31 CALLS      223 TOTAL
                     EDM=   .82E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5592        .25696        .15365E-04   -1.5458    
   2  Index1        2.0208        .16212        .30627E-03   -.63831    
   3  Normalizat    .46647        .25549        .49435E-03   -1.1400    
   4  Prefactor     1.1722        .14912        .18977E-03   -.87191    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.23833e-14
Minuit parameter uncertainties:
  1  0.256959
  2  0.162165
  3  0.256135
  4  0.149177
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/572889': 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) = 7469.86252319
delta logL = 2.94918081636e-05

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.559e+00  2.570e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.021e+00  1.622e-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.172e+00  1.492e-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:  4.665e-01  2.561e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 141.32
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.02 +/- 0.16
Photon Flux (Free Index): 5.69e-07 +/- 9.65e-08
Energy Flux (Free Index): 1.82e-04 +/- 3.07e-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/572889/cmap_HighResolution_251769601_252028801_4FGL_J2253.9+1609_daily_bin48.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.68e-07', energy_flux2='1.82e-04', photon_flux_error='8.78e-08', dlogl='2.95e-05', energy_flux='1.82e-04', photon_flux2='5.69e-07', job_status='DONE', time_completed='2021-09-29 02:00:06.041736', photon_index_error2='0.16', photon_index2='2.02', ts='142.25', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='3.07e-05', EG='0.47', time_epoch_completed='1632906006.04', return_code='0', job_id='572889', GAL2='1.17', EG2='0.47', return_code2='0', energy_flux_error='2.82e-05', photon_flux_error2='9.65e-08', ts2='141.32', photon_index='2.02' WHERE bin_id='48' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:00:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 572889: <4FGL_J2253.9+1609_daily_bin48> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin48 343.496 16.1506 251769601 252028801 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 :                                   651.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             266.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            874 sec.

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

