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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1539
RA = 343.496, Dec = 16.1506
tmin = 638236801, tmax = 638496001
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='581435', job_status='RUN', time_executed='2021-09-29 02:13:26.730276', time_epoch_executed='1632906806.73' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1539'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/581435

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/581435/ft1_4FGL_J2253.9+1609_daily_bin1539.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/581435/ft2_4FGL_J2253.9+1609_daily_bin1539.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/581435/ft1_4FGL_J2253.9+1609_daily_bin1539.fits outfile=/scratch/kocevski/581435/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1539.fits ra=343.496 dec=16.1506 rad=12.0 tmin=638236801.0 tmax=638496001.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.59
user 3.34
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/581435/ft1_filtered_4FGL_J2253.9+1609_daily_bin1539.fits" evtable="EVENTS" scfile=/scratch/kocevski/581435/ft2_4FGL_J2253.9+1609_daily_bin1539.fits sctable="SC_DATA" outfile=/scratch/kocevski/581435/ltcube_638236801_638496001_4FGL_J2253.9+1609_daily_bin1539.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/581435/ft2_4FGL_J2253.9+1609_daily_bin1539.fits
.....................!
real 12.20
user 11.82
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/581435/ft1_filtered_4FGL_J2253.9+1609_daily_bin1539.fits evtable="EVENTS" scfile=/scratch/kocevski/581435/ft2_4FGL_J2253.9+1609_daily_bin1539.fits sctable="SC_DATA" expcube=/scratch/kocevski/581435/ltcube_638236801_638496001_4FGL_J2253.9+1609_daily_bin1539.fits outfile=/scratch/kocevski/581435/expmap_638236801_638496001_4FGL_J2253.9+1609_daily_bin1539.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/581435/ltcube_638236801_638496001_4FGL_J2253.9+1609_daily_bin1539.fits
.....................!
real 189.20
user 184.90
sys 3.96

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/581435/ft1_filtered_4FGL_J2253.9+1609_daily_bin1539.fits scfile=/scratch/kocevski/581435/ft2_4FGL_J2253.9+1609_daily_bin1539.fits outfile=/scratch/kocevski/581435/cmap_638236801_638496001_4FGL_J2253.9+1609_daily_bin1539.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/581435/ft1_filtered_4FGL_J2253.9+1609_daily_bin1539.fits scfile=/scratch/kocevski/581435/ft2_4FGL_J2253.9+1609_daily_bin1539.fits outfile=/scratch/kocevski/581435/cmap_HighResolution_638236801_638496001_4FGL_J2253.9+1609_daily_bin1539.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/581435/ft1_filtered_4FGL_J2253.9+1609_daily_bin1539.fits evtable="EVENTS" scfile=/scratch/kocevski/581435/ft2_4FGL_J2253.9+1609_daily_bin1539.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/581435/Model_4FGL_J2253.9+1609_daily_bin1539.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/581435/ft1_filtered_4FGL_J2253.9+1609_daily_bin1539.fits.....................!
real 72.06
user 70.75
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    10.179       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .60905       1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.192       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .45350       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.3181       1.0000         .10000E-03   10000.    
     7 'norm      '    2.5193       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .47320E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .48846       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.7098       1.0000         .10000E-03   10000.    
    13 'Prefactor '    55.296       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.2430       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    23.823       1.0000         .10000E-03   10000.    
    20 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    20.814       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .74719       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0113       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=   6903.185     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     3229 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.5552        .13159E-07** at limit **
   2  norm          10.178        6.3352       -.44990E-07   -.96454E-04
   3  Prefactor     .52907        8.5464       -.29565E-06    .10726E-03
   4  Prefactor     26.189        14.037        .36038E-06    .18335E-03
   5  Prefactor     .45372        .21601       -.28643E-07    .48832E-03
   6  Prefactor     4.3173        6.0195        .25238E-05   -.40664E-03
   7  norm          2.5206        1.6213        .60360E-08    .11361E-03
   8  Prefactor     .10000E-03    18.330        .48198E-07** at limit **
   9  Prefactor     .10023E-03    9.4981       -.12687E-06** at limit **
  10  Prefactor     .10000E-03    11.051       -.77064E-07** at limit **
  11  Prefactor     .48846        .15511        .56466E-08   -.77846E-04
  12  Prefactor     4.7111        6.7562        .15472E-06    .25698E-04
  13  Prefactor     55.301        44.143       -.70352E-06   -.11804E-03
  14  Prefactor     .10000E-03    2.2022        .33580E-07** at limit **
  15  Prefactor     .10000E-03    3.1445       -.20584E-07** at limit **
  16  Prefactor     .10000E-03    13.903       -.47244E-07** at limit **
  17  Prefactor     8.2412        7.0903       -.13772E-06   -.70051E-05
  18  Prefactor     .10000E-03    4.1383       -.26693E-07** at limit **
  19  Prefactor     23.814        22.217        .14346E-05    .32079E-03
  20  norm          .10000E-03    6.4604        .61439E-08** at limit **
  21  Prefactor     .10000E-03    9.5953        .24291E-06** at limit **
  22  norm          20.806        18.638        .13274E-05    .34453E-03
  23  Normalizat    .74760        .22684       -.39190E-06    .34993E-04
  24  Prefactor     1.0112        .12124       -.17295E-06    .79273E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 10.1781
  Prefactor  = 0.529071
  Prefactor  = 26.1891
  Prefactor  = 0.453721
  Prefactor  = 4.31734
  norm       = 2.52063
  Prefactor  = 0.0001
  Prefactor  = 0.000100235
  Prefactor  = 0.0001
  Prefactor  = 0.488458
  Prefactor  = 4.71111
  Prefactor  = 55.3007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.24125
  Prefactor  = 0.0001
  Prefactor  = 23.8137
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 20.806
  Normalizat = 0.747603
  Prefactor  = 1.01119
 **********
 **   18 **HESSE 
 **********

 FCN=   6903.185     FROM HESSE     STATUS=OK           405 CALLS     3634 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.5558        .17319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          10.178        6.3373        .12559E-03   -1.5070    
   3  Prefactor     .52907        88.342        .43800E-02   -1.5563    
   4  Prefactor     26.189        14.113        .78276E-04   -1.4684    
   5  Prefactor     .45372        .21523        .24079E-04   -1.5573    
   6  Prefactor     4.3173        6.1550        .96929E-03   -1.5292    
   7  norm          2.5206        1.6262        .81444E-04   -1.5390    
   8  Prefactor     .10000E-03    18.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10023E-03    15.294        .68807E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .48846        .15450        .17536E-04   -1.5568    
  12  Prefactor     4.7111        6.7493        .18542E-03   -1.5274    
  13  Prefactor     55.301        44.427        .53943E-04   -1.4219    
  14  Prefactor     .10000E-03    2.2106        .12040E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.1465        .14388E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.2412        7.1167        .13964E-03   -1.5134    
  18  Prefactor     .10000E-03    4.1478        .16506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     23.814        22.872        .82068E-04   -1.4732    
  20  norm          .10000E-03    6.5478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.9840        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          20.806        19.134        .87794E-04   -1.4795    
  23  Normalizat    .74760        .26195        .36700E-03   -1.0204    
  24  Prefactor     1.0112        .14096        .18258E-03   -.92358    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36193e-09
