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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1363
RA = 343.496, Dec = 16.1506
tmin = 592617601, tmax = 592876801
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='579998', job_status='RUN', time_executed='2021-09-29 02:07:40.346091', time_epoch_executed='1632906460.35' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1363'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/579998

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/579998/ft1_4FGL_J2253.9+1609_daily_bin1363.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/579998/ft2_4FGL_J2253.9+1609_daily_bin1363.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/579998/ft1_4FGL_J2253.9+1609_daily_bin1363.fits outfile=/scratch/kocevski/579998/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1363.fits ra=343.496 dec=16.1506 rad=12.0 tmin=592617601.0 tmax=592876801.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.49
user 3.26
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/579998/ft1_filtered_4FGL_J2253.9+1609_daily_bin1363.fits" evtable="EVENTS" scfile=/scratch/kocevski/579998/ft2_4FGL_J2253.9+1609_daily_bin1363.fits sctable="SC_DATA" outfile=/scratch/kocevski/579998/ltcube_592617601_592876801_4FGL_J2253.9+1609_daily_bin1363.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/579998/ft2_4FGL_J2253.9+1609_daily_bin1363.fits
.....................!
real 11.80
user 11.46
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/579998/ft1_filtered_4FGL_J2253.9+1609_daily_bin1363.fits evtable="EVENTS" scfile=/scratch/kocevski/579998/ft2_4FGL_J2253.9+1609_daily_bin1363.fits sctable="SC_DATA" expcube=/scratch/kocevski/579998/ltcube_592617601_592876801_4FGL_J2253.9+1609_daily_bin1363.fits outfile=/scratch/kocevski/579998/expmap_592617601_592876801_4FGL_J2253.9+1609_daily_bin1363.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/579998/ltcube_592617601_592876801_4FGL_J2253.9+1609_daily_bin1363.fits
.....................!
real 190.53
user 185.95
sys 4.26

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/579998/ft1_filtered_4FGL_J2253.9+1609_daily_bin1363.fits scfile=/scratch/kocevski/579998/ft2_4FGL_J2253.9+1609_daily_bin1363.fits outfile=/scratch/kocevski/579998/cmap_592617601_592876801_4FGL_J2253.9+1609_daily_bin1363.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.53
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/579998/ft1_filtered_4FGL_J2253.9+1609_daily_bin1363.fits scfile=/scratch/kocevski/579998/ft2_4FGL_J2253.9+1609_daily_bin1363.fits outfile=/scratch/kocevski/579998/cmap_HighResolution_592617601_592876801_4FGL_J2253.9+1609_daily_bin1363.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.465       1.0000         .10000E-03   10000.    
     2 'norm      '    .11872E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.725       1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.672       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .49118E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.3537       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    52.194       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .32823       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .96008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1249       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.299       1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.932       1.0000         .10000E-03   10000.    
    20 'norm      '    .13560E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.5006       1.0000         .10000E-03   10000.    
    22 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .89470       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96277       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=   7051.658     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     2445 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.479        31.441        .21554E-06    .32726E-04
   2  norm          .10000E-03    3.4937        .31398E-06** at limit **
   3  Prefactor     36.725        20.562        .57556E-06   -.38871E-05
   4  Prefactor     18.667        12.921        .15903E-06   -.41624E-04
   5  Prefactor     .49084E-01    .12556       -.52624E-07    .54047E-03
   6  Prefactor     .10000E-03    2.0201        .34839E-07** at limit **
   7  norm          1.3540        1.7193        .74417E-07    .32535E-04
   8  Prefactor     .10000E-03    35.277        .18487E-06** at limit **
   9  Prefactor     52.187        16.581        .86958E-07    .39963E-05
  10  Prefactor     .10000E-03    5.5636        .12901E-07** at limit **
  11  Prefactor     .32818        .15365       -.26416E-07   -.17340E-03
  12  Prefactor     .10000E-03    3.1857        .90201E-07** at limit **
  13  Prefactor     .10000E-03    152.52       -.43241E-05** at limit **
  14  Prefactor     .10000E-03    40.366        .39687E-05** at limit **
  15  Prefactor     4.1306        11.662       -.20511E-06    .74589E-05
  16  Prefactor     .10000E-03    9.1906        .14554E-06** at limit **
  17  Prefactor     .10000E-03    4.0793        .22265E-06** at limit **
  18  Prefactor     13.296        12.216       -.32734E-06   -.69440E-04
  19  Prefactor     27.924        19.652        .23110E-06   -.23938E-04
  20  norm          .10004E-03    9.0065        .11398E-06** at limit **
  21  Prefactor     3.4929        6.9330       -.85200E-06    .37336E-04
  22  norm          .10000E-03    5.5085        .67269E-07** at limit **
  23  Normalizat    .89478        .22608       -.77786E-06   -.30936E-04
  24  Prefactor     .96275        .12079       -.93900E-06    .32915E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.4792
  norm       = 0.0001
  Prefactor  = 36.7254
  Prefactor  = 18.6667
  Prefactor  = 0.0490837
  Prefactor  = 0.0001
  norm       = 1.35397
  Prefactor  = 0.0001
  Prefactor  = 52.1873
  Prefactor  = 0.0001
  Prefactor  = 0.328182
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 4.13062
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.296
  Prefactor  = 27.9236
  norm       = 0.000100039
  Prefactor  = 3.49287
  norm       = 0.0001
  Normalizat = 0.894776
  Prefactor  = 0.962748
 **********
 **   18 **HESSE 
 **********

 FCN=   7051.658     FROM HESSE     STATUS=OK           411 CALLS     2856 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.479        31.421        .61518E-04   -1.4404    
   2  norm          .10000E-03    12.982        .30295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     36.725        19.960        .66133E-04   -1.4495    
   4  Prefactor     18.667        12.892        .92689E-04   -1.4844    
   5  Prefactor     .49084E-01    .11234        .42830E-03   -1.5664    
   6  Prefactor     .10000E-03    2.0218        .11657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3540        1.6898        .11827E-03   -1.5475    
   8  Prefactor     .10000E-03    35.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     52.187        16.545        .55515E-04   -1.4262    
  10  Prefactor     .10000E-03    5.5648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .32818        .15058        .21038E-04   -1.5593    
  12  Prefactor     .10000E-03    3.1907        .14641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    153.51        .41578E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    40.115        .35584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.1306        11.622        .19848E-03   -1.5301    
  16  Prefactor     .10000E-03    9.2256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.1676        .16572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.296        11.780        .10984E-03   -1.4979    
  19  Prefactor     27.924        19.643        .75803E-04   -1.4651    
  20  norm          .10004E-03    86.220        .38850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.4929        6.9828        .10805E-02   -1.5334    
  22  norm          .10000E-03    5.5185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .89478        .26409        .34668E-03   -.96644    
  24  Prefactor     .96275        .14147        .18850E-03   -.93982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.56431e-10
