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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1769
RA = 223.392, Dec = 35.0884
tmin = 697852801, tmax = 698112001
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='437196', job_status='RUN', time_executed='2023-02-15 00:55:56.867799', time_epoch_executed='1676451356.87' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/437196

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/437196/ft1_4FGL_J1453.5+3505_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/437196/ft2_4FGL_J1453.5+3505_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/437196/ft1_4FGL_J1453.5+3505_daily_bin1769.fits outfile=/scratch/kocevski/437196/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1769.fits ra=223.392 dec=35.0884 rad=12.0 tmin=697852801.0 tmax=698112001.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.43
user 4.21
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/437196/ft2_4FGL_J1453.5+3505_daily_bin1769.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/437196/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/437196/ft1_filtered_4FGL_J1453.5+3505_daily_bin1769.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 581

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/437196/ft1_filtered_4FGL_J1453.5+3505_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/437196/ft2_4FGL_J1453.5+3505_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/437196/ltcube_697852801_698112001_4FGL_J1453.5+3505_daily_bin1769.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/437196/ft2_4FGL_J1453.5+3505_daily_bin1769.fits
.....................!
real 11.77
user 11.42
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/437196/ft1_filtered_4FGL_J1453.5+3505_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/437196/ft2_4FGL_J1453.5+3505_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/437196/ltcube_697852801_698112001_4FGL_J1453.5+3505_daily_bin1769.fits outfile=/scratch/kocevski/437196/expmap_697852801_698112001_4FGL_J1453.5+3505_daily_bin1769.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/437196/ltcube_697852801_698112001_4FGL_J1453.5+3505_daily_bin1769.fits
.....................!
real 189.90
user 185.69
sys 3.90

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/437196/ft1_filtered_4FGL_J1453.5+3505_daily_bin1769.fits scfile=/scratch/kocevski/437196/ft2_4FGL_J1453.5+3505_daily_bin1769.fits outfile=/scratch/kocevski/437196/cmap_697852801_698112001_4FGL_J1453.5+3505_daily_bin1769.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.53
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/437196/ft1_filtered_4FGL_J1453.5+3505_daily_bin1769.fits scfile=/scratch/kocevski/437196/ft2_4FGL_J1453.5+3505_daily_bin1769.fits outfile=/scratch/kocevski/437196/cmap_HighResolution_697852801_698112001_4FGL_J1453.5+3505_daily_bin1769.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.53
user 0.35
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/437196/ft1_filtered_4FGL_J1453.5+3505_daily_bin1769.fits', '/scratch/kocevski/437196/ft2_4FGL_J1453.5+3505_daily_bin1769.fits', expMap='/scratch/kocevski/437196/expmap_697852801_698112001_4FGL_J1453.5+3505_daily_bin1769.fits', expCube='/scratch/kocevski/437196/ltcube_697852801_698112001_4FGL_J1453.5+3505_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/437196/Model_4FGL_J1453.5+3505_daily_bin1769.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/437196/ft1_filtered_4FGL_J1453.5+3505_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/437196/ft2_4FGL_J1453.5+3505_daily_bin1769.fits
Exposure map: /scratch/kocevski/437196/expmap_697852801_698112001_4FGL_J1453.5+3505_daily_bin1769.fits
Exposure cube: /scratch/kocevski/437196/ltcube_697852801_698112001_4FGL_J1453.5+3505_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/437196/Model_4FGL_J1453.5+3505_daily_bin1769.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) = 6240.32028924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14345E-03   1.0000          .0000       .10000E+07
     2 'norm      '    2.1105       1.0000          .0000       .10000E+07
     3 'Prefactor '    .13314E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17392E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    13.297       1.0000          .0000       .10000E+07
     6 'norm      '    .11306E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .30289E-03   1.0000          .0000       .10000E+07
     8 'norm      '    2.8704       1.0000          .0000       .10000E+07
     9 'Prefactor '    381.07       1.0000          .0000       .10000E+07
    10 'norm      '    .16173E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    10.225       1.0000          .0000       .10000E+07
    12 'Prefactor '    .60790E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .25353E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .40451E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .27735E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .58147E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .54192E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    34.925       1.0000          .0000       .10000E+07
    19 'norm      '    .25906       1.0000          .0000       .10000E+07
    20 'Prefactor '    .24258E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .17702       1.0000          .0000       .10000E+07
    22 'norm      '    .21316E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    .57258E-01   1.0000          .0000       .10000E+07
    24 'Normalizat'    .75281       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0972       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=   6240.318     FROM MIGRAD    STATUS=CONVERGED    153 CALLS     2232 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12712E-07    3.8571       -.75731E-06** at limit **
   2  norm          2.1104        3.0455        .14455E-06    .45907E-03
   3  Prefactor     .61173E-07    2.0354        .51678E-06** at limit **
   4  Prefactor     .19318E-07    3.1042       -.16002E-06** at limit **
   5  Prefactor     13.297        4.3952       -.19297E-06    .10006E-02
   6  norm          .22204E-09    3.7192        .74820E-07** at limit **
   7  norm           .0000        2.0982        .34573E-06** at limit **
   8  norm          2.8718        2.7421       -.16014E-06    .11299E-02
   9  Prefactor     381.03        5.4351       -.13989E-06    .53045    
  10  norm          .32085E-07    2.6253       -.37880E-06** at limit **
  11  Prefactor     10.222        1.8530       -.11244E-06   -.28000E-01
  12  Prefactor      .0000        2.2369        .16302E-06** at limit **
  13  norm           .0000        1.0678       -.12934E-07** at limit **
  14  norm           .0000        1.2713       -.33632E-06** at limit **
  15  Prefactor     .10936E-07    2.9324        .47049E-06** at limit **
  16  Prefactor     .99809E-07    31.365       -.28230E-05** at limit **
  17  Prefactor     .64393E-07    22.374       -.20458E-06** at limit **
  18  Prefactor     34.876        11.965        .95075E-06    .35452E-01
  19  norm          .25964        .75628        .68603E-06    .56186E-03
  20  Prefactor     .60785E-07    4.4081        .90195E-07** at limit **
  21  Prefactor     .43660E-06    21.058       -.40135E-05** at limit **
  22  norm          .38747E-07    4.8781        .12627E-05** at limit **
  23  Prefactor     .59952E-08    .88521       -.27615E-06** at limit **
  24  Normalizat    .75301        .19634        .19524E-04    .75451E-04
  25  Prefactor     1.0971        .19887       -.10737E-04    .10636E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.27121e-08
  norm       = 2.11042
  Prefactor  = 6.11733e-08
  Prefactor  = 1.93179e-08
  Prefactor  = 13.2975
  norm       = 2.22045e-10
  norm       = 0
  norm       = 2.87177
  Prefactor  = 381.025
  norm       = 3.20854e-08
  Prefactor  = 10.2222
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 1.09357e-08
  Prefactor  = 9.9809e-08
  Prefactor  = 6.43929e-08
  Prefactor  = 34.8762
  norm       = 0.259642
  Prefactor  = 6.07847e-08
  Prefactor  = 4.36595e-07
  norm       = 3.87468e-08
  Prefactor  = 5.9952e-09
  Normalizat = 0.753006
  Prefactor  = 1.09707
 **********
 **   18 **HESSE 
 **********

 FCN=   6240.318     FROM HESSE     STATUS=OK           469 CALLS     2701 TOTAL
                     EDM=   .30E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12712E-07    4.1349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1104        3.0638        .70986E-03   -1.5679    
   3  Prefactor     .61173E-07    4.4651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .19318E-07    5.6526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.297        4.3973        .27443E-03   -1.5635    
   6  norm          .22204E-09    3.7228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.0947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.8718        2.7448        .59970E-03   -1.5674    
   9  Prefactor     381.03        62.143        .51236E-04   -1.5318    
  10  norm          .32085E-07    5.5226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.222        12.203        .31310E-03   -1.5644    
  12  Prefactor      .0000        2.2340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        1.0397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.2719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10936E-07    4.6952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .99809E-07    31.454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .64393E-07    22.450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     34.876        14.928        .16923E-03   -1.5590    
  19  norm          .25964        .78999        .10807E-02   -1.5698    
  20  Prefactor     .60785E-07    8.6309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .43660E-06    19.670        .12200E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .38747E-07    8.3033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .59952E-08    52.853        .15262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .75301        .17557        .42991E-01   -1.0184    
  25  Prefactor     1.0971        .17353        .37695E-01   -.89560    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96347e-06
