/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 35 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 = 7432
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2253.9+1609_daily_bin453
RA = 343.496, Dec = 16.1506
tmin = 356745601, tmax = 357004801
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='575066', job_status='RUN', time_executed='2021-09-29 01:51:35.723153', time_epoch_executed='1632905495.72' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='453'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/575066

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/575066/ft1_4FGL_J2253.9+1609_daily_bin453.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/575066/ft2_4FGL_J2253.9+1609_daily_bin453.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/575066/ft1_4FGL_J2253.9+1609_daily_bin453.fits outfile=/scratch/kocevski/575066/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin453.fits ra=343.496 dec=16.1506 rad=12.0 tmin=356745601.0 tmax=357004801.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.68
user 2.39
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/575066/ft2_4FGL_J2253.9+1609_daily_bin453.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/575066/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin453.fits evtable="EVENTS" outfile="/scratch/kocevski/575066/ft1_filtered_4FGL_J2253.9+1609_daily_bin453.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.42
user 0.25
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/575066/ft1_filtered_4FGL_J2253.9+1609_daily_bin453.fits" evtable="EVENTS" scfile=/scratch/kocevski/575066/ft2_4FGL_J2253.9+1609_daily_bin453.fits sctable="SC_DATA" outfile=/scratch/kocevski/575066/ltcube_356745601_357004801_4FGL_J2253.9+1609_daily_bin453.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/575066/ft2_4FGL_J2253.9+1609_daily_bin453.fits
.....................!
real 9.03
user 8.71
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/575066/ft1_filtered_4FGL_J2253.9+1609_daily_bin453.fits evtable="EVENTS" scfile=/scratch/kocevski/575066/ft2_4FGL_J2253.9+1609_daily_bin453.fits sctable="SC_DATA" expcube=/scratch/kocevski/575066/ltcube_356745601_357004801_4FGL_J2253.9+1609_daily_bin453.fits outfile=/scratch/kocevski/575066/expmap_356745601_357004801_4FGL_J2253.9+1609_daily_bin453.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/575066/ltcube_356745601_357004801_4FGL_J2253.9+1609_daily_bin453.fits
.....................!
real 140.37
user 136.42
sys 3.68

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/575066/ft1_filtered_4FGL_J2253.9+1609_daily_bin453.fits scfile=/scratch/kocevski/575066/ft2_4FGL_J2253.9+1609_daily_bin453.fits outfile=/scratch/kocevski/575066/cmap_356745601_357004801_4FGL_J2253.9+1609_daily_bin453.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.45
user 0.27
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/575066/ft1_filtered_4FGL_J2253.9+1609_daily_bin453.fits scfile=/scratch/kocevski/575066/ft2_4FGL_J2253.9+1609_daily_bin453.fits outfile=/scratch/kocevski/575066/cmap_HighResolution_356745601_357004801_4FGL_J2253.9+1609_daily_bin453.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.43
user 0.29
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2323       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.598       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.7349       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.6441       1.0000         .10000E-03   10000.    
     7 'norm      '    2.9936       1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.555       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.409       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .68087E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.875       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3449       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.3391       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10263E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .64309E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.260       1.0000         .10000E-03   10000.    
    22 'norm      '    8.9247       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0685       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87357       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=   8771.856     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2746 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.4302       -.35620E-06** at limit **
   2  norm          .10000E-03    1.5491       -.66443E-08** at limit **
   3  Prefactor     1.2332        49.443       -.20872E-05    .56124E-05
   4  Prefactor     13.600        12.040       -.31053E-06    .64052E-04
   5  Prefactor     2.7349        .34635       -.19957E-08    .19836E-02
   6  Prefactor     5.6447        7.7957       -.23126E-06    .17602E-04
   7  norm          2.9938        1.6581       -.54211E-07    .17232E-03
   8  Prefactor     26.572        35.580        .31975E-05    .10529E-03
   9  Prefactor     .10000E-03    3.1600       -.50042E-08** at limit **
  10  Prefactor     26.412        17.955        .51087E-06    .14415E-03
  11  Prefactor     .68013E-01    .11260       -.23740E-06   -.25139E-02
  12  Prefactor     28.878        14.490       -.28601E-06    .59338E-04
  13  Prefactor     3.3003        127.80       -.12976E-04    .39836E-04
  14  Prefactor     4.3387        6.5693       -.16749E-05    .30601E-03
  15  Prefactor     .10000E-03    35.352       -.63698E-06** at limit **
  16  Prefactor     .10000E-03    8.9730        .45346E-06** at limit **
  17  Prefactor     .10000E-03    5.9611       -.19431E-06** at limit **
  18  Prefactor     .10000E-03    4.3977        .22338E-06** at limit **
  19  Prefactor     .10000E-03    13.695       -.51596E-06** at limit **
  20  norm          .10000E-03    32.633        .14656E-04** at limit **
  21  Prefactor     17.222        10.331       -.34540E-07   -.68691E-03
  22  norm          8.9266        14.434       -.21430E-06   -.66832E-05
  23  Normalizat    1.0685        .21654        .55531E-06    .24775E-03
  24  Prefactor     .87351        .11309        .10201E-05    .25634E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.2332
  Prefactor  = 13.6002
  Prefactor  = 2.73487
  Prefactor  = 5.64469
  norm       = 2.99377
  Prefactor  = 26.5719
  Prefactor  = 0.0001
  Prefactor  = 26.4119
  Prefactor  = 0.0680133
  Prefactor  = 28.8782
  Prefactor  = 3.30034
  Prefactor  = 4.33869
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.222
  norm       = 8.92659
  Normalizat = 1.06855
  Prefactor  = 0.873505
 **********
 **   18 **HESSE 
 **********

 FCN=   8771.856     FROM HESSE     STATUS=OK           397 CALLS     3143 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.4404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.5569        .11382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2332        49.665        .40491E-03   -1.5486    
   4  Prefactor     13.600        12.083        .10862E-03   -1.4970    
   5  Prefactor     2.7349        .34375        .17423E-04   -1.5377    
   6  Prefactor     5.6447        7.8063        .16909E-03   -1.5233    
   7  norm          2.9938        1.6564        .43553E-03   -1.5362    
   8  Prefactor     26.572        35.316        .77740E-04   -1.4677    
   9  Prefactor     .10000E-03    3.1639        .16257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     26.412        17.893        .77954E-04   -1.4680    
  11  Prefactor     .68013E-01    .10935        .35153E-04   -1.5656    
  12  Prefactor     28.878        14.500        .74558E-04   -1.4633    
  13  Prefactor     3.3003        128.44        .22130E-03   -1.5345    
  14  Prefactor     4.3387        6.5463        .96688E-03   -1.5291    
  15  Prefactor     .10000E-03    36.245        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.9936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.1277        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.4058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    31.978        .41206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     17.222        9.2230        .96405E-04   -1.4878    
  22  norm          8.9266        14.426        .13417E-03   -1.5110    
  23  Normalizat    1.0685        .25279        .33975E-03   -.90768    
  24  Prefactor     .87351        .13100        .20662E-03   -.97073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.79703e-10