Minuit parameter uncertainties:
  1  31.4336
  2  4.25322e-05
  3  19.9632
  4  12.8942
  5  0.112336
  6  1.60537e-06
  7  1.68983
  8  0.000164495
  9  16.5464
  10  1.19479e-05
  11  0.150578
  12  2.90749e-06
  13  0.00128173
  14  0.000245749
  15  11.6285
  16  8.67157e-06
  17  1.13251e-05
  18  11.782
  19  19.6473
  20  0.0036903
  21  6.98443
  22  1.83127e-06
  23  0.26447
  24  0.141526
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  3.282e-01  1.506e-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:  9.627e-01  1.415e-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.948e-01  2.645e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.57
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.20e-07 +/- 5.49e-08
Energy Flux (Fixed Index): 3.84e-05 +/- 1.76e-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) = 7050.12314484
delta logL = 1.53442801294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7050.11885329
delta logL = 1.53871955834

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45762       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.8631       1.0000          .0000       10.000    
     3 'Normalizat'    .78977       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0022       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=   7050.119     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      238 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45781        3.3778        .45334E-02    .64779E-03
   2  Index1        2.8638        6.2282        .21398       -.21757E-04
   3  Normalizat    .78962        .21575        .82672E-01   -.80948E-05
   4  Prefactor     1.0024        .17657        .44899E-01   -.80196E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.457808
  Index1     = 2.86382
  Normalizat = 0.789625
  Prefactor  = 1.00242
 **********
 **   18 **HESSE 
 **********

 FCN=   7050.119     FROM HESSE     STATUS=OK            31 CALLS      269 TOTAL
                     EDM=   .37E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45781        .17504        .20204E-04   -1.5573    
   2  Index1        2.8638        .53880        .86563E-02   -.44143    
   3  Normalizat    .78962        .25829        .36606E-03   -1.0045    
   4  Prefactor     1.0024        .14356        .18503E-03   -.92649    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69896e-12
Minuit parameter uncertainties:
  1  0.175037
  2  0.540087
  3  0.258687
  4  0.143614
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/579998': 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) = 7050.11884953
delta logL = 1.53872331756

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  4.578e-01  1.750e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.864e+00  5.401e-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.002e+00  1.436e-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:  7.896e-01  2.587e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.93
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.86 +/- 0.54
Photon Flux (Free Index): 2.04e-07 +/- 8.17e-08
Energy Flux (Free Index): 3.86e-05 +/- 1.48e-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/579998/cmap_HighResolution_592617601_592876801_4FGL_J2253.9+1609_daily_bin1363.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.20e-07', energy_flux2='3.86e-05', photon_flux_error='5.49e-08', dlogl='1.54e+00', energy_flux='3.84e-05', photon_flux2='2.04e-07', job_status='DONE', time_completed='2021-09-29 02:18:50.654768', photon_index_error2='0.54', photon_index2='2.86', ts='8.57', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.48e-05', EG='0.89', time_epoch_completed='1632907130.65', return_code='0', job_id='579998', GAL2='1.00', EG2='0.79', return_code2='0', energy_flux_error='1.76e-05', photon_flux_error2='8.17e-08', ts2='11.93', photon_index='2.02' WHERE bin_id='1363' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:18:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 579998: <4FGL_J2253.9+1609_daily_bin1363> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1363> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 02:05:33 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:05:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:05:35 2021
Terminated at Wed Sep 29 02:18:53 2021
Results reported at Wed Sep 29 02:18:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1363 343.496 16.1506 592617601 592876801 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 :                                   602.28 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             301.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            800 sec.

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

