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 112 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_bin1759
RA = 193.637, Dec = 22.1808
tmin = 695260801, tmax = 695520001
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='558271', job_status='RUN', time_executed='2023-01-16 01:13:24.854671', time_epoch_executed='1673860404.85' WHERE source_name='4FGL J1254.5+2210' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/558271

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/558271/ft1_4FGL_J1254.5+2210_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/558271/ft2_4FGL_J1254.5+2210_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/558271/ft1_4FGL_J1254.5+2210_daily_bin1759.fits outfile=/scratch/kocevski/558271/ft1_filteredMKT_4FGL_J1254.5+2210_daily_bin1759.fits ra=193.637 dec=22.1808 rad=12.0 tmin=695260801.0 tmax=695520001.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.77
user 2.54
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/558271/ft2_4FGL_J1254.5+2210_daily_bin1759.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/558271/ft1_filteredMKT_4FGL_J1254.5+2210_daily_bin1759.fits evtable="EVENTS" outfile="/scratch/kocevski/558271/ft1_filtered_4FGL_J1254.5+2210_daily_bin1759.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.53
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 835

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/558271/ft1_filtered_4FGL_J1254.5+2210_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/558271/ft2_4FGL_J1254.5+2210_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/558271/ltcube_695260801_695520001_4FGL_J1254.5+2210_daily_bin1759.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/558271/ft2_4FGL_J1254.5+2210_daily_bin1759.fits
.....................!
real 16.71
user 16.27
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/558271/ft1_filtered_4FGL_J1254.5+2210_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/558271/ft2_4FGL_J1254.5+2210_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/558271/ltcube_695260801_695520001_4FGL_J1254.5+2210_daily_bin1759.fits outfile=/scratch/kocevski/558271/expmap_695260801_695520001_4FGL_J1254.5+2210_daily_bin1759.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/558271/ltcube_695260801_695520001_4FGL_J1254.5+2210_daily_bin1759.fits
.....................!
real 192.53
user 187.16
sys 4.94

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/558271/ft1_filtered_4FGL_J1254.5+2210_daily_bin1759.fits scfile=/scratch/kocevski/558271/ft2_4FGL_J1254.5+2210_daily_bin1759.fits outfile=/scratch/kocevski/558271/cmap_695260801_695520001_4FGL_J1254.5+2210_daily_bin1759.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.59
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/558271/ft1_filtered_4FGL_J1254.5+2210_daily_bin1759.fits scfile=/scratch/kocevski/558271/ft2_4FGL_J1254.5+2210_daily_bin1759.fits outfile=/scratch/kocevski/558271/cmap_HighResolution_695260801_695520001_4FGL_J1254.5+2210_daily_bin1759.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.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10691E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .12527       1.0000          .0000       .10000E+07
     3 'norm      '    8.5091       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11360E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    10.123       1.0000          .0000       .10000E+07
     6 'Prefactor '    .38020E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .27032       1.0000          .0000       .10000E+07
     8 'norm      '    9.7585       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.019       1.0000          .0000       .10000E+07
    10 'Prefactor '    .17176E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.2916       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24815E-05   1.0000          .0000       .10000E+07
    13 'norm      '    6.8093       1.0000          .0000       .10000E+07
    14 'Prefactor '    .56032E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.879       1.0000          .0000       .10000E+07
    16 'norm      '    .72849E-05   1.0000          .0000       .10000E+07
    17 'norm      '    67.067       1.0000          .0000       .10000E+07
    18 'norm      '    30.843       1.0000          .0000       .10000E+07
    19 'norm      '    .31480E-06   1.0000          .0000       .10000E+07
    20 'norm      '    100.16       1.0000          .0000       .10000E+07
    21 'Prefactor '    6.2235       1.0000          .0000       .10000E+07
    22 'norm      '    .60962E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .28631E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    10.659       1.0000          .0000       .10000E+07
    25 'Normalizat'    .81610       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2655       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=   8957.567     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     1908 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    2.4788       -.24260E-06** at limit **
   2  Prefactor     .13223        5.7707        .15092E-05** at limit **
   3  norm          8.5407        4.9104        .62184E-06    .76354E-03
   4  Prefactor      .0000        2.1859       -.20262E-06** at limit **
   5  Prefactor     10.103        4.3109       -.37537E-07    .11957E-02
   6  Prefactor     .11102E-09    2.2572       -.88336E-06** at limit **
   7  norm          .27038        .22416        .32198E-07   -.18935E-02
   8  norm          9.7323        4.9288       -.28527E-07   -.63479E-04
   9  Prefactor     10.004        1.8675       -.24326E-06   -.30015E-01
  10  Prefactor     .21094E-08    6.9681        .76567E-06** at limit **
  11  Prefactor     4.2911        5.9753        .10565E-06   -.83025E-03
  12  Prefactor     .23315E-07    44.290        .34992E-06** at limit **
  13  norm          6.8373        5.4981        .28708E-06    .73573E-03
  14  Prefactor     .83267E-09    12.539        .15812E-05** at limit **
  15  Prefactor     14.408        31.637       -.56493E-05    .19194E-01
  16  norm           .0000        1.3299        .30542E-06** at limit **
  17  norm          66.984        2.1279       -.13442E-06   -.32478E-01
  18  norm          31.064        6.3983        .73873E-06    .15648E-01
  19  norm          .10547E-08    5.8442        .18716E-06** at limit **
  20  norm          100.14        1.5593       -.63018E-07   -.56111E-01
  21  Prefactor     6.0890        1.9998       -.36319E-06   -.23058E-01
  22  norm           .0000        2.8371       -.55492E-06** at limit **
  23  Prefactor     .55511E-10    4.2586        .22819E-06** at limit **
  24  Prefactor     10.691        4.6113        .86709E-06    .77368E-01
  25  Normalizat    .81637        .21244        .19586E-04    .26671E-04
  26  Prefactor     1.2656        .21147       -.14198E-04   -.57868E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 0.132232
  norm       = 8.54072
  Prefactor  = 0
  Prefactor  = 10.1035
  Prefactor  = 1.11022e-10
  norm       = 0.270377
  norm       = 9.73235
  Prefactor  = 10.0044
  Prefactor  = 2.10942e-09
  Prefactor  = 4.29114
  Prefactor  = 2.33147e-08
  norm       = 6.83727
  Prefactor  = 8.32667e-10
  Prefactor  = 14.4078
  norm       = 0
  norm       = 66.9839
  norm       = 31.0641
  norm       = 1.05471e-09
  norm       = 100.136
  Prefactor  = 6.08897
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 10.6908
  Normalizat = 0.816371
  Prefactor  = 1.26564
 **********
 **   18 **HESSE 
 **********

 FCN=   8957.567     FROM HESSE     STATUS=OK           520 CALLS     2428 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    2.4611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .13223        1.5985        .37924E-02   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.5407        4.9282        .34341E-03   -1.5650    
   4  Prefactor      .0000        2.1867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.103        4.3290        .31469E-03   -1.5644    
   6  Prefactor     .11102E-09    2.2613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27038        .23063        .87836E-03   -1.5698    
   8  norm          9.7323        4.9430        .32054E-03   -1.5646    
   9  Prefactor     10.004        13.532        .31632E-03   -1.5645    
  10  Prefactor     .21094E-08    7.0142        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.2911        5.9956        .48607E-03   -1.5667    
  12  Prefactor     .23315E-07    43.006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.8373        5.7045        .38427E-03   -1.5656    
  14  Prefactor     .83267E-09    12.556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.408        34.867        .25939E-03   -1.5632    
  16  norm           .0000        1.3350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          66.984        15.929        .12212E-03   -1.5544    
  18  norm          31.064        29.273        .18009E-03   -1.5596    
  19  norm          .10547E-08    5.8567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          100.14        12.326        .99926E-04   -1.5508    
  21  Prefactor     6.0890        14.863        .40216E-03   -1.5659    
  22  norm           .0000        2.8532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .55511E-10    4.2786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     10.691        15.842        .30663E-03   -1.5643    
  25  Normalizat    .81637        .18130        .74984E-01   -.99464    
  26  Prefactor     1.2656        .17632        .62884E-01   -.84334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77936e-07
