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


Performing analysis on: 4FGL_J1254.5+2210_daily_bin1764
RA = 193.637, Dec = 22.1808
tmin = 696556801, tmax = 696816001
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='446454', job_status='RUN', time_executed='2023-01-31 00:51:28.001458', time_epoch_executed='1675155088.0' WHERE source_name='4FGL J1254.5+2210' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/446454

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/446454/ft1_4FGL_J1254.5+2210_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/446454/ft2_4FGL_J1254.5+2210_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/446454/ft1_4FGL_J1254.5+2210_daily_bin1764.fits outfile=/scratch/kocevski/446454/ft1_filteredMKT_4FGL_J1254.5+2210_daily_bin1764.fits ra=193.637 dec=22.1808 rad=12.0 tmin=696556801.0 tmax=696816001.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.73
user 3.50
sys 0.20

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

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

Number of photons that the gtmktime cut: 687

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/446454/ft1_filtered_4FGL_J1254.5+2210_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/446454/ft2_4FGL_J1254.5+2210_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/446454/ltcube_696556801_696816001_4FGL_J1254.5+2210_daily_bin1764.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/446454/ft2_4FGL_J1254.5+2210_daily_bin1764.fits
.....................!
real 14.92
user 14.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/446454/ft1_filtered_4FGL_J1254.5+2210_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/446454/ft2_4FGL_J1254.5+2210_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/446454/ltcube_696556801_696816001_4FGL_J1254.5+2210_daily_bin1764.fits outfile=/scratch/kocevski/446454/expmap_696556801_696816001_4FGL_J1254.5+2210_daily_bin1764.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/446454/ltcube_696556801_696816001_4FGL_J1254.5+2210_daily_bin1764.fits
.....................!
real 191.33
user 185.20
sys 5.43

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/446454/ft1_filtered_4FGL_J1254.5+2210_daily_bin1764.fits scfile=/scratch/kocevski/446454/ft2_4FGL_J1254.5+2210_daily_bin1764.fits outfile=/scratch/kocevski/446454/cmap_696556801_696816001_4FGL_J1254.5+2210_daily_bin1764.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/446454/ft1_filtered_4FGL_J1254.5+2210_daily_bin1764.fits scfile=/scratch/kocevski/446454/ft2_4FGL_J1254.5+2210_daily_bin1764.fits outfile=/scratch/kocevski/446454/cmap_HighResolution_696556801_696816001_4FGL_J1254.5+2210_daily_bin1764.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.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52044E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .67226E-05   1.0000          .0000       .10000E+07
     3 'norm      '    4.1515       1.0000          .0000       .10000E+07
     4 'Prefactor '    .95138E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.8327       1.0000          .0000       .10000E+07
     6 'Prefactor '    .82381E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .54605       1.0000          .0000       .10000E+07
     8 'norm      '    14.948       1.0000          .0000       .10000E+07
     9 'Prefactor '    11.174       1.0000          .0000       .10000E+07
    10 'Prefactor '    .65463E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .17585E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .57412E-02   1.0000          .0000       .10000E+07
    13 'norm      '    4.1067       1.0000          .0000       .10000E+07
    14 'Prefactor '    .96014E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .89772E-04   1.0000          .0000       .10000E+07
    16 'norm      '    3.0477       1.0000          .0000       .10000E+07
    17 'norm      '    41.513       1.0000          .0000       .10000E+07
    18 'norm      '    20.187       1.0000          .0000       .10000E+07
    19 'norm      '    7.1954       1.0000          .0000       .10000E+07
    20 'norm      '    47.703       1.0000          .0000       .10000E+07
    21 'Prefactor '    22.074       1.0000          .0000       .10000E+07
    22 'norm      '    .79655E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .80247       1.0000          .0000       .10000E+07
    24 'Prefactor '    .14492E-01   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.5123       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .85495       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=   7612.446     FROM MIGRAD    STATUS=CONVERGED    217 CALLS     1871 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40579E-07    9.4464        .53937E-06** at limit **
   2  Prefactor     .55511E-10    2.0158       -.79836E-07** at limit **
   3  norm          4.1475        2.9660        .92086E-07    .12848E-02
   4  Prefactor      .0000        1.3359        .11201E-06** at limit **
   5  Prefactor     5.8311        2.8745        .65765E-07    .74730E-03
   6  Prefactor     .37476E-06    7.1813        .78370E-07** at limit **
   7  norm          .54536        .26980        .15154E-07    .58552E-03
   8  norm          14.927        5.8748       -.86599E-07   -.11993E-02
   9  Prefactor     11.170        9.5938        .70231E-07   -.11044E-03
  10  Prefactor     .21011E-06    7.6683       -.43852E-06** at limit **
  11  Prefactor     .55511E-10    2.9472        .70679E-07** at limit **
  12  Prefactor     .24980E-08    7.3871        .30385E-06** at limit **
  13  norm          4.0784        6.8417        .66522E-07   -.49820E-03
  14  Prefactor     .28944E-06    9.7756        .59584E-07** at limit **
  15  Prefactor     .78271E-08    66.787        .11972E-05** at limit **
  16  norm          3.0334        3.1419        .49246E-07    .96504E-04
  17  norm          41.767        13.985       -.26364E-06    .73965E-02
  18  norm          19.775        21.260        .60405E-06   -.11247E-01
  19  norm          7.3334        5.7074       -.24609E-06   -.73120E-02
  20  norm          47.822        11.590        .16984E-06   -.61753E-03
  21  Prefactor     20.252        31.794       -.12936E-05    .39506E-02
  22  norm          .77716E-09    5.8871       -.19113E-06** at limit **
  23  Prefactor     .13924        533.79        .65152E-05** at limit **
  24  Prefactor     .18524E-06    11.308       -.40119E-06** at limit **
  25  Normalizat    1.5120        .24981       -.76100E-05   -.17859E-03
  26  Prefactor     .85648        .23145        .43796E-05   -.10891E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.05787e-08
  Prefactor  = 5.55112e-11
  norm       = 4.14753
  Prefactor  = 0
  Prefactor  = 5.83108
  Prefactor  = 3.74756e-07
  norm       = 0.545356
  norm       = 14.9273
  Prefactor  = 11.17
  Prefactor  = 2.1011e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 2.498e-09
  norm       = 4.07844
  Prefactor  = 2.89435e-07
  Prefactor  = 7.82707e-09
  norm       = 3.03341
  norm       = 41.7669
  norm       = 19.7753
  norm       = 7.3334
  norm       = 47.8218
  Prefactor  = 20.2517
  norm       = 7.77156e-10
  Prefactor  = 0.139241
  Prefactor  = 1.85241e-07
  Normalizat = 1.51199
  Prefactor  = 0.856484
 **********
 **   18 **HESSE 
 **********

 FCN=   7612.446     FROM HESSE     STATUS=OK           520 CALLS     2391 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40579E-07    9.4486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    2.0051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.1475        2.9719        .49445E-03   -1.5667    
   4  Prefactor      .0000        1.3308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.8311        2.8731        .41561E-03   -1.5660    
   6  Prefactor     .37476E-06    10.757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .54536        .27261        .68325E-03   -1.5693    
   8  norm          14.927        5.8679        .25880E-03   -1.5631    
   9  Prefactor     11.170        9.6013        .29946E-03   -1.5641    
  10  Prefactor     .21011E-06    9.6944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    2.9451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .24980E-08    7.4102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.0784        6.8753        .49722E-03   -1.5668    
  14  Prefactor     .28944E-06    12.592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .78271E-08    66.937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.0334        3.1586        .58091E-03   -1.5673    
  17  norm          41.767        14.199        .15522E-03   -1.5579    
  18  norm          19.775        21.814        .22264E-03   -1.5619    
  19  norm          7.3334        24.001        .37371E-03   -1.5654    
  20  norm          47.822        11.913        .14480E-03   -1.5570    
  21  Prefactor     20.252        31.949        .21290E-03   -1.5618    
  22  norm          .77716E-09    5.8894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .13924        20.368        .92778E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .18524E-06    13.186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.5120        .20680        .61490E-01   -.77442    
  26  Prefactor     .85648        .19350        .76135E-01   -.97679    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92234e-07
