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 57 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_bin1754
RA = 223.392, Dec = 35.0884
tmin = 693964801, tmax = 694224001
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='646244', job_status='RUN', time_executed='2023-01-01 01:22:00.728092', time_epoch_executed='1672564920.73' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/646244

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/646244/ft1_4FGL_J1453.5+3505_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/646244/ft2_4FGL_J1453.5+3505_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/646244/ft1_4FGL_J1453.5+3505_daily_bin1754.fits outfile=/scratch/kocevski/646244/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1754.fits ra=223.392 dec=35.0884 rad=12.0 tmin=693964801.0 tmax=694224001.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.92
user 3.67
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/646244/ft2_4FGL_J1453.5+3505_daily_bin1754.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/646244/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1754.fits evtable="EVENTS" outfile="/scratch/kocevski/646244/ft1_filtered_4FGL_J1453.5+3505_daily_bin1754.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.15

Number of photons that the gtmktime cut: 823

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/646244/ft1_filtered_4FGL_J1453.5+3505_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/646244/ft2_4FGL_J1453.5+3505_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/646244/ltcube_693964801_694224001_4FGL_J1453.5+3505_daily_bin1754.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/646244/ft2_4FGL_J1453.5+3505_daily_bin1754.fits
.....................!
real 14.30
user 13.84
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/646244/ft1_filtered_4FGL_J1453.5+3505_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/646244/ft2_4FGL_J1453.5+3505_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/646244/ltcube_693964801_694224001_4FGL_J1453.5+3505_daily_bin1754.fits outfile=/scratch/kocevski/646244/expmap_693964801_694224001_4FGL_J1453.5+3505_daily_bin1754.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/646244/ltcube_693964801_694224001_4FGL_J1453.5+3505_daily_bin1754.fits
.....................!
real 192.65
user 186.25
sys 5.32

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/646244/ft1_filtered_4FGL_J1453.5+3505_daily_bin1754.fits scfile=/scratch/kocevski/646244/ft2_4FGL_J1453.5+3505_daily_bin1754.fits outfile=/scratch/kocevski/646244/cmap_693964801_694224001_4FGL_J1453.5+3505_daily_bin1754.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/646244/ft1_filtered_4FGL_J1453.5+3505_daily_bin1754.fits scfile=/scratch/kocevski/646244/ft2_4FGL_J1453.5+3505_daily_bin1754.fits outfile=/scratch/kocevski/646244/cmap_HighResolution_693964801_694224001_4FGL_J1453.5+3505_daily_bin1754.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.55
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.073       1.0000          .0000       .10000E+07
     2 'norm      '    4.1878       1.0000          .0000       .10000E+07
     3 'Prefactor '    .90833E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11044E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    46.622       1.0000          .0000       .10000E+07
     6 'norm      '    .51582E-03   1.0000          .0000       .10000E+07
     7 'norm      '    11.880       1.0000          .0000       .10000E+07
     8 'norm      '    1.2532       1.0000          .0000       .10000E+07
     9 'Prefactor '    32.016       1.0000          .0000       .10000E+07
    10 'norm      '    .95094E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    10.339       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.8383       1.0000          .0000       .10000E+07
    13 'norm      '    .29871E-06   1.0000          .0000       .10000E+07
    14 'norm      '    5.4234       1.0000          .0000       .10000E+07
    15 'Prefactor '    .91630E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .17546       1.0000          .0000       .10000E+07
    17 'Prefactor '    .13659E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .55941E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .26954       1.0000          .0000       .10000E+07
    20 'Prefactor '    7.1785       1.0000          .0000       .10000E+07
    21 'Prefactor '    .30832E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .17285E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    2.6816       1.0000          .0000       .10000E+07
    24 'Normalizat'    .86994       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0418       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=   8766.765     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     2106 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.054        1.0356       -.25335E-07    .25290E-02
   2  norm          4.1912        3.9547        .48165E-08   -.18807E-02
   3  Prefactor     .89262E-07    3.7563        .12076E-05** at limit **
   4  Prefactor     .55511E-10    3.8907       -.14641E-05** at limit **
   5  Prefactor     46.583        6.3927        .11485E-08   -.48416E-02
   6  norm          .16775E-06    3.5050       -.21371E-05** at limit **
   7  norm          11.940        6.0207       -.84904E-07    .11213E-02
   8  norm          1.2546        3.0040        .12906E-06   -.29684E-02
   9  Prefactor     32.035        7.1620       -.11738E-05    .51687E-01
  10  norm          .22404E-06    5.6989        .39759E-06** at limit **
  11  Prefactor     10.324        6.1754        .16037E-05    .57955E-01
  12  Prefactor     6.8404        5.2105       -.37091E-06    .42056E-02
  13  norm          .55511E-10    1.0290        .11290E-06** at limit **
  14  norm          5.4234        2.9210        .15016E-06    .14121E-01
  15  Prefactor     .14275E-05    17.947        .64429E-05** at limit **
  16  Prefactor     .11102E-08    32.182       -.12888E-05** at limit **
  17  Prefactor     .16076E-06    3.3703       -.13509E-05** at limit **
  18  Prefactor     .75856E-06    4.8629       -.75054E-07** at limit **
  19  norm          .27144        .66649        .10279E-06    .12454E-01
  20  Prefactor     7.1262        4.8870       -.40713E-07    .34803E-02
  21  Prefactor     .12407E-06    25.716       -.34189E-05** at limit **
  22  norm          .18902E-06    5.1778        .81674E-06** at limit **
  23  Prefactor     2.7023        2.4643       -.11490E-05   -.75775E-03
  24  Normalizat    .87006        .17746        .56663E-05    .46695E-03
  25  Prefactor     1.0418        .17624       -.45624E-05    .57480E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 22.0542
  norm       = 4.19119
  Prefactor  = 8.92619e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 46.5835
  norm       = 1.67755e-07
  norm       = 11.94
  norm       = 1.25456
  Prefactor  = 32.0346
  norm       = 2.24043e-07
  Prefactor  = 10.3236
  Prefactor  = 6.84037
  norm       = 5.55112e-11
  norm       = 5.42339
  Prefactor  = 1.42747e-06
  Prefactor  = 1.11022e-09
  Prefactor  = 1.6076e-07
  Prefactor  = 7.5856e-07
  norm       = 0.271436
  Prefactor  = 7.12623
  Prefactor  = 1.24067e-07
  norm       = 1.89015e-07
  Prefactor  = 2.70225
  Normalizat = 0.870065
  Prefactor  = 1.04176
 **********
 **   18 **HESSE 
 **********

 FCN=   8766.765     FROM HESSE     STATUS=OK           483 CALLS     2589 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.054        17.992        .21290E-03   -1.5614    
   2  norm          4.1912        3.9634        .49224E-03   -1.5667    
   3  Prefactor     .89262E-07    5.2915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    9.7161        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     46.583        6.3922        .14647E-03   -1.5571    
   6  norm          .16775E-06    5.3543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          11.940        6.0424        .29039E-03   -1.5639    
   8  norm          1.2546        3.0397        .99789E-03   -1.5686    
   9  Prefactor     32.035        28.285        .17676E-03   -1.5595    
  10  norm          .22404E-06    7.0703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.324        10.970        .31137E-03   -1.5644    
  12  Prefactor     6.8404        5.2573        .38344E-03   -1.5656    
  13  norm          .55511E-10    1.0119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.4234        3.0401        .43125E-03   -1.5661    
  15  Prefactor     .14275E-05    3.8403        .61997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-08    32.138        .12230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .16076E-06    9.4183        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .75856E-06    10.945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .27144        .70331        .10650E-02   -1.5698    
  20  Prefactor     7.1262        4.9794        .37415E-03   -1.5655    
  21  Prefactor     .12407E-06    26.709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .18902E-06    8.2220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.7023        40.948        .62199E-03   -1.5675    
  24  Normalizat    .87006        .15584        .44516E-01   -.97520    
  25  Prefactor     1.0418        .15156        .40414E-01   -.91350    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.04862e-07