Minuit parameter uncertainties:
  1  0.000458188
  2  3.0638
  3  0.00104515
  4  0.000660806
  5  4.3973
  6  5.71492e-05
  7  8.48192e-07
  8  2.74477
  9  62.1433
  10  0.000842061
  11  12.2033
  12  3.55468e-06
  13  6.26943e-06
  14  3.86648e-06
  15  0.000453181
  16  0.00354413
  17  0.0024048
  18  14.9283
  19  0.789994
  20  0.00144849
  21  0.00586091
  22  0.00113416
  23  0.00112453
  24  0.175698
  25  0.173621
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.022e+01  1.220e+01  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:  1.097e+00  1.736e-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:  7.530e-01  1.757e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.10
Ra Dec: 223.392 35.088
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 2.34e-08 +/- 2.79e-08
Energy Flux (Fixed Index): 8.05e-06 +/- 9.61e-06

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

Saving results to:
/scratch/kocevski/437196/likelihoodResults_697852801_698112001_4FGL_J1453.5+3505_daily_bin1769.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) = 6240.30779203
delta logL = 0.0106235256344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6240.30126283
delta logL = 0.0171527310358

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6303       1.0000          .0000       .10000E+07
     2 'Index     '    2.5327       1.0000          .0000       10.000    
     3 'Normalizat'    .74876       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1002       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=   6240.301     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      269 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6286        15.447        .13639E-04    .31891E-02
   2  Index         2.5313        1.0307        .91250E-02    .75614E-04
   3  Normalizat    .74901        .19462        .27187E-03   -.34591E-03
   4  Prefactor     1.0998        .19830        .23323E-03   -.39341E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.62855
  Index      = 2.5313
  Normalizat = 0.749011
  Prefactor  = 1.09984
 **********
 **   18 **HESSE 
 **********

 FCN=   6240.301     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6286        13.919        .54556E-06   -1.5649    
   2  Index         2.5313        .92992        .36500E-03   -.51639    
   3  Normalizat    .74901        .19461        .10875E-04   -1.0199    
   4  Prefactor     1.0998        .19831        .46647E-04   -.89472    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38427e-10