Minuit parameter uncertainties:
  1  5.22653e-05
  2  0.919492
  3  4.92824
  4  8.71868e-06
  5  4.32902
  6  3.15419e-05
  7  0.230632
  8  4.94303
  9  13.5323
  10  0.000244124
  11  5.99557
  12  0.00200356
  13  5.70449
  14  0.000206679
  15  34.867
  16  1.06683e-05
  17  15.9287
  18  29.2731
  19  0.000155554
  20  12.3259
  21  14.8634
  22  1.33518e-07
  23  2.39543e-05
  24  15.8424
  25  0.181438
  26  0.176402
Done.

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

Extracting fit parameters...

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  4.291e+00  5.996e+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

GAL_V02
   Spectrum: PowerLaw
564    Prefactor:  1.266e+00  1.764e-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:  8.164e-01  1.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/558271/likelihoodResults_695260801_695520001_4FGL_J1254.5+2210_daily_bin1759.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) = 8957.38319082
delta logL = 0.18424671789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8957.37880917
delta logL = 0.188628370051

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8717       1.0000          .0000       .10000E+07
     2 'Index     '    1.5263       1.0000          .0000       10.000    
     3 'Normalizat'    .82552       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2625       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=   8957.379     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      224 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8739        355.08        .45550E-03    .57270E-03
   2  Index         1.5270        5.7798        .29515       -.40380E-04
   3  Normalizat    .82550        .10257        .74591E-01   -.22769E-04
   4  Prefactor     1.2625        .77981E-01    .62939E-01    .11717E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.87387
  Index      = 1.52701
  Normalizat = 0.825501
  Prefactor  = 1.26249
 **********
 **   18 **HESSE 
 **********

 FCN=   8957.379     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8739        7.2343        .18220E-04   -1.5664    
   2  Index         1.5270        .89341        .14288E-01   -.76786    
   3  Normalizat    .82550        .20554        .33014E-03   -.99130    
   4  Prefactor     1.2625        .21082        .27835E-03   -.84429    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2465e-11
