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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1593
RA = 343.496, Dec = 16.1506
tmin = 652233601, tmax = 652492801
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='581518', job_status='RUN', time_executed='2021-09-29 02:12:04.448875', time_epoch_executed='1632906724.45' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1593'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/581518

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/581518/ft1_4FGL_J2253.9+1609_daily_bin1593.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/581518/ft2_4FGL_J2253.9+1609_daily_bin1593.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/581518/ft1_4FGL_J2253.9+1609_daily_bin1593.fits outfile=/scratch/kocevski/581518/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1593.fits ra=343.496 dec=16.1506 rad=12.0 tmin=652233601.0 tmax=652492801.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 4.41
user 4.19
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/581518/ft1_filtered_4FGL_J2253.9+1609_daily_bin1593.fits evtable="EVENTS" scfile=/scratch/kocevski/581518/ft2_4FGL_J2253.9+1609_daily_bin1593.fits sctable="SC_DATA" expcube=/scratch/kocevski/581518/ltcube_652233601_652492801_4FGL_J2253.9+1609_daily_bin1593.fits outfile=/scratch/kocevski/581518/expmap_652233601_652492801_4FGL_J2253.9+1609_daily_bin1593.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/581518/ltcube_652233601_652492801_4FGL_J2253.9+1609_daily_bin1593.fits
.....................!
real 190.10
user 184.60
sys 5.19

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/581518/ft1_filtered_4FGL_J2253.9+1609_daily_bin1593.fits scfile=/scratch/kocevski/581518/ft2_4FGL_J2253.9+1609_daily_bin1593.fits outfile=/scratch/kocevski/581518/cmap_652233601_652492801_4FGL_J2253.9+1609_daily_bin1593.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/581518/ft1_filtered_4FGL_J2253.9+1609_daily_bin1593.fits scfile=/scratch/kocevski/581518/ft2_4FGL_J2253.9+1609_daily_bin1593.fits outfile=/scratch/kocevski/581518/cmap_HighResolution_652233601_652492801_4FGL_J2253.9+1609_daily_bin1593.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0420       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.447       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .59386       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.5690       1.0000         .10000E-03   10000.    
     8 'Prefactor '    47.229       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1872       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.4605       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .91746       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15985E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .57978       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.9194       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.605       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10419E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10234E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    9.3443       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.243       1.0000         .10000E-03   10000.    
    22 'norm      '    16.925       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .97871       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96912       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=   7013.310     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2828 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0225        71.701       -.49631E-05   -.86594E-04
   2  norm          .10000E-03    1.9854        .13790E-07** at limit **
   3  Prefactor     .10000E-03    8.3804        .49470E-08** at limit **
   4  Prefactor     22.446        13.634        .21902E-06    .14177E-03
   5  Prefactor     .59354        .22976        .84502E-08    .27317E-03
   6  Prefactor     .10000E-03    3.2541        .65046E-08** at limit **
   7  norm          4.5703        2.2758        .59706E-07    .25016E-03
   8  Prefactor     47.245        44.368        .71644E-06    .90483E-04
   9  Prefactor     2.2142        18.161       -.14663E-05   -.45032E-04
  10  Prefactor     4.4509        16.887       -.12355E-05   -.10699E-03
  11  Prefactor     .91806        .25113        .53084E-09   -.16809E-03
  12  Prefactor     .10000E-03    20.850       -.99959E-06** at limit **
  13  Prefactor     .30316        115.07       -.17934E-04    .24894E-03
  14  Prefactor     8.9114        11.077       -.17569E-06   -.57106E-04
  15  Prefactor     .10000E-03    15.720       -.20969E-06** at limit **
  16  Prefactor     14.608        23.103        .16489E-05    .27516E-03
  17  Prefactor     .10002E-03    15.907       -.81781E-05** at limit **
  18  Prefactor     .10000E-03    6.2280       -.15640E-07** at limit **
  19  Prefactor     .10000E-03    22.947        .52567E-06** at limit **
  20  norm          9.3432        11.622        .72028E-06    .70269E-04
  21  Prefactor     10.241        11.459       -.10396E-05    .17970E-03
  22  norm          16.923        14.134        .82704E-07   -.15352E-04
  23  Normalizat    .97861        .24904       -.16819E-05   -.40257E-04
  24  Prefactor     .96920        .12746        .54409E-06    .91023E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.02245
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.446
  Prefactor  = 0.593536
  Prefactor  = 0.0001
  norm       = 4.57033
  Prefactor  = 47.2449
  Prefactor  = 2.21424
  Prefactor  = 4.45089
  Prefactor  = 0.918064
  Prefactor  = 0.0001
  Prefactor  = 0.303156
  Prefactor  = 8.91141
  Prefactor  = 0.0001
  Prefactor  = 14.6083
  Prefactor  = 0.000100018
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.34319
  Prefactor  = 10.2415
  norm       = 16.9226
  Normalizat = 0.978615
  Prefactor  = 0.969198
 **********
 **   18 **HESSE 
 **********

 FCN=   7013.310     FROM HESSE     STATUS=OK           409 CALLS     3237 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0225        72.323        .28938E-03   -1.5424    
   2  norm          .10000E-03    1.9923        .11522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.4087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.446        13.640        .84542E-04   -1.4760    
   5  Prefactor     .59354        .22815        .23722E-04   -1.5554    
   6  Prefactor     .10000E-03    3.2618        .14752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.5703        2.2646        .83275E-04   -1.5280    
   8  Prefactor     47.245        44.666        .58345E-04   -1.4332    
   9  Prefactor     2.2142        17.852        .27831E-03   -1.5410    
  10  Prefactor     4.4509        16.933        .19066E-03   -1.5286    
  11  Prefactor     .91806        .25258        .19031E-04   -1.5516    
  12  Prefactor     .10000E-03    21.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .30316        42.504        .13909       -1.5598    
  14  Prefactor     8.9114        11.049        .13421E-03   -1.5111    
  15  Prefactor     .10000E-03    15.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.608        23.514        .10480E-03   -1.4943    
  17  Prefactor     .10002E-03    16.802        .35518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.2440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    23.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          9.3432        11.627        .13110E-03   -1.5097    
  21  Prefactor     10.241        11.538        .62598E-03   -1.5068    
  22  norm          16.923        14.136        .97354E-04   -1.4885    
  23  Normalizat    .97861        .28759        .36147E-03   -.93750    
  24  Prefactor     .96920        .15022        .19993E-03   -.93763    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02277e-09