Minuit parameter uncertainties:
  1  13.9189
  2  0.937155
  3  0.194794
  4  0.198446
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/437196': 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) = 6240.30125911
delta logL = 0.0171564515367

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  8.629e+00  1.392e+01  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.531e+00  9.372e-01  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:  1.100e+00  1.984e-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:  7.490e-01  1.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.14
Ra Dec: 223.392 35.088
Photon Index (Free Index): 2.53 +/- 0.94
Photon Flux (Free Index): 2.64e-08 +/- 3.40e-08
Energy Flux (Free Index): 7.41e-06 +/- 9.21e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/437196/cmap_HighResolution_697852801_698112001_4FGL_J1453.5+3505_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.13e-03', comment='SUCCESS', photon_flux='2.34e-08', energy_flux2='7.41e-06', photon_flux_error='2.79e-08', dlogl='1.72e-02', energy_flux='8.05e-06', photon_flux2='2.64e-08', job_status='DONE', time_completed='2023-02-15 01:06:27.681521', photon_index_error2='0.94', photon_index2='2.53', ts='1.10', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='9.26e-08', energy_flux_error2='9.21e-06', EG='0.75', time_epoch_completed='1676451987.68', return_code='0', job_id='437196', GAL2='1.10', EG2='0.75', return_code2='0', energy_flux_error='9.61e-06', photon_flux_error2='3.40e-08', ts2='1.14', photon_index='2.36' WHERE bin_id='1769' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:06:27 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 437196: <4FGL_J1453.5+3505_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin1769> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Feb 15 00:55:23 2023
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:55:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:55:26 2023
Terminated at Wed Feb 15 01:06:28 2023
Results reported at Wed Feb 15 01:06:28 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1769 223.392 35.0884 697852801 698112001 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 :                                   633.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             369.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            665 sec.

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

