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


Performing analysis on: 4FGL_J1254.5+2210_daily_bin1779
RA = 193.637, Dec = 22.1808
tmin = 700444801, tmax = 700704001
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='26358', job_status='RUN', time_executed='2023-03-17 01:43:51.470523', time_epoch_executed='1679042631.47' WHERE source_name='4FGL J1254.5+2210' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/26358

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/26358/ft1_4FGL_J1254.5+2210_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/26358/ft2_4FGL_J1254.5+2210_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/26358/ft1_4FGL_J1254.5+2210_daily_bin1779.fits outfile=/scratch/kocevski/26358/ft1_filteredMKT_4FGL_J1254.5+2210_daily_bin1779.fits ra=193.637 dec=22.1808 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.27
user 5.01
sys 0.24

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

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

Number of photons that the gtmktime cut: 444

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/26358/ft1_filtered_4FGL_J1254.5+2210_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/26358/ft2_4FGL_J1254.5+2210_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/26358/ltcube_700444801_700704001_4FGL_J1254.5+2210_daily_bin1779.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/26358/ft2_4FGL_J1254.5+2210_daily_bin1779.fits
.....................!
real 11.68
user 11.34
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/26358/ft1_filtered_4FGL_J1254.5+2210_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/26358/ft2_4FGL_J1254.5+2210_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/26358/ltcube_700444801_700704001_4FGL_J1254.5+2210_daily_bin1779.fits outfile=/scratch/kocevski/26358/expmap_700444801_700704001_4FGL_J1254.5+2210_daily_bin1779.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/26358/ltcube_700444801_700704001_4FGL_J1254.5+2210_daily_bin1779.fits
.....................!
real 189.68
user 185.08
sys 4.24

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/26358/ft1_filtered_4FGL_J1254.5+2210_daily_bin1779.fits scfile=/scratch/kocevski/26358/ft2_4FGL_J1254.5+2210_daily_bin1779.fits outfile=/scratch/kocevski/26358/cmap_700444801_700704001_4FGL_J1254.5+2210_daily_bin1779.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.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1697       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.7860       1.0000          .0000       .10000E+07
     3 'norm      '    2.1256       1.0000          .0000       .10000E+07
     4 'Prefactor '    .26257E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .78477       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19344E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .33307E-09   1.0000          .0000       .10000E+07
     8 'norm      '    1.7180       1.0000          .0000       .10000E+07
     9 'Prefactor '    8.5671       1.0000          .0000       .10000E+07
    10 'Prefactor '    .77593E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .73578E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .32250       1.0000          .0000       .10000E+07
    13 'norm      '    .33758E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .69696E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    34.359       1.0000          .0000       .10000E+07
    16 'norm      '    1.3322       1.0000          .0000       .10000E+07
    17 'norm      '    13.732       1.0000          .0000       .10000E+07
    18 'norm      '    .53671E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .16540E-03   1.0000          .0000       .10000E+07
    20 'norm      '    16.928       1.0000          .0000       .10000E+07
    21 'Prefactor '    .16345E-01   1.0000          .0000       .10000E+07
    22 'norm      '    .11304E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    4.8270       1.0000          .0000       .10000E+07
    24 'Prefactor '    .12882       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0650       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0052       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=   5181.850     FROM MIGRAD    STATUS=CONVERGED    191 CALLS     2280 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1667        5.1280       -.48086E-07   -.83316E-03
   2  Prefactor     9.7819        5.6164        .67343E-08    .50582E-03
   3  norm          2.1263        2.1067       -.17187E-07   -.52503E-03
   4  Prefactor      .0000        .82350       -.14519E-06** at limit **
   5  Prefactor     .79079        1.5197       -.31337E-07   -.69418E-03
   6  Prefactor      .0000        1.8955        .89816E-08** at limit **
   7  norm           .0000        .73839E-01    .93783E-08** at limit **
   8  norm          1.7197        2.9013        .16886E-06    .18194E-02
   9  Prefactor     8.5822        7.2719       -.10501E-06   -.86663E-01
  10  Prefactor     .27756E-09    6.1730       -.73949E-07** at limit **
  11  Prefactor     .16653E-09    3.1849       -.33198E-07** at limit **
  12  Prefactor     .31405E-02    330.07        .13170E-05** at limit **
  13  norm          .22204E-09    2.9895        .18947E-06** at limit **
  14  Prefactor     .44020E-07    26.923       -.23563E-06** at limit **
  15  Prefactor     34.938        36.374       -.29415E-06    .11322    
  16  norm          1.3272        2.2580        .11047E-07    .18194E-03
  17  norm          13.759        6.7708        .98973E-07   -.38434E-02
  18  norm          .76605E-08    34.871        .77261E-07** at limit **
  19  norm          .11102E-09    8.8474       -.18504E-06** at limit **
  20  norm          16.920        8.3447       -.15933E-07   -.11475E-01
  21  Prefactor     .55511E-10    12.453        .25942E-06** at limit **
  22  norm          .35527E-08    7.1359        .19154E-07** at limit **
  23  Prefactor     4.8247        7.7946        .18710E-06   -.19521E-01
  24  Prefactor     .18802E-06    18.867       -.49045E-06** at limit **
  25  Normalizat    1.0657        .22925       -.51069E-05   -.75020E-04
  26  Prefactor     1.0050        .22479        .43586E-05   -.23887E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.16673
  Prefactor  = 9.78194
  norm       = 2.12631
  Prefactor  = 0
  Prefactor  = 0.790785
  Prefactor  = 0
  norm       = 0
  norm       = 1.71967
  Prefactor  = 8.58223
  Prefactor  = 2.77556e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 0.00314045
  norm       = 2.22045e-10
  Prefactor  = 4.40203e-08
  Prefactor  = 34.9381
  norm       = 1.32725
  norm       = 13.7591
  norm       = 7.66054e-09
  norm       = 1.11022e-10
  norm       = 16.9196
  Prefactor  = 5.55112e-11
  norm       = 3.55271e-09
  Prefactor  = 4.82474
  Prefactor  = 1.88016e-07
  Normalizat = 1.06568
  Prefactor  = 1.00504
 **********
 **   18 **HESSE 
 **********

 FCN=   5181.850     FROM HESSE     STATUS=OK           514 CALLS     2794 TOTAL
                     EDM=   .81E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1667        5.2267        .69884E-03   -1.5679    
   2  Prefactor     9.7819        5.7163        .32009E-03   -1.5645    
   3  norm          2.1263        2.0977        .70699E-03   -1.5679    
   4  Prefactor      .0000        .82428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .79079        1.5396        .54077E-03   -1.5690    
   6  Prefactor      .0000        1.9031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .72693E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.7197        2.9350        .80129E-03   -1.5682    
   9  Prefactor     8.5822        10.289        .34224E-03   -1.5649    
  10  Prefactor     .27756E-09    6.1553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16653E-09    3.1861        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .31405E-02    10.081        .99078E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .22204E-09    2.9861        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .44020E-07    26.985        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     34.938        42.925        .17062E-03   -1.5590    
  16  norm          1.3272        2.3048        .95078E-03   -1.5685    
  17  norm          13.759        6.8998        .27003E-03   -1.5634    
  18  norm          .76605E-08    34.789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .11102E-09    8.8883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          16.920        8.3724        .24316E-03   -1.5626    
  21  Prefactor     .55511E-10    12.496        .17290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .35527E-08    7.1616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.8247        14.609        .45765E-03   -1.5664    
  24  Prefactor     .18802E-06    17.310        .13212E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0657        .19958        .57748E-01   -.90861    
  26  Prefactor     1.0050        .19263        .44140E-01   -.92562    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.09916e-07
