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


Performing analysis on: 4FGL_J1254.5+2210_daily_bin1709
RA = 193.637, Dec = 22.1808
tmin = 682300801, tmax = 682560001
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='123378', job_status='RUN', time_executed='2022-09-16 17:04:52.904184', time_epoch_executed='1663373092.9' WHERE source_name='4FGL J1254.5+2210' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/123378

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/123378/ft1_4FGL_J1254.5+2210_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/123378/ft2_4FGL_J1254.5+2210_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/123378/ft1_4FGL_J1254.5+2210_daily_bin1709.fits outfile=/scratch/kocevski/123378/ft1_filteredMKT_4FGL_J1254.5+2210_daily_bin1709.fits ra=193.637 dec=22.1808 rad=12.0 tmin=682300801.0 tmax=682560001.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.76
user 3.52
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/123378/ft2_4FGL_J1254.5+2210_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/123378/ft2_4FGL_J1254.5+2210_daily_bin1709.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/123378/ft1_filteredMKT_4FGL_J1254.5+2210_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/123378/ft1_filtered_4FGL_J1254.5+2210_daily_bin1709.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.33
sys 0.17

Number of photons that the gtmktime cut: 554

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/123378/ft1_filtered_4FGL_J1254.5+2210_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/123378/ft2_4FGL_J1254.5+2210_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/123378/ltcube_682300801_682560001_4FGL_J1254.5+2210_daily_bin1709.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/123378/ft2_4FGL_J1254.5+2210_daily_bin1709.fits
.....................!
real 14.60
user 14.14
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/123378/ft1_filtered_4FGL_J1254.5+2210_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/123378/ft2_4FGL_J1254.5+2210_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/123378/ltcube_682300801_682560001_4FGL_J1254.5+2210_daily_bin1709.fits outfile=/scratch/kocevski/123378/expmap_682300801_682560001_4FGL_J1254.5+2210_daily_bin1709.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/123378/ltcube_682300801_682560001_4FGL_J1254.5+2210_daily_bin1709.fits
.....................!
real 191.79
user 186.25
sys 5.09

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