Minuit parameter uncertainties:
  1  0.00123809
  2  1.84877e-05
  3  2.97193
  4  3.10928e-06
  5  2.87306
  6  0.00401562
  7  0.272609
  8  5.86794
  9  9.60128
  10  0.00285434
  11  2.78523e-05
  12  0.000272634
  13  6.87529
  14  0.00381814
  15  0.00144806
  16  3.15861
  17  14.1994
  18  21.8138
  19  24.0018
  20  11.9126
  21  31.9491
  22  0.000136305
  23  3.36811
  24  0.00312572
  25  0.206919
  26  0.193653
Done.

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

Extracting fit parameters...

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  5.551e-11  2.785e-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:  8.565e-01  1.937e-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.512e+00  2.069e-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: 5.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/446454/likelihoodResults_696556801_696816001_4FGL_J1254.5+2210_daily_bin1764.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) = 7612.44678406
delta logL = -0.000387231561945

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7612.44639715
delta logL = -3.20508661389e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49999E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .76065       1.0000          .0000       10.000    
     3 'Normalizat'    1.5120       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85649       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=   7611.519     FROM MIGRAD    STATUS=CONVERGED    235 CALLS      428 TOTAL
                     EDM=   .65E-06  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15987E-07    .63199E-07     .0000    ** at limit **
   2  Index        10.0000        6.5480         .0000    ** at limit **
   3  Normalizat    1.4295        .27664         .0000        .72766E-02
   4  Prefactor     .91258        .28569         .0000        .45827E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.59872e-08
  Index      = 10
  Normalizat = 1.4295
  Prefactor  = 0.912579
 **********
 **   18 **HESSE 
 **********

 FCN=   7611.519     FROM HESSE     STATUS=OK            41 CALLS      469 TOTAL
                     EDM=   .22E+01    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15987E-07    .18152E-07    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .74185        .43203        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.4295        .20103        .62891E-01   -.79779    
   4  Prefactor     .91258        .19288        .74074E-01   -.95703    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20735
