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


Performing analysis on: 4FGL_J1254.5+2210_daily_bin1774
RA = 193.637, Dec = 22.1808
tmin = 699148801, tmax = 699408001
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='682628', job_status='RUN', time_executed='2023-03-02 00:46:16.323078', time_epoch_executed='1677746776.32' WHERE source_name='4FGL J1254.5+2210' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/682628

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/682628/ft1_4FGL_J1254.5+2210_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/682628/ft2_4FGL_J1254.5+2210_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/682628/ft1_4FGL_J1254.5+2210_daily_bin1774.fits outfile=/scratch/kocevski/682628/ft1_filteredMKT_4FGL_J1254.5+2210_daily_bin1774.fits ra=193.637 dec=22.1808 rad=12.0 tmin=699148801.0 tmax=699408001.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 2.78
user 2.58
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/682628/ft2_4FGL_J1254.5+2210_daily_bin1774.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/682628/ft1_filteredMKT_4FGL_J1254.5+2210_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/682628/ft1_filtered_4FGL_J1254.5+2210_daily_bin1774.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 227

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/682628/ft1_filtered_4FGL_J1254.5+2210_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/682628/ft2_4FGL_J1254.5+2210_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/682628/ltcube_699148801_699408001_4FGL_J1254.5+2210_daily_bin1774.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/682628/ft2_4FGL_J1254.5+2210_daily_bin1774.fits
.....................!
real 12.80
user 12.44
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/682628/ft1_filtered_4FGL_J1254.5+2210_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/682628/ft2_4FGL_J1254.5+2210_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/682628/ltcube_699148801_699408001_4FGL_J1254.5+2210_daily_bin1774.fits outfile=/scratch/kocevski/682628/expmap_699148801_699408001_4FGL_J1254.5+2210_daily_bin1774.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/682628/ltcube_699148801_699408001_4FGL_J1254.5+2210_daily_bin1774.fits
.....................!
real 190.38
user 185.08
sys 4.99

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/682628/ft1_filtered_4FGL_J1254.5+2210_daily_bin1774.fits scfile=/scratch/kocevski/682628/ft2_4FGL_J1254.5+2210_daily_bin1774.fits outfile=/scratch/kocevski/682628/cmap_699148801_699408001_4FGL_J1254.5+2210_daily_bin1774.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/682628/ft1_filtered_4FGL_J1254.5+2210_daily_bin1774.fits scfile=/scratch/kocevski/682628/ft2_4FGL_J1254.5+2210_daily_bin1774.fits outfile=/scratch/kocevski/682628/cmap_HighResolution_699148801_699408001_4FGL_J1254.5+2210_daily_bin1774.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/682628/ft1_filtered_4FGL_J1254.5+2210_daily_bin1774.fits', '/scratch/kocevski/682628/ft2_4FGL_J1254.5+2210_daily_bin1774.fits', expMap='/scratch/kocevski/682628/expmap_699148801_699408001_4FGL_J1254.5+2210_daily_bin1774.fits', expCube='/scratch/kocevski/682628/ltcube_699148801_699408001_4FGL_J1254.5+2210_daily_bin1774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/682628/Model_4FGL_J1254.5+2210_daily_bin1774.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/682628/ft1_filtered_4FGL_J1254.5+2210_daily_bin1774.fits
Spacecraft file(s): /scratch/kocevski/682628/ft2_4FGL_J1254.5+2210_daily_bin1774.fits
Exposure map: /scratch/kocevski/682628/expmap_699148801_699408001_4FGL_J1254.5+2210_daily_bin1774.fits
Exposure cube: /scratch/kocevski/682628/ltcube_699148801_699408001_4FGL_J1254.5+2210_daily_bin1774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/682628/Model_4FGL_J1254.5+2210_daily_bin1774.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) = 2651.32637793

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92321E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .31920E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .14805E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.5653       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.8524       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37117E-02   1.0000          .0000       .10000E+07
     7 'norm      '    2.8029       1.0000          .0000       .10000E+07
     8 'norm      '    .12190E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    7.6406       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.278       1.0000          .0000       .10000E+07
    11 'Prefactor '    25.946       1.0000          .0000       .10000E+07
    12 'Prefactor '    25.942       1.0000          .0000       .10000E+07
    13 'norm      '    .17268E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    11.752       1.0000          .0000       .10000E+07
    15 'Prefactor '    .65030E-04   1.0000          .0000       .10000E+07
    16 'norm      '    1.0120       1.0000          .0000       .10000E+07
    17 'norm      '    23.972       1.0000          .0000       .10000E+07
    18 'norm      '    3.2100       1.0000          .0000       .10000E+07
    19 'norm      '    15.678       1.0000          .0000       .10000E+07
    20 'norm      '    43.803       1.0000          .0000       .10000E+07
    21 'Prefactor '    .28304E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .69859E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    .34633E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    63.325       1.0000          .0000       .10000E+07
    25 'Normalizat'    .29142       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.6103       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=   2650.466     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     2241 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10142E-06    10.418       -.70068E-06** at limit **
   2  Prefactor     .32796E-05    11.671       -.35418E-05** at limit **
   3  norm          .33307E-09    3.1902        .85584E-07** at limit **
   4  Prefactor     5.5394        5.5072       -.74024E-07    .35680E-03
   5  Prefactor     7.0432        7.0212        .77746E-07    .21589E-02
   6  Prefactor     .16653E-09    7.3133        .11293E-05** at limit **
   7  norm          2.8037        1.1602       -.19924E-07    .90072E-03
   8  norm           .0000        4.8206       -.18293E-06** at limit **
   9  Prefactor     7.3713        2.4538       -.10609E-06    .41752E-02
  10  Prefactor     12.754        3.6636        .27615E-06   -.65588E-02
  11  Prefactor     25.988        2.0023       -.32394E-07    .23881E-01
  12  Prefactor     25.398        4.4947       -.11659E-06    .83584E-02
  13  norm          .38858E-09    3.2254       -.51685E-06** at limit **
  14  Prefactor     11.906        11.195        .90954E-06   -.19965E-01
  15  Prefactor     .56233E-07    7.6337       -.19657E-06** at limit **
  16  norm          .97950        4.2738        .31878E-05    .73397E-01
  17  norm          23.731        6.9040        .74265E-06   -.16996E-02
  18  norm          3.3361        4.7173        .66309E-06    .34729E-02
  19  norm          16.032        5.7697        .31051E-06   -.65937E-02
  20  norm          44.116        7.6176       -.51148E-06   -.12902E-01
  21  Prefactor     .12810E-05    10.664        .20543E-05** at limit **
  22  norm          .10703E-06    10.007        .56053E-06** at limit **
  23  Prefactor     .10225E-06    31.613        .10431E-05** at limit **
  24  Prefactor     65.280        40.251        .72045E-06    .12344E-02
  25  Normalizat    .28890        .38048        .91680E-05    .77351E-05
  26  Prefactor     1.6110        .38372       -.97909E-05    .15804E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.01419e-07
  Prefactor  = 3.2796e-06
  norm       = 3.33067e-10
  Prefactor  = 5.5394
  Prefactor  = 7.04318
  Prefactor  = 1.66533e-10
  norm       = 2.80369
  norm       = 0
  Prefactor  = 7.37133
  Prefactor  = 12.7544
  Prefactor  = 25.9884
  Prefactor  = 25.398
  norm       = 3.88578e-10
  Prefactor  = 11.9057
  Prefactor  = 5.62328e-08
  norm       = 0.9795
  norm       = 23.7314
  norm       = 3.3361
  norm       = 16.0319
  norm       = 44.1158
  Prefactor  = 1.28098e-06
  norm       = 1.07025e-07
  Prefactor  = 1.02252e-07
  Prefactor  = 65.2797
  Normalizat = 0.288895
  Prefactor  = 1.61096
 **********
 **   18 **HESSE 
 **********

 FCN=   2650.466     FROM HESSE     STATUS=OK           514 CALLS     2755 TOTAL
                     EDM=   .48E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10142E-06    11.516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .32796E-05    23.023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .33307E-09    3.1921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.5394        5.5289        .42563E-03   -1.5661    
   5  Prefactor     7.0432        7.5475        .38304E-03   -1.5655    
   6  Prefactor     .16653E-09    7.3256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.8037        1.1793        .60738E-03   -1.5674    
   8  norm           .0000        4.8311        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.3713        25.956        .36255E-03   -1.5654    
  10  Prefactor     12.754        26.755        .27463E-03   -1.5637    
  11  Prefactor     25.988        19.800        .19636E-03   -1.5606    
  12  Prefactor     25.398        34.665        .19637E-03   -1.5607    
  13  norm          .38858E-09    3.2265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.906        37.197        .29198E-03   -1.5639    
  15  Prefactor     .56233E-07    20.702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .97950        7.5244        .44189E-03   -1.5688    
  17  norm          23.731        16.475        .20429E-03   -1.5611    
  18  norm          3.3361        43.329        .56522E-03   -1.5671    
  19  norm          16.032        42.509        .25269E-03   -1.5628    
  20  norm          44.116        18.435        .15111E-03   -1.5575    
  21  Prefactor     .12810E-05    20.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10703E-06    10.691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10225E-06    33.519        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     65.280        42.824        .12567E-03   -1.5546    
  25  Normalizat    .28890        .46475        .12009       -1.2351    
  26  Prefactor     1.6110        .42611        .55923E-01   -.74478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.76762e-07