Minuit parameter uncertainties:
  1  1.0264e-07
  2  6.33772
  3  13.6925
  4  14.1146
  5  0.215226
  6  6.15591
  7  1.62626
  8  1.56374e-05
  9  0.00379028
  10  6.10771e-06
  11  0.154505
  12  6.75041
  13  44.4537
  14  1.53229e-06
  15  2.84646e-07
  16  4.96186e-07
  17  7.11745
  18  6.11304e-07
  19  22.8809
  20  1.47165e-06
  21  5.86874e-06
  22  19.1394
  23  0.262388
  24  0.141008
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  4.885e-01  1.545e-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.011e+00  1.410e-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.476e-01  2.624e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.84
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.78e-07 +/- 5.63e-08
Energy Flux (Fixed Index): 5.72e-05 +/- 1.81e-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) = 6903.13441334
delta logL = 0.0510226493707

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6903.1328433
delta logL = 0.0525926865976

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51512       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.1302       1.0000          .0000       10.000    
     3 'Normalizat'    .73321       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0168       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=   6903.133     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      204 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51513        .16250        .40018E-02    .18640E-03
   2  Index1        2.1302        .30245        .13929       -.56128E-04
   3  Normalizat    .73319        .21279        .83599E-01    .31033E-04
   4  Prefactor     1.0168        .12099        .42473E-01    .39454E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.515129
  Index1     = 2.13019
  Normalizat = 0.733195
  Prefactor  = 1.01682
 **********
 **   18 **HESSE 
 **********

 FCN=   6903.133     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51513        .17516        .17753E-04   -1.5564    
   2  Index1        2.1302        .34180        .59159E-02   -.61134    
   3  Normalizat    .73319        .24616        .37021E-03   -1.0260    
   4  Prefactor     1.0168        .13985        .18211E-03   -.92171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.91086e-10
Minuit parameter uncertainties:
  1  0.175165
  2  0.342194
  3  0.24653
  4  0.139902
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/581435': 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) = 6903.1328433
delta logL = 0.0525926899609

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  5.151e-01  1.752e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.130e+00  3.422e-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.017e+00  1.399e-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.332e-01  2.465e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.82
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.13 +/- 0.34
Photon Flux (Free Index): 1.90e-07 +/- 6.81e-08
Energy Flux (Free Index): 5.51e-05 +/- 1.83e-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/581435/cmap_HighResolution_638236801_638496001_4FGL_J2253.9+1609_daily_bin1539.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.78e-07', energy_flux2='5.51e-05', photon_flux_error='5.63e-08', dlogl='5.26e-02', energy_flux='5.72e-05', photon_flux2='1.90e-07', job_status='DONE', time_completed='2021-09-29 02:24:13.932885', photon_index_error2='0.34', photon_index2='2.13', ts='23.84', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.83e-05', EG='0.75', time_epoch_completed='1632907453.93', return_code='0', job_id='581435', GAL2='1.02', EG2='0.73', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='6.81e-08', ts2='23.82', photon_index='2.02' WHERE bin_id='1539' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:24:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0290>
Subject: Job 581435: <4FGL_J2253.9+1609_daily_bin1539> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1539 343.496 16.1506 638236801 638496001 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 :                                   641.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            828 sec.

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