Minuit parameter uncertainties:
  1  1.51368e-06
  2  1.97357e-06
  3  15.6654
  4  12.0857
  5  0.343746
  6  7.80767
  7  1.65639
  8  35.3438
  9  1.10835e-07
  10  17.8969
  11  0.109347
  12  14.5018
  13  41.2722
  14  6.54736
  15  0.000529798
  16  1.65649e-05
  17  1.46342e-05
  18  1.06843e-05
  19  3.55846e-06
  20  0.000152285
  21  9.22381
  22  14.4316
  23  0.253081
  24  0.131047
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  6.801e-02  1.093e-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:  8.735e-01  1.310e-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:  1.069e+00  2.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.53
Ra Dec: 343.496 16.151
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.41e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/575066/likelihoodResults_356745601_357004801_4FGL_J2253.9+1609_daily_bin453.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8771.6193221
delta logL = 0.236797128371

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8771.61751253
delta logL = 0.238606696677

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10542       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.7034       1.0000          .0000       10.000    
     3 'Normalizat'    1.0476       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88014       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8771.618     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      298 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10537        .11755        .33460E-03    .18465E-01
   2  Index1        2.7034        1.0676        .17405E-01   -.12609E-03
   3  Normalizat    1.0477        .23115        .34255E-03   -.33188E-06
   4  Prefactor     .88009        .12798        .20588E-03   -.22088E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.105367
  Index1     = 2.70337
  Normalizat = 1.04773
  Prefactor  = 0.880095
 **********
 **   18 **HESSE 
 **********

 FCN=   8771.618     FROM HESSE     STATUS=OK            27 CALLS      325 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10537        .11697        .66919E-04   -1.5643    
   2  Index1        2.7034        1.0638        .34809E-02   -.47724    
   3  Normalizat    1.0477        .23146        .13702E-04   -.91448    
   4  Prefactor     .88009        .12813        .82350E-05   -.96840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2049e-11
Minuit parameter uncertainties:
  1  0.11697
  2  1.07424
  3  0.231679
  4  0.128172
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/575066': 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) = 8771.61751233
delta logL = 0.23860689062

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.054e-01  1.170e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.703e+00  1.074e+00  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:  8.801e-01  1.282e-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:  1.048e+00  2.317e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.01
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.70 +/- 1.07
Photon Flux (Free Index): 4.44e-08 +/- 5.06e-08
Energy Flux (Free Index): 8.99e-06 +/- 1.01e-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/575066/cmap_HighResolution_356745601_357004801_4FGL_J2253.9+1609_daily_bin453.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-05', comment='SUCCESS', energy_flux2='8.99e-06', dlogl='2.39e-01', photon_flux2='4.44e-08', job_status='DONE', time_completed='2021-09-29 02:01:39.465545', photon_index_error2='1.07', photon_index2='2.70', ts='0.53', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='1.01e-05', EG='1.07', time_epoch_completed='1632906099.47', return_code='0', job_id='575066', GAL2='0.88', EG2='1.05', return_code2='0', photon_flux_error2='5.06e-08', ts2='1.01', photon_index='2.02' WHERE bin_id='453' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:01:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 575066: <4FGL_J2253.9+1609_daily_bin453> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin453> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 01:50:38 2021
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:50:38 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:50:38 2021
Terminated at Wed Sep 29 02:01:40 2021
Results reported at Wed Sep 29 02:01:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin453 343.496 16.1506 356745601 357004801 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 :                                   598.00 sec.
    Max Memory :                                 1208 MB
    Average Memory :                             288.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            662 sec.

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

