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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1260
RA = 343.496, Dec = 16.1506
tmin = 565920001, tmax = 566179201
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='579848', job_status='RUN', time_executed='2021-09-29 02:07:56.165344', time_epoch_executed='1632906476.17' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1260'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/579848

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/579848/ft1_4FGL_J2253.9+1609_daily_bin1260.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/579848/ft2_4FGL_J2253.9+1609_daily_bin1260.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/579848/ft1_4FGL_J2253.9+1609_daily_bin1260.fits outfile=/scratch/kocevski/579848/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1260.fits ra=343.496 dec=16.1506 rad=12.0 tmin=565920001.0 tmax=566179201.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.58
user 3.37
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/579848/ft2_4FGL_J2253.9+1609_daily_bin1260.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/579848/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1260.fits evtable="EVENTS" outfile="/scratch/kocevski/579848/ft1_filtered_4FGL_J2253.9+1609_daily_bin1260.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.34
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/579848/ft1_filtered_4FGL_J2253.9+1609_daily_bin1260.fits evtable="EVENTS" scfile=/scratch/kocevski/579848/ft2_4FGL_J2253.9+1609_daily_bin1260.fits sctable="SC_DATA" expcube=/scratch/kocevski/579848/ltcube_565920001_566179201_4FGL_J2253.9+1609_daily_bin1260.fits outfile=/scratch/kocevski/579848/expmap_565920001_566179201_4FGL_J2253.9+1609_daily_bin1260.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/579848/ltcube_565920001_566179201_4FGL_J2253.9+1609_daily_bin1260.fits
.....................!
real 189.48
user 185.38
sys 3.77

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/579848/ft1_filtered_4FGL_J2253.9+1609_daily_bin1260.fits scfile=/scratch/kocevski/579848/ft2_4FGL_J2253.9+1609_daily_bin1260.fits outfile=/scratch/kocevski/579848/cmap_565920001_566179201_4FGL_J2253.9+1609_daily_bin1260.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/579848/ft1_filtered_4FGL_J2253.9+1609_daily_bin1260.fits scfile=/scratch/kocevski/579848/ft2_4FGL_J2253.9+1609_daily_bin1260.fits outfile=/scratch/kocevski/579848/cmap_HighResolution_565920001_566179201_4FGL_J2253.9+1609_daily_bin1260.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.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9213       1.0000         .10000E-03   10000.    
     2 'norm      '    8.6313       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .99084E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.032       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.1854       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .12143       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.5786       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0711       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.0789       1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.096       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.962       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.743       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.483       1.0000         .10000E-03   10000.    
    20 'norm      '    5.1038       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.5933       1.0000         .10000E-03   10000.    
    22 'norm      '    13.626       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .78756       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0779       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=   7388.292     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2855 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9149        21.807        .16763E-04   -.20596E-04
   2  norm          8.6313        4.8946       -.99401E-07   -.30182E-04
   3  Prefactor     .10402E-03    15.349        .10329E-06** at limit **
   4  Prefactor     22.031        13.184       -.36058E-06   -.22271E-04
   5  Prefactor     1.1858        .32321        .31722E-07   -.32924E-03
   6  Prefactor     .10000E-03    3.0959        .11247E-06** at limit **
   7  norm          .12118        1.1406       -.12463E-05   -.54798E-03
   8  Prefactor     .10000E-03    69.247       -.48338E-06** at limit **
   9  Prefactor     3.5770        13.827        .61255E-05    .69225E-05
  10  Prefactor     .10000E-03    22.143        .28941E-06** at limit **
  11  Prefactor     1.0711        .24508        .27920E-07    .28770E-03
  12  Prefactor     .10000E-03    3.7156       -.55351E-07** at limit **
  13  Prefactor     6.0738        52.311       -.61801E-05   -.65501E-05
  14  Prefactor     22.094        11.597       -.17603E-05    .15209E-04
  15  Prefactor     18.959        21.068        .17432E-05    .26855E-04
  16  Prefactor     13.738        23.428        .39299E-05   -.15618E-04
  17  Prefactor     .10000E-03    8.2624       -.36962E-06** at limit **
  18  Prefactor     .10000E-03    9.1570        .57794E-06** at limit **
  19  Prefactor     13.478        20.501        .63394E-05    .25573E-05
  20  norm          5.0984        12.590       -.76661E-05   -.42927E-04
  21  Prefactor     3.5938        10.629       -.59518E-05   -.10908E-03
  22  norm          13.623        18.102        .25645E-05    .56544E-05
  23  Normalizat    .78758        .26885       -.27902E-05    .62115E-04
  24  Prefactor     1.0780        .13581        .40756E-06    .11426E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.9149
  norm       = 8.63128
  Prefactor  = 0.000104025
  Prefactor  = 22.0305
  Prefactor  = 1.18579
  Prefactor  = 0.0001
  norm       = 0.121181
  Prefactor  = 0.0001
  Prefactor  = 3.57701
  Prefactor  = 0.0001
  Prefactor  = 1.07105
  Prefactor  = 0.0001
  Prefactor  = 6.07382
  Prefactor  = 22.0945
  Prefactor  = 18.9591
  Prefactor  = 13.7378
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 13.4776
  norm       = 5.09839
  Prefactor  = 3.5938
  norm       = 13.6226
  Normalizat = 0.787583
  Prefactor  = 1.07801
 **********
 **   18 **HESSE 
 **********

 FCN=   7388.292     FROM HESSE     STATUS=OK           417 CALLS     3272 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9149        21.648        .15250E-03   -1.5182    
   2  norm          8.6313        4.8938        .13644E-03   -1.5120    
   3  Prefactor     .10402E-03    21.347        .89006E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.031        13.182        .85334E-04   -1.4769    
   5  Prefactor     1.1858        .32464        .23041E-04   -1.5490    
   6  Prefactor     .10000E-03    3.0979        .14770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .12118        2.8745        .17386E-02   -1.5638    
   8  Prefactor     .10000E-03    69.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.5770        13.646        .21363E-03   -1.5330    
  10  Prefactor     .10000E-03    22.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.0711        .24453        .18793E-04   -1.5501    
  12  Prefactor     .10000E-03    3.7232        .16180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.0738        52.358        .16284E-03   -1.5215    
  14  Prefactor     22.094        11.594        .85211E-04   -1.4768    
  15  Prefactor     18.959        21.054        .91978E-04   -1.4837    
  16  Prefactor     13.738        23.414        .10805E-03   -1.4967    
  17  Prefactor     .10000E-03    8.4139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.2035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.478        20.475        .10908E-03   -1.4974    
  20  norm          5.0984        12.397        .17797E-03   -1.5256    
  21  Prefactor     3.5938        10.508        .21317E-03   -1.5329    
  22  norm          13.623        18.091        .10851E-03   -1.4970    
  23  Normalizat    .78758        .29850        .41830E-03   -1.0053    
  24  Prefactor     1.0780        .15381        .20029E-03   -.90173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44765e-10