Setting source of interest to:
4FGL J1254.5+2210 @ 193.637 22.1808

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/123378/ft1_filtered_4FGL_J1254.5+2210_daily_bin1709.fits scfile=/scratch/kocevski/123378/ft2_4FGL_J1254.5+2210_daily_bin1709.fits outfile=/scratch/kocevski/123378/cmap_682300801_682560001_4FGL_J1254.5+2210_daily_bin1709.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=193.637 yref=22.1808 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.79
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/123378/ft1_filtered_4FGL_J1254.5+2210_daily_bin1709.fits scfile=/scratch/kocevski/123378/ft2_4FGL_J1254.5+2210_daily_bin1709.fits outfile=/scratch/kocevski/123378/cmap_HighResolution_682300801_682560001_4FGL_J1254.5+2210_daily_bin1709.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=193.637 yref=22.1808 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/123378/ft1_filtered_4FGL_J1254.5+2210_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/123378/ft2_4FGL_J1254.5+2210_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/123378/Model_4FGL_J1254.5+2210_daily_bin1709.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/123378/ft1_filtered_4FGL_J1254.5+2210_daily_bin1709.fits.....................!
real 53.78
user 52.40
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/123378/ft1_filtered_4FGL_J1254.5+2210_daily_bin1709.fits', '/scratch/kocevski/123378/ft2_4FGL_J1254.5+2210_daily_bin1709.fits', expMap='/scratch/kocevski/123378/expmap_682300801_682560001_4FGL_J1254.5+2210_daily_bin1709.fits', expCube='/scratch/kocevski/123378/ltcube_682300801_682560001_4FGL_J1254.5+2210_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/123378/Model_4FGL_J1254.5+2210_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.5+2210'

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  1.787e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.089e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.816e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/123378/ft1_filtered_4FGL_J1254.5+2210_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/123378/ft2_4FGL_J1254.5+2210_daily_bin1709.fits
Exposure map: /scratch/kocevski/123378/expmap_682300801_682560001_4FGL_J1254.5+2210_daily_bin1709.fits
Exposure cube: /scratch/kocevski/123378/ltcube_682300801_682560001_4FGL_J1254.5+2210_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/123378/Model_4FGL_J1254.5+2210_daily_bin1709.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) = 6368.93379944

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20652E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .62067E-06   1.0000          .0000       .10000E+07
     3 'norm      '    11.226       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6074       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12269E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12050E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .16787E-05   1.0000          .0000       .10000E+07
     8 'norm      '    2.2999       1.0000          .0000       .10000E+07
     9 'Prefactor '    8.9128       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11529E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10554E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9407       1.0000          .0000       .10000E+07
    13 'norm      '    8.3061       1.0000          .0000       .10000E+07
    14 'Prefactor '    .99440       1.0000          .0000       .10000E+07
    15 'Prefactor '    26.439       1.0000          .0000       .10000E+07
    16 'norm      '    .10008       1.0000          .0000       .10000E+07
    17 'norm      '    28.773       1.0000          .0000       .10000E+07
    18 'norm      '    .19277E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .39074E-03   1.0000          .0000       .10000E+07
    20 'norm      '    6.2709       1.0000          .0000       .10000E+07
    21 'Prefactor '    17.598       1.0000          .0000       .10000E+07
    22 'norm      '    .21447E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .57197E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    28.649       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.2709       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .84436       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6368.858     FROM MIGRAD    STATUS=CONVERGED    224 CALLS     1903 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61062E-09    2.4438       -.20335E-06** at limit **
   2  Prefactor     .55511E-10    .82765       -.56216E-07** at limit **
   3  norm          11.201        4.3623       -.25362E-07    .48092E-03
   4  Prefactor     1.6104        1.7282       -.26165E-07   -.10027E-01
   5  Prefactor     .13323E-08    4.5573       -.25598E-06** at limit **
   6  Prefactor     .12212E-06    7.6396        .33298E-05** at limit **
   7  norm          .77716E-09    3.1723        .46493E-06** at limit **
   8  norm          2.2919        4.9578        .39476E-06   -.79668E-03
   9  Prefactor     8.9217        8.8569        .17364E-05    .17195E-01
  10  Prefactor     .15543E-08    6.6660        .43421E-06** at limit **
  11  Prefactor     .91593E-07    90.360       -.32666E-05** at limit **
  12  Prefactor     2.0933        3.1744       -.37771E-06   -.20136E-01
  13  norm          8.2853        5.1813        .34719E-07   -.14520E-02
  14  Prefactor     .79845        8.9809       -.17816E-05    .98189E-02
  15  Prefactor     27.733        27.114       -.15378E-05    .32378E-01
  16  norm          .11382        26.279        .47728E-05** at limit **
  17  norm          28.730        7.2022        .11692E-06    .78527E-02
  18  norm          .14411E-06    6.8063       -.27511E-05** at limit **
  19  norm          .34750E-07    13.508       -.96661E-06** at limit **
  20  norm          6.2936        6.1169       -.10235E-06   -.56527E-02
  21  Prefactor     18.223        10.568        .97840E-06   -.97158E-01
  22  norm          .55511E-10    3.4256       -.13967E-06** at limit **
  23  Prefactor     .20317E-07    3.6075        .10236E-06** at limit **
  24  Prefactor     28.837        3.4183        .14486E-08   -.20615E-01
  25  Normalizat    1.2706        .21525       -.25749E-06   -.22160E-03
  26  Prefactor     .84397        .21053        .26997E-05   -.19036E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.10623e-10
  Prefactor  = 5.55112e-11
  norm       = 11.2009
  Prefactor  = 1.61036
  Prefactor  = 1.33227e-09
  Prefactor  = 1.22125e-07
  norm       = 7.77156e-10
  norm       = 2.29186
  Prefactor  = 8.92168
  Prefactor  = 1.55431e-09
  Prefactor  = 9.15934e-08
  Prefactor  = 2.0933
  norm       = 8.28532
  Prefactor  = 0.798446
  Prefactor  = 27.7332
  norm       = 0.113824
  norm       = 28.7299
  norm       = 1.44107e-07
  norm       = 3.475e-08
  norm       = 6.29361
  Prefactor  = 18.2228
  norm       = 5.55112e-11
  Prefactor  = 2.03171e-08
  Prefactor  = 28.837
  Normalizat = 1.27058
  Prefactor  = 0.843967
 **********
 **   18 **HESSE 
 **********

 FCN=   6368.858     FROM HESSE     STATUS=OK           536 CALLS     2439 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61062E-09    2.4601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    .83636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          11.201        4.3823        .29876E-03   -1.5641    
   4  Prefactor     1.6104        1.7303        .83540E-03   -1.5683    
   5  Prefactor     .13323E-08    4.4497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12212E-06    10.179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .77716E-09    .91816E-01    .20552E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.2919        5.0395        .67643E-03   -1.5678    
   9  Prefactor     8.9217        8.9223        .33549E-03   -1.5648    
  10  Prefactor     .15543E-08    6.6944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .91593E-07    5.9376        .60921E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.0933        21.283        .74495E-03   -1.5679    
  13  norm          8.2853        5.2121        .34761E-03   -1.5650    
  14  Prefactor     .79845        94.125        .43567E-03   -1.5690    
  15  Prefactor     27.733        28.760        .19452E-03   -1.5603    
  16  norm          .11382        2.0365        .73136E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          28.730        7.2447        .18646E-03   -1.5601    
  18  norm          .14411E-06    9.1461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .34750E-07    13.730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          6.2936        6.1534        .40062E-03   -1.5658    
  21  Prefactor     18.223        22.933        .23848E-03   -1.5623    
  22  norm          .55511E-10    3.4428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .20317E-07    9.4328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     28.837        24.440        .18686E-03   -1.5601    
  25  Normalizat    1.2706        .18805        .55021E-01   -.84449    
  26  Prefactor     .84397        .17889        .64846E-01   -.98127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.49515e-07