Minuit parameter uncertainties:
  1  0.00216157
  2  0.0173788
  3  6.68759e-05
  4  5.52887
  5  7.5475
  6  6.96262e-05
  7  1.17931
  8  1.33086e-05
  9  25.9559
  10  26.7549
  11  19.8003
  12  34.665
  13  6.84965e-05
  14  37.1978
  15  0.0021576
  16  5.42962
  17  16.4746
  18  24.0459
  19  42.5101
  20  18.435
  21  0.0101344
  22  0.00213947
  23  0.00370265
  24  42.8237
  25  0.471156
  26  0.427067
Done.

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

Extracting fit parameters...

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  2.599e+01  1.980e+01  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:  1.611e+00  4.271e-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:  2.889e-01  4.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.14
Ra Dec: 193.637 22.181
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 1.02e-07 +/- 7.76e-08
Energy Flux (Fixed Index): 5.73e-05 +/- 4.36e-05

TS (Fixed Index): 3.14
Ra Dec: 193.637 22.181
Photon Flux Upper Limit: 2.75e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/682628/likelihoodResults_699148801_699408001_4FGL_J1254.5+2210_daily_bin1774.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) = 2650.39896692
delta logL = 0.0671261418661

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2650.39745464
delta logL = 0.0686384206347

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.708       1.0000          .0000       .10000E+07
     2 'Index     '    2.3054       1.0000          .0000       10.000    
     3 'Normalizat'    .26890       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6250       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2650.397     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      289 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.709        24.876        .90133E-05   -.10910E-02
   2  Index         2.3055        .65578        .39529E-02   -.57570E-04
   3  Normalizat    .26875        .37077        .55017E-03   -.11117E-04
   4  Prefactor     1.6252        .38627        .24630E-03   -.23379E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.7086
  Index      = 2.3055
  Normalizat = 0.268747
  Prefactor  = 1.6252
 **********
 **   18 **HESSE 
 **********

 FCN=   2650.397     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.709        23.186        .36053E-06   -1.5619    
   2  Index         2.3055        .61117        .15812E-03   -.56913    
   3  Normalizat    .26875        .36976        .22007E-04   -1.2475    
   4  Prefactor     1.6252        .38529        .98520E-05   -.74091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.90916e-11