Minuit parameter uncertainties:
  1  21.6721
  2  4.89402
  3  0.0185447
  4  13.1839
  5  0.324644
  6  5.87554e-07
  7  1.17996
  8  2.57782e-05
  9  13.6575
  10  2.58381e-05
  11  0.244533
  12  8.75989e-06
  13  35.7076
  14  11.5955
  15  21.0626
  16  23.4295
  17  7.74967e-05
  18  0.000136139
  19  20.4858
  20  12.4037
  21  10.5131
  22  18.0982
  23  0.299122
  24  0.15387
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.071e+00  2.445e-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.078e+00  1.539e-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.876e-01  2.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 41.85
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 3.91e-07 +/- 8.91e-08
Energy Flux (Fixed Index): 1.25e-04 +/- 2.86e-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) = 7388.26984449
delta logL = 0.0218042096103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7388.26831329
delta logL = 0.0233354111197

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1043       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.0724       1.0000          .0000       10.000    
     3 'Normalizat'    .77191       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0839       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=   7388.268     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      199 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1045        .25831        .42727E-02   -.26547E-04
   2  Index1        2.0724        .21512        .97398E-01   -.73304E-04
   3  Normalizat    .77171        .25073        .95253E-01    .42139E-04
   4  Prefactor     1.0841        .13667        .38231E-01    .39149E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.10447
  Index1     = 2.07239
  Normalizat = 0.771708
  Prefactor  = 1.08407
 **********
 **   18 **HESSE 
 **********

 FCN=   7388.268     FROM HESSE     STATUS=OK            29 CALLS      228 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1045        .28702        .18928E-04   -1.5498    
   2  Index1        2.0724        .24541        .42221E-03   -.62552    
   3  Normalizat    .77171        .28531        .42205E-03   -1.0113    
   4  Prefactor     1.0841        .15488        .19979E-03   -.89977    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45549e-12
Minuit parameter uncertainties:
  1  0.287016
  2  0.245563
  3  0.285861
  4  0.154945
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/579848': 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) = 7388.26831279
delta logL = 0.0233359146314

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.104e+00  2.870e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.072e+00  2.456e-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.084e+00  1.549e-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.717e-01  2.859e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 41.75
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.07 +/- 0.25
Photon Flux (Free Index): 4.05e-07 +/- 1.10e-07
Energy Flux (Free Index): 1.24e-04 +/- 2.88e-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/579848/cmap_HighResolution_565920001_566179201_4FGL_J2253.9+1609_daily_bin1260.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.91e-07', energy_flux2='1.24e-04', photon_flux_error='8.91e-08', dlogl='2.33e-02', energy_flux='1.25e-04', photon_flux2='4.05e-07', job_status='DONE', time_completed='2021-09-29 02:20:17.311019', photon_index_error2='0.25', photon_index2='2.07', ts='41.85', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='2.88e-05', EG='0.79', time_epoch_completed='1632907217.31', return_code='0', job_id='579848', GAL2='1.08', EG2='0.77', return_code2='0', energy_flux_error='2.86e-05', photon_flux_error2='1.10e-07', ts2='41.75', photon_index='2.02' WHERE bin_id='1260' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:20:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 579848: <4FGL_J2253.9+1609_daily_bin1260> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1260 343.496 16.1506 565920001 566179201 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 :                                   647.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             262.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            895 sec.

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