Minuit parameter uncertainties:
  1  7.60014e-05
  2  1.08425e-05
  3  4.38234
  4  1.73032
  5  0.000155143
  6  0.00222967
  7  1.66915e-05
  8  5.03952
  9  8.92232
  10  0.000203991
  11  0.0014749
  12  13.3493
  13  5.21206
  14  17.3385
  15  28.7604
  16  0.962916
  17  7.24474
  18  0.00229615
  19  0.00138157
  20  6.15338
  21  22.9327
  22  3.37942e-05
  23  0.000875038
  24  24.4403
  25  0.188151
  26  0.179014
Done.

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

Extracting fit parameters...

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  9.159e-08  1.475e-03  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.089e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.816e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
564    Prefactor:  8.440e-01  1.790e-01  0.000e+00  1.000e+01 ( 1.000e+00)
565        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
566        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
563   Normalization:  1.271e+00  1.882e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 193.637 22.181
Photon Flux Upper Limit: 6.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/123378/likelihoodResults_682300801_682560001_4FGL_J1254.5+2210_daily_bin1709.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) = 6368.87410667
delta logL = -0.0163036666818

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6368.85781565
delta logL = -1.26463664856e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6368.858     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      272 TOTAL
                     EDM=   .81E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25300E-01    2.1120        .97485E-02** at limit **
   2  Index         1.8947        2.5905        .50000        .49817E-05
   3  Normalizat    1.2706        .32581E-02    .55021E-01   -.16200E-03
   4  Prefactor     .84386        .32190E-02    .64850E-01   -.14590E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0252996
  Index      = 1.89472
  Normalizat = 1.27062
  Prefactor  = 0.843856
 **********
 **   18 **HESSE 
 **********

 FCN=   6368.858     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      313 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25300E-01    5.0551        .59899E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8947        2.9310        .50000       -.67009    
   3  Normalizat    1.2706        .38094E-02    .24329E-03   -.84448    
   4  Prefactor     .84386        .37604E-02    .28686E-03   -.98131    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.13507e-11
Minuit parameter uncertainties:
  1  0.715237
  2  3.31117
  3  0.0038094
  4  0.00376045
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/123378': 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): 102
logL (Free Index) = 6368.85779558
delta logL = 7.42506199458e-06

Extracting fit parameters...

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  2.530e-02  7.152e-01  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  1.895e+00  3.311e+00  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  1.816e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
564    Prefactor:  8.439e-01  3.760e-03  0.000e+00  1.000e+01 ( 1.000e+00)
565        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
566        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
563   Normalization:  1.271e+00  3.809e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 193.637 22.181

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/123378/cmap_HighResolution_682300801_682560001_4FGL_J1254.5+2210_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.21e-03', job_status='DONE', photon_flux_upper_limit='6.89e-08', time_completed='2022-09-16 17:15:19.766449', job_id='123378', GAL2='0.84', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1663373719.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='7.43e-06', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1709' AND source_name='4FGL J1254.5+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:15:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 123378: <4FGL_J1254.5+2210_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1254.5+2210_daily_bin1709> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 17:00:23 2022
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:01:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:01:55 2022
Terminated at Fri Sep 16 17:15:20 2022
Results reported at Fri Sep 16 17:15:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.5+2210_daily_bin1709 193.637 22.1808 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1254.5+2210 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   629.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            897 sec.

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