Minuit parameter uncertainties:
  1  17.9923
  2  3.96337
  3  0.00137458
  4  4.10825e-05
  5  6.39225
  6  0.00189537
  7  6.04242
  8  3.03971
  9  28.2856
  10  0.00251733
  11  10.9697
  12  5.25727
  13  1.22859e-05
  14  3.04007
  15  0.00468273
  16  0.000373872
  17  0.00246108
  18  0.00576264
  19  0.703314
  20  4.97938
  21  0.00364108
  22  0.00249345
  23  21.0383
  24  0.155922
  25  0.151623
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.032e+01  1.097e+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.042e+00  1.516e-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:  8.701e-01  1.559e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.24
Ra Dec: 223.392 35.088
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 2.36e-08 +/- 2.50e-08
Energy Flux (Fixed Index): 8.13e-06 +/- 8.64e-06

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

Saving results to:
/scratch/kocevski/646244/likelihoodResults_693964801_694224001_4FGL_J1453.5+3505_daily_bin1754.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) = 8766.76298251
delta logL = 0.00195412183348

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8766.76190292
delta logL = 0.00303370959955

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.924       1.0000          .0000       .10000E+07
     2 'Index     '    2.3066       1.0000          .0000       10.000    
     3 'Normalizat'    .87142       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0408       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=   8766.762     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      235 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.921        14.376        .12115E-04    .14141E-01
   2  Index         2.3068        .75156        .98194E-02    .41402E-03
   3  Normalizat    .87151        .17297        .26148E-03   -.80232E-03
   4  Prefactor     1.0407        .17420        .24351E-03   -.92295E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.9212
  Index      = 2.3068
  Normalizat = 0.871507
  Prefactor  = 1.04069
 **********
 **   18 **HESSE 
 **********

 FCN=   8766.762     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.921        13.626        .24230E-05   -1.5642    
   2  Index         2.3068        .71238        .39277E-03   -.56882    
   3  Normalizat    .87151        .17302        .52296E-04   -.97469    
   4  Prefactor     1.0407        .17425        .48702E-04   -.91385    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.89922e-09
