aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 4 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1748
RA = 223.392, Dec = 35.0884
tmin = 692409601, tmax = 692668801
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='889339', job_status='RUN', time_executed='2022-12-14 00:50:34.131814', time_epoch_executed='1671007834.13' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/889339

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/889339/ft1_4FGL_J1453.5+3505_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/889339/ft2_4FGL_J1453.5+3505_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/889339/ft1_4FGL_J1453.5+3505_daily_bin1748.fits outfile=/scratch/kocevski/889339/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1748.fits ra=223.392 dec=35.0884 rad=12.0 tmin=692409601.0 tmax=692668801.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.61
user 3.35
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/889339/ft2_4FGL_J1453.5+3505_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/889339/ft2_4FGL_J1453.5+3505_daily_bin1748.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/889339/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/889339/ft1_filtered_4FGL_J1453.5+3505_daily_bin1748.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 689

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/889339/ft1_filtered_4FGL_J1453.5+3505_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/889339/ft2_4FGL_J1453.5+3505_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/889339/ltcube_692409601_692668801_4FGL_J1453.5+3505_daily_bin1748.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/889339/ft2_4FGL_J1453.5+3505_daily_bin1748.fits
.....................!
real 12.91
user 12.44
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/889339/ft1_filtered_4FGL_J1453.5+3505_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/889339/ft2_4FGL_J1453.5+3505_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/889339/ltcube_692409601_692668801_4FGL_J1453.5+3505_daily_bin1748.fits outfile=/scratch/kocevski/889339/expmap_692409601_692668801_4FGL_J1453.5+3505_daily_bin1748.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/889339/ltcube_692409601_692668801_4FGL_J1453.5+3505_daily_bin1748.fits
.....................!
real 192.19
user 186.03
sys 5.20

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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J1453.5+3505 @ 223.392 35.0884

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/889339/ft1_filtered_4FGL_J1453.5+3505_daily_bin1748.fits scfile=/scratch/kocevski/889339/ft2_4FGL_J1453.5+3505_daily_bin1748.fits outfile=/scratch/kocevski/889339/cmap_692409601_692668801_4FGL_J1453.5+3505_daily_bin1748.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=223.392 yref=35.0884 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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/889339/ft1_filtered_4FGL_J1453.5+3505_daily_bin1748.fits scfile=/scratch/kocevski/889339/ft2_4FGL_J1453.5+3505_daily_bin1748.fits outfile=/scratch/kocevski/889339/cmap_HighResolution_692409601_692668801_4FGL_J1453.5+3505_daily_bin1748.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=223.392 yref=35.0884 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.56
user 0.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/889339/ft1_filtered_4FGL_J1453.5+3505_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/889339/ft2_4FGL_J1453.5+3505_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/889339/Model_4FGL_J1453.5+3505_daily_bin1748.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/889339/ft1_filtered_4FGL_J1453.5+3505_daily_bin1748.fits.....................!
real 57.55
user 56.04
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/889339/ft1_filtered_4FGL_J1453.5+3505_daily_bin1748.fits', '/scratch/kocevski/889339/ft2_4FGL_J1453.5+3505_daily_bin1748.fits', expMap='/scratch/kocevski/889339/expmap_692409601_692668801_4FGL_J1453.5+3505_daily_bin1748.fits', expCube='/scratch/kocevski/889339/ltcube_692409601_692668801_4FGL_J1453.5+3505_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/889339/Model_4FGL_J1453.5+3505_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1453.5+3505'

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.970e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/889339/ft1_filtered_4FGL_J1453.5+3505_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/889339/ft2_4FGL_J1453.5+3505_daily_bin1748.fits
Exposure map: /scratch/kocevski/889339/expmap_692409601_692668801_4FGL_J1453.5+3505_daily_bin1748.fits
Exposure cube: /scratch/kocevski/889339/ltcube_692409601_692668801_4FGL_J1453.5+3505_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/889339/Model_4FGL_J1453.5+3505_daily_bin1748.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7368.56335853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    66.662       1.0000          .0000       .10000E+07
     2 'norm      '    1.8237       1.0000          .0000       .10000E+07
     3 'Prefactor '    .55830E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .61050E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    29.633       1.0000          .0000       .10000E+07
     6 'norm      '    8.8094       1.0000          .0000       .10000E+07
     7 'norm      '    .14028E-06   1.0000          .0000       .10000E+07
     8 'norm      '    3.3998       1.0000          .0000       .10000E+07
     9 'Prefactor '    65.096       1.0000          .0000       .10000E+07
    10 'norm      '    .18327E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .77615       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.7680       1.0000          .0000       .10000E+07
    13 'norm      '    5.0962       1.0000          .0000       .10000E+07
    14 'norm      '    4.2692       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13261E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .51847E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10743E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .34762E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .72296       1.0000          .0000       .10000E+07
    20 'Prefactor '    .13764E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    12.198       1.0000          .0000       .10000E+07
    22 'norm      '     .0000       1.0000          .0000       .10000E+07
    23 'Prefactor '    10.445       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1102       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .78374       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7363.606     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1246 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          66.520        11.909       -.21828E-08   -.12116    
   2  norm          1.8368        3.4216        .54556E-06    .16048E-02
   3  Prefactor     .16986E-07    8.0211       -.80650E-06** at limit **
   4  Prefactor     .27914E-04    167.03       -.46631E-06** at limit **
   5  Prefactor     29.624        5.5163       -.59057E-07   -.99927E-03
   6  norm          8.6564        2.7725        .80994E-07   -.35648E-01
   7  norm          .94924E-08    1.5239       -.16685E-06** at limit **
   8  norm          3.4014        3.2717        .48209E-07    .47024E-03
   9  Prefactor     64.919        22.331       -.11531E-06    .14211    
  10  norm          .18874E-08    2.2946        .11073E-06** at limit **
  11  Prefactor     .73876        .50277       -.26908E-07    .25514E-02
  12  Prefactor     2.8350        4.9273       -.18905E-06   -.21558E-03
  13  norm          5.0888        1.8183        .29470E-07    .31082E-02
  14  norm          4.2709        3.0565        .12638E-06    .90256E-03
  15  Prefactor     .17042E-07    3.2411       -.59865E-06** at limit **
  16  Prefactor      .0000        23.842        .16056E-06** at limit **
  17  Prefactor     .23870E-08    4.7651        .80722E-07** at limit **
  18  Prefactor     .20539E-07    9.5525        .10726E-06** at limit **
  19  norm          .72121        1.0084       -.11946E-06   -.16433E-02
  20  Prefactor     .59952E-08    2.7534        .34076E-06** at limit **
  21  Prefactor     12.358        4.2045       -.16056E-06    .80148E-01
  22  norm          .59397E-08    1.5630        .41733E-07** at limit **
  23  Prefactor     10.438        1.8410       -.44370E-07    .25839E-01
  24  Normalizat    1.1109        .19125        .13688E-04    .76653E-04
  25  Prefactor     .78337        .18198       -.51226E-05    .51124E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 66.52
  norm       = 1.83678
  Prefactor  = 1.69864e-08
  Prefactor  = 2.79139e-05
  Prefactor  = 29.6239
  norm       = 8.65638
  norm       = 9.49241e-09
  norm       = 3.40135
  Prefactor  = 64.9195
  norm       = 1.88738e-09
  Prefactor  = 0.738764
  Prefactor  = 2.83502
  norm       = 5.08876
  norm       = 4.2709
  Prefactor  = 1.70419e-08
  Prefactor  = 0
  Prefactor  = 2.38698e-09
  Prefactor  = 2.05391e-08
  norm       = 0.721212
  Prefactor  = 5.9952e-09
  Prefactor  = 12.3575
  norm       = 5.93969e-09
  Prefactor  = 10.4376
  Normalizat = 1.11088
  Prefactor  = 0.783372
 **********
 **   18 **HESSE 
 **********

 FCN=   7363.606     FROM HESSE     STATUS=OK           483 CALLS     1729 TOTAL
                     EDM=   .73E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          66.520        26.211        .12249E-03   -1.5545    
   2  norm          1.8368        3.5056        .77282E-03   -1.5681    
   3  Prefactor     .16986E-07    8.0686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .27914E-04    11.935        .86136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.624        5.5077        .18373E-03   -1.5599    
   6  norm          8.6564        12.875        .33747E-03   -1.5649    
   7  norm          .94924E-08    2.6952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.4014        3.2732        .54845E-03   -1.5671    
   9  Prefactor     64.919        33.612        .12395E-03   -1.5547    
  10  norm          .18874E-08    2.3976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .73876        18.722        .54730E-03   -1.5691    
  12  Prefactor     2.8350        4.9616        .61147E-03   -1.5674    
  13  norm          5.0888        1.8199        .44514E-03   -1.5663    
  14  norm          4.2709        3.0601        .48738E-03   -1.5667    
  15  Prefactor     .17042E-07    3.3226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        23.828        .15468E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .23870E-08    4.8041        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .20539E-07    9.8649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .72121        1.0225        .58863E-03   -1.5691    
  20  Prefactor     .59952E-08    3.0705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.358        17.798        .28656E-03   -1.5638    
  22  norm          .59397E-08    2.6095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     10.438        21.127        .30977E-03   -1.5643    
  24  Normalizat    1.1109        .16976        .37600E-01   -.89403    
  25  Prefactor     .78337        .16025        .43505E-01   -1.0034    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.27957e-07