Minuit parameter uncertainties:
  1  24.2195
  2  2.58926e-06
  3  3.93352e-06
  4  13.6414
  5  0.228151
  6  1.40765e-06
  7  2.2646
  8  44.6981
  9  12.5793
  10  16.9515
  11  0.252582
  12  0.00019429
  13  7.18324
  14  11.0516
  15  9.29188e-08
  16  23.5286
  17  0.00109136
  18  5.27228e-06
  19  0.000182468
  20  11.6294
  21  11.5408
  22  14.139
  23  0.28805
  24  0.150281
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  9.181e-01  2.526e-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.692e-01  1.503e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  9.786e-01  2.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 30.35
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 3.35e-07 +/- 9.21e-08
Energy Flux (Fixed Index): 1.07e-04 +/- 2.96e-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) = 7008.81958636
delta logL = 4.49035911135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7008.80753954
delta logL = 4.50240592703

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1914       1.0000         .10000E-03   10000.    
     2 'Index1    '    3.0358       1.0000          .0000       10.000    
     3 'Normalizat'    .70078       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0837       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=   7008.808     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      212 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1914        .56707        .40917E-02    .70843E-03
   2  Index1        3.0358        .79496        .14496       -.60971E-04
   3  Normalizat    .70067        .24763        .94180E-01    .44780E-04
   4  Prefactor     1.0837        .13933        .38242E-01   -.36776E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.19143
  Index1     = 3.0358
  Normalizat = 0.700669
  Prefactor  = 1.08374
 **********
 **   18 **HESSE 
 **********

 FCN=   7008.808     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1914        .27108        .18128E-04   -1.5490    
   2  Index1        3.0358        .40195        .61371E-02   -.40372    
   3  Normalizat    .70067        .28415        .41731E-03   -1.0387    
   4  Prefactor     1.0837        .15488        .19018E-03   -.89988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.2977e-11
Minuit parameter uncertainties:
  1  0.271081
  2  0.402464
  3  0.284751
  4  0.154947
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/581518': 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) = 7008.80753943
delta logL = 4.50240603803

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.191e+00  2.711e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  3.036e+00  4.025e-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.007e-01  2.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 41.94
Ra Dec: 343.496 16.151
Photon Index (Free Index): 3.04 +/- 0.40
Photon Flux (Free Index): 5.65e-07 +/- 1.31e-07
Energy Flux (Free Index): 1.01e-04 +/- 2.22e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/581518/cmap_HighResolution_652233601_652492801_4FGL_J2253.9+1609_daily_bin1593.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.35e-07', energy_flux2='1.01e-04', photon_flux_error='9.21e-08', dlogl='4.50e+00', energy_flux='1.07e-04', photon_flux2='5.65e-07', job_status='DONE', time_completed='2021-09-29 02:22:49.648553', photon_index_error2='0.40', photon_index2='3.04', ts='30.35', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='2.22e-05', EG='0.98', time_epoch_completed='1632907369.65', return_code='0', job_id='581518', GAL2='1.08', EG2='0.70', return_code2='0', energy_flux_error='2.96e-05', photon_flux_error2='1.31e-07', ts2='41.94', photon_index='2.02' WHERE bin_id='1593' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:22:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 581518: <4FGL_J2253.9+1609_daily_bin1593> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1593> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep 29 02:10:32 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:10:34 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:10:34 2021
Terminated at Wed Sep 29 02:22:50 2021
Results reported at Wed Sep 29 02:22:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1593 343.496 16.1506 652233601 652492801 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 :                                   630.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            738 sec.

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