Minuit parameter uncertainties:
  1  23.1865
  2  0.613332
  3  0.373192
  4  0.385999
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/682628': 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) = 2650.39745445
delta logL = 0.068638614503

Extracting fit parameters...

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  1.971e+01  2.319e+01  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.306e+00  6.133e-01  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:  1.625e+00  3.860e-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:  2.687e-01  3.732e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.22
Ra Dec: 193.637 22.181
Photon Index (Free Index): 2.31 +/- 0.61
Photon Flux (Free Index): 1.21e-07 +/- 9.99e-08
Energy Flux (Free Index): 4.54e-05 +/- 4.19e-05

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/682628/cmap_HighResolution_699148801_699408001_4FGL_J1254.5+2210_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.08e-02', comment='SUCCESS', photon_flux='1.02e-07', energy_flux2='4.54e-05', photon_flux_error='7.76e-08', dlogl='6.86e-02', energy_flux='5.73e-05', photon_flux2='1.21e-07', job_status='DONE', time_completed='2023-03-02 00:53:37.390705', photon_index_error2='0.61', photon_index2='2.31', ts='3.14', fit_tolerance='1e-08', GAL='1.61', photon_index_error='0.00', photon_flux_upper_limit='2.75e-07', energy_flux_error2='4.19e-05', EG='0.29', time_epoch_completed='1677747217.39', return_code='0', job_id='682628', GAL2='1.63', EG2='0.27', return_code2='0', energy_flux_error='4.36e-05', photon_flux_error2='9.99e-08', ts2='3.22', photon_index='2.09' WHERE bin_id='1774' AND source_name='4FGL J1254.5+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:53:37 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 682628: <4FGL_J1254.5+2210_daily_bin1774> in cluster <slac> Done

Job <4FGL_J1254.5+2210_daily_bin1774> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Mar  2 00:45:14 2023
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:45:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:45:16 2023
Terminated at Thu Mar  2 00:53:38 2023
Results reported at Thu Mar  2 00:53:38 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.5+2210_daily_bin1774 193.637 22.1808 699148801 699408001 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 :                                   443.41 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             303.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   501 sec.
    Turnaround time :                            504 sec.

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