Minuit parameter uncertainties:
  1  5.2267
  2  5.71629
  3  2.09775
  4  6.28633e-06
  5  1.53958
  6  2.57079e-06
  7  2.15746e-07
  8  2.93496
  9  10.2889
  10  8.27431e-05
  11  4.70476e-05
  12  0.355868
  13  5.36574e-05
  14  0.00217927
  15  42.925
  16  2.30478
  17  6.8998
  18  0.00103065
  19  6.20007e-05
  20  8.3724
  21  5.3532e-05
  22  0.000320051
  23  14.6094
  24  0.00360814
  25  0.199726
  26  0.19276
Done.

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

Extracting fit parameters...

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  1.665e-10  4.705e-05  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.005e+00  1.928e-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.066e+00  1.997e-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.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/26358/likelihoodResults_700444801_700704001_4FGL_J1254.5+2210_daily_bin1779.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) = 5181.85049835
delta logL = -0.0003827224009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5181.85012113
delta logL = -5.50416825718e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .61054E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .70204       1.0000          .0000       10.000    
     3 'Normalizat'    1.0658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0051       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5670E+05   .2000E-04
 **********
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5179.746     FROM MIGRAD    STATUS=CONVERGED    348 CALLS      535 TOTAL
                     EDM=   .33E-05  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33751E-07    .61617E-07     .0000    ** at limit **
   2  Index        10.0000        8.4047         .0000    ** at limit **
   3  Normalizat    .90627        .25263         .0000       -.98191E-03
   4  Prefactor     1.1125        .22990         .0000       -.23336E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.37508e-08
  Index      = 10
  Normalizat = 0.906268
  Prefactor  = 1.11253
 **********
 **   18 **HESSE 
 **********

 FCN=   5179.746     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      574 TOTAL
                     EDM=   .86E+02    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33751E-07    .42610E-06    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        9.9697        .42428        1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .90627        .58338E-01    .61920E-01   -.96240    
   4  Prefactor     1.1125        .58354E-01    .44161E-01   -.89067    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 86.171
Minuit parameter uncertainties:
  1  2.39856e-07
  2  0.00212117
  3  0.0583423
  4  0.0583578
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/26358': 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) = 5179.7459823
delta logL = 2.10413333002

Extracting fit parameters...

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  3.375e-08  2.399e-07  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  1.000e+01  2.121e-03  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.113e+00  5.836e-02  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:  9.063e-01  5.834e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.60
Ra Dec: 193.637 22.181
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 1.51e-07 +/- 1.04e-06
Energy Flux (Free Index): 1.69e-05 +/- 1.17e-04

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/26358/cmap_HighResolution_700444801_700704001_4FGL_J1254.5+2210_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.64e-03', comment='SUCCESS', energy_flux2='1.69e-05', dlogl='2.10e+00', photon_flux2='1.51e-07', job_status='DONE', time_completed='2023-03-17 01:53:52.415188', photon_index_error2='0.00', photon_index2='10.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='6.14e-08', energy_flux_error2='1.17e-04', EG='1.07', time_epoch_completed='1679043232.42', return_code='0', job_id='26358', GAL2='1.11', EG2='0.91', return_code2='102', photon_flux_error2='1.04e-06', ts2='4.60', photon_index='2.09' WHERE bin_id='1779' AND source_name='4FGL J1254.5+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 01:53:52 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 26358: <4FGL_J1254.5+2210_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1254.5+2210_daily_bin1779> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Mar 17 01:40:13 2023
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:40:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:40:15 2023
Terminated at Fri Mar 17 01:53:53 2023
Results reported at Fri Mar 17 01:53:53 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.5+2210_daily_bin1779 193.637 22.1808 700444801 700704001 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 :                                   603.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            820 sec.

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