Minuit parameter uncertainties:
  1  7.2343
  2  0.902859
  3  0.205734
  4  0.210966
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/558271': 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) = 8957.37880888
delta logL = 0.188628653692

Extracting fit parameters...

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  4.874e+00  7.234e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  1.527e+00  9.029e-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.262e+00  2.110e-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:  8.255e-01  2.057e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.11
Ra Dec: 193.637 22.181
Photon Index (Free Index): 1.53 +/- 0.90
Photon Flux (Free Index): 7.54e-09 +/- 1.64e-08
Energy Flux (Free Index): 2.18e-05 +/- 4.10e-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/558271/cmap_HighResolution_695260801_695520001_4FGL_J1254.5+2210_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', comment='SUCCESS', energy_flux2='2.18e-05', dlogl='1.89e-01', photon_flux2='7.54e-09', job_status='DONE', time_completed='2023-01-16 01:26:12.999217', photon_index_error2='0.90', photon_index2='1.53', ts='0.74', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='7.55e-08', energy_flux_error2='4.10e-05', EG='0.82', time_epoch_completed='1673861173.0', return_code='0', job_id='558271', GAL2='1.26', EG2='0.83', return_code2='0', photon_flux_error2='1.64e-08', ts2='1.11', photon_index='2.09' WHERE bin_id='1759' AND source_name='4FGL J1254.5+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:26:13 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 558271: <4FGL_J1254.5+2210_daily_bin1759> in cluster <slac> Done

Job <4FGL_J1254.5+2210_daily_bin1759> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Jan 16 01:10:16 2023
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 01:11:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 01:11:23 2023
Terminated at Mon Jan 16 01:26:13 2023
Results reported at Mon Jan 16 01:26:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.5+2210_daily_bin1759 193.637 22.1808 695260801 695520001 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 :                                   769.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            957 sec.

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