Minuit parameter uncertainties:
  1  26.2114
  2  3.50557
  3  0.000740028
  4  0.0365053
  5  5.50765
  6  12.8748
  7  0.000319518
  8  3.27325
  9  33.6121
  10  0.000135077
  11  7.43817
  12  4.96158
  13  1.81989
  14  3.06009
  15  0.000476044
  16  3.15111e-05
  17  0.000214189
  18  0.000900778
  19  1.0225
  20  0.000271362
  21  17.7979
  22  0.000248808
  23  21.1271
  24  0.169846
  25  0.16034
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  7.388e-01  7.438e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  7.834e-01  1.603e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  1.111e+00  1.698e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 223.392 35.088
Photon Flux Upper Limit: 5.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/889339/likelihoodResults_692409601_692668801_4FGL_J1453.5+3505_daily_bin1748.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) = 7363.59945593
delta logL = 0.00632306293846

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7363.59553893
delta logL = 0.01024005621

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5227       1.0000          .0000       .10000E+07
     2 'Index     '    2.0051       1.0000          .0000       10.000    
     3 'Normalizat'    1.1116       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78222       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7363.596     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      253 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5224        14.916        .34612E-04    .13983E-02
   2  Index         2.0047        2.0365        .26895E-01    .32837E-04
   3  Normalizat    1.1116        .18194        .23537E-03   -.86169E-04
   4  Prefactor     .78222        .18010        .27142E-03   -.11305E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.5224
  Index      = 2.00474
  Normalizat = 1.11159
  Prefactor  = 0.782216
 **********
 **   18 **HESSE 
 **********

 FCN=   7363.596     FROM HESSE     STATUS=OK            23 CALLS      276 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5224        13.892        .13845E-05   -1.5683    
   2  Index         2.0047        1.9755        .10758E-02   -.64232    
   3  Normalizat    1.1116        .18208        .94148E-05   -.89380    
   4  Prefactor     .78222        .18023        .10857E-04   -1.0039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65644e-10
Minuit parameter uncertainties:
  1  9.19753
  2  2.06593
  3  0.182186
  4  0.180362
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/889339': 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) = 7363.59553891
delta logL = 0.0102400765891

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.522e+00  9.198e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.005e+00  2.066e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  7.822e-01  1.804e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  1.112e+00  1.822e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 223.392 35.088

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/889339/cmap_HighResolution_692409601_692668801_4FGL_J1453.5+3505_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.40e-03', job_status='DONE', photon_flux_upper_limit='5.70e-08', time_completed='2022-12-14 01:00:41.172120', job_id='889339', GAL2='0.78', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1671008441.17', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='1.02e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1748' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:00:41 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 889339: <4FGL_J1453.5+3505_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin1748> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Dec 14 00:50:20 2022
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:50:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:50:21 2022
Terminated at Wed Dec 14 01:00:41 2022
Results reported at Wed Dec 14 01:00:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1748 223.392 35.0884 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1453.5+3505 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   608.11 sec.
    Max Memory :                                 1027 MB
    Average Memory :                             351.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   620 sec.
    Turnaround time :                            621 sec.

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