Minuit parameter uncertainties:
  1  1.81478e-08
  2  8.56729e-05
  3  0.201146
  4  0.193027
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/446454': 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) = 7611.51888123
delta logL = 0.927515599886

Extracting fit parameters...

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  1.599e-08  1.815e-08  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  1.000e+01  8.567e-05  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:  9.126e-01  1.930e-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.430e+00  2.011e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.94
Ra Dec: 193.637 22.181
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 7.17e-08 +/- 7.88e-08
Energy Flux (Free Index): 8.01e-06 +/- 8.86e-06

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/446454/cmap_HighResolution_696556801_696816001_4FGL_J1254.5+2210_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', comment='SUCCESS', energy_flux2='8.01e-06', dlogl='9.28e-01', photon_flux2='7.17e-08', job_status='DONE', time_completed='2023-01-31 01:03:15.869682', photon_index_error2='0.00', photon_index2='10.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='5.33e-08', energy_flux_error2='8.86e-06', EG='1.51', time_epoch_completed='1675155795.87', return_code='0', job_id='446454', GAL2='0.91', EG2='1.43', return_code2='0', photon_flux_error2='7.88e-08', ts2='1.94', photon_index='2.09' WHERE bin_id='1764' AND source_name='4FGL J1254.5+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 01:03:15 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 446454: <4FGL_J1254.5+2210_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1254.5+2210_daily_bin1764> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Jan 31 00:50:17 2023
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:50:36 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:50:36 2023
Terminated at Tue Jan 31 01:03:16 2023
Results reported at Tue Jan 31 01:03:16 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.5+2210_daily_bin1764 193.637 22.1808 696556801 696816001 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 :                                   709.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             357.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            779 sec.

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