Minuit parameter uncertainties:
  1  13.6262
  2  0.715824
  3  0.173129
  4  0.174344
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/646244': 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) = 8766.76190271
delta logL = 0.00303392103706

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.092e+01  1.363e+01  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.307e+00  7.158e-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.041e+00  1.743e-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:  8.715e-01  1.731e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.25
Ra Dec: 223.392 35.088
Photon Index (Free Index): 2.31 +/- 0.72
Photon Flux (Free Index): 2.27e-08 +/- 2.67e-08
Energy Flux (Free Index): 8.50e-06 +/- 1.03e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/646244/cmap_HighResolution_693964801_694224001_4FGL_J1453.5+3505_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.09e-03', comment='SUCCESS', photon_flux='2.36e-08', energy_flux2='8.50e-06', photon_flux_error='2.50e-08', dlogl='3.03e-03', energy_flux='8.13e-06', photon_flux2='2.27e-08', job_status='DONE', time_completed='2023-01-01 01:34:34.790884', photon_index_error2='0.72', photon_index2='2.31', ts='1.24', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='7.90e-08', energy_flux_error2='1.03e-05', EG='0.87', time_epoch_completed='1672565674.79', return_code='0', job_id='646244', GAL2='1.04', EG2='0.87', return_code2='0', energy_flux_error='8.64e-06', photon_flux_error2='2.67e-08', ts2='1.25', photon_index='2.36' WHERE bin_id='1754' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:34:34 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 646244: <4FGL_J1453.5+3505_daily_bin1754> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin1754> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Jan  1 01:20:16 2023
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 01:20:55 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 01:20:55 2023
Terminated at Sun Jan  1 01:34:35 2023
Results reported at Sun Jan  1 01:34:35 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1754 223.392 35.0884 693964801 694224001 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 :                                   755.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             281.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            859 sec.

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

