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


Performing analysis on: 4FGL_J1254.2-2205_daily_bin1714
RA = 193.552, Dec = -22.0872
tmin = 683596801, tmax = 683856001
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='123369', job_status='RUN', time_executed='2022-09-16 17:03:58.230808', time_epoch_executed='1663373038.23' WHERE source_name='4FGL J1254.2-2205' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/123369

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/123369/ft1_4FGL_J1254.2-2205_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/123369/ft2_4FGL_J1254.2-2205_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/123369/ft1_4FGL_J1254.2-2205_daily_bin1714.fits outfile=/scratch/kocevski/123369/ft1_filteredMKT_4FGL_J1254.2-2205_daily_bin1714.fits ra=193.552 dec=-22.0872 rad=12.0 tmin=683596801.0 tmax=683856001.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.54
user 3.29
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/123369/ft2_4FGL_J1254.2-2205_daily_bin1714.fits

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

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

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

Number of photons that the gtmktime cut: 734

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/123369/ft1_filtered_4FGL_J1254.2-2205_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/123369/ft2_4FGL_J1254.2-2205_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/123369/ltcube_683596801_683856001_4FGL_J1254.2-2205_daily_bin1714.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/123369/ft2_4FGL_J1254.2-2205_daily_bin1714.fits
.....................!
real 14.83
user 14.45
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/123369/ft1_filtered_4FGL_J1254.2-2205_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/123369/ft2_4FGL_J1254.2-2205_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/123369/ltcube_683596801_683856001_4FGL_J1254.2-2205_daily_bin1714.fits outfile=/scratch/kocevski/123369/expmap_683596801_683856001_4FGL_J1254.2-2205_daily_bin1714.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/123369/ltcube_683596801_683856001_4FGL_J1254.2-2205_daily_bin1714.fits
.....................!
real 192.36
user 186.43
sys 5.46

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

Setting source of interest to:
4FGL J1254.2-2205 @ 193.552 -22.0872

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/123369/ft1_filtered_4FGL_J1254.2-2205_daily_bin1714.fits scfile=/scratch/kocevski/123369/ft2_4FGL_J1254.2-2205_daily_bin1714.fits outfile=/scratch/kocevski/123369/cmap_683596801_683856001_4FGL_J1254.2-2205_daily_bin1714.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.552 yref=-22.0872 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/123369/ft1_filtered_4FGL_J1254.2-2205_daily_bin1714.fits scfile=/scratch/kocevski/123369/ft2_4FGL_J1254.2-2205_daily_bin1714.fits outfile=/scratch/kocevski/123369/cmap_HighResolution_683596801_683856001_4FGL_J1254.2-2205_daily_bin1714.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.552 yref=-22.0872 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.37
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/123369/ft1_filtered_4FGL_J1254.2-2205_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/123369/ft2_4FGL_J1254.2-2205_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/123369/Model_4FGL_J1254.2-2205_daily_bin1714.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/123369/ft1_filtered_4FGL_J1254.2-2205_daily_bin1714.fits.....................!
real 65.88
user 64.36
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/123369/ft1_filtered_4FGL_J1254.2-2205_daily_bin1714.fits', '/scratch/kocevski/123369/ft2_4FGL_J1254.2-2205_daily_bin1714.fits', expMap='/scratch/kocevski/123369/expmap_683596801_683856001_4FGL_J1254.2-2205_daily_bin1714.fits', expCube='/scratch/kocevski/123369/ltcube_683596801_683856001_4FGL_J1254.2-2205_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/123369/Model_4FGL_J1254.2-2205_daily_bin1714.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.2-2205'

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  8.803e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
284        Index:  2.191e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  2.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/123369/ft1_filtered_4FGL_J1254.2-2205_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/123369/ft2_4FGL_J1254.2-2205_daily_bin1714.fits
Exposure map: /scratch/kocevski/123369/expmap_683596801_683856001_4FGL_J1254.2-2205_daily_bin1714.fits
Exposure cube: /scratch/kocevski/123369/ltcube_683596801_683856001_4FGL_J1254.2-2205_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/123369/Model_4FGL_J1254.2-2205_daily_bin1714.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) = 7961.11421604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74754       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10197E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .19614E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .77954E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.9015       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.200       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.1058       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.9492       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.385       1.0000          .0000       .10000E+07
    10 'norm      '     .0000       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17200E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .34127E-05   1.0000          .0000       .10000E+07
    13 'norm      '    10.237       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.7067       1.0000          .0000       .10000E+07
    15 'norm      '    5.5232       1.0000          .0000       .10000E+07
    16 'norm      '    1.3676       1.0000          .0000       .10000E+07
    17 'Prefactor '    .29755E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .79977       1.0000          .0000       .10000E+07
    19 'Prefactor '    .10282E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    5.5251       1.0000          .0000       .10000E+07
    21 'Prefactor '    12.232       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.3497       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90112       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7961.076     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1815 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .74515        9.0837       -.11834E-06   -.33017E-01
   2  Prefactor     .22373E-05    17.725       -.18611E-06** at limit **
   3  Prefactor     .12212E-07    5.5040        .28234E-06** at limit **
   4  Prefactor     .95490E-06    51.281        .24256E-06** at limit **
   5  Prefactor     4.9115        10.363        .94774E-07    .35759E-01
   6  Prefactor     13.221        7.8291       -.60142E-07   -.22940E-02
   7  Prefactor     3.1072        1.8726        .15052E-06    .26516E-04
   8  Prefactor     1.9580        12.660       -.19308E-06    .15966E-05
   9  Prefactor     13.311        2.4960        .29037E-07    .11857E-01
  10  norm           .0000        .25252       -.73264E-07** at limit **
  11  Prefactor     .14833E-05    38.162        .24638E-06** at limit **
  12  norm          .26146E-07    7.1155       -.30411E-06** at limit **
  13  norm          10.218        8.2974       -.70946E-07    .78505E-02
  14  Prefactor     4.7528        8.8367        .62383E-07   -.59518E-02
  15  norm          5.5180        4.7069        .35189E-07    .66316E-03
  16  norm          1.3675        1.7115        .78802E-07    .22004E-02
  17  Prefactor     .70999E-07    3.8837        .12325E-06** at limit **
  18  Prefactor     .59991        1.4015        .50310E-07    .10929E-02
  19  Prefactor     .31924E-05    17.077       -.33433E-06** at limit **
  20  Prefactor     5.4622        6.0427        .10897E-06    .28165E-01
  21  Prefactor     12.299        2.7010        .41746E-07    .67010E-02
  22  Normalizat    1.3499        .27253       -.10224E-05   -.63312E-04
  23  Prefactor     .90111        .12713       -.39525E-06   -.10225E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.745154
  Prefactor  = 2.23732e-06
  Prefactor  = 1.22125e-08
  Prefactor  = 9.54903e-07
  Prefactor  = 4.91153
  Prefactor  = 13.2208
  Prefactor  = 3.10721
  Prefactor  = 1.95805
  Prefactor  = 13.3109
  norm       = 0
  Prefactor  = 1.48326e-06
  norm       = 2.61458e-08
  norm       = 10.2176
  Prefactor  = 4.75281
  norm       = 5.51802
  norm       = 1.36747
  Prefactor  = 7.09988e-08
  Prefactor  = 0.599908
  Prefactor  = 3.19239e-06
  Prefactor  = 5.4622
  Prefactor  = 12.299
  Normalizat = 1.34994
  Prefactor  = 0.901109
 **********
 **   18 **HESSE 
 **********

 FCN=   7961.076     FROM HESSE     STATUS=OK           420 CALLS     2235 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .74515        11.252        .56930E-03   -1.5691    
   2  Prefactor     .22373E-05    22.847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .12212E-07    8.0477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .95490E-06    53.906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.9115        14.556        .45408E-03   -1.5664    
   6  Prefactor     13.221        8.1383        .27544E-03   -1.5635    
   7  Prefactor     3.1072        1.8744        .57523E-02   -1.5355    
   8  Prefactor     1.9580        12.833        .74305E-03   -1.5680    
   9  Prefactor     13.311        12.702        .27353E-03   -1.5635    
  10  norm           .0000        .25117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .14833E-05    41.614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .26146E-07    7.4041        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.218        8.4385        .31291E-03   -1.5644    
  14  Prefactor     4.7528        9.0071        .46359E-03   -1.5664    
  15  norm          5.5180        4.7064        .42727E-03   -1.5661    
  16  norm          1.3675        1.7384        .93240E-03   -1.5685    
  17  Prefactor     .70999E-07    8.0527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .59991        89.404        .52952E-03   -1.5692    
  19  Prefactor     .31924E-05    24.413        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.4622        14.167        .42720E-03   -1.5661    
  21  Prefactor     12.299        16.007        .28616E-03   -1.5638    
  22  Normalizat    1.3499        .23304        .76648E-01   -.82088    
  23  Prefactor     .90111        .10716        .45019E-01   -.96102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.66657e-07
Minuit parameter uncertainties:
  1  5.79128
  2  0.014299
  3  0.000627088
  4  0.0143496
  5  14.5561
  6  8.13833
  7  1.8744
  8  10.0257
  9  12.7017
  10  2.29856e-06
  11  0.015713
  12  0.000880302
  13  8.43849
  14  9.0071
  15  4.70639
  16  1.73845
  17  0.00151246
  18  14.6473
  19  0.0176563
  20  14.1669
  21  16.0067
  22  0.233221
  23  0.107188
Done.

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

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  1.483e-06  1.571e-02  0.000e+00  1.000e+06 ( 1.000e-14)
284        Index:  2.191e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  2.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  9.011e-01  1.072e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
605   Normalization:  1.350e+00  2.332e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 193.552 -22.087
Photon Flux Upper Limit: 8.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/123369/likelihoodResults_683596801_683856001_4FGL_J1254.2-2205_daily_bin1714.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) = 7961.08749474
delta logL = -0.0115159869874

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7961.07597903
delta logL = -2.79552295979e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7961.076     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      211 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    32.498        .85728E-06** at limit **
   2  Index         1.3826        5.9626        .74753E-04   -.90108E-11
   3  Normalizat    1.3499        .26669       -.34481E-06    .12896E-03
   4  Prefactor     .90111        .12502       -.55208E-06    .21035E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 1.38261
  Normalizat = 1.34994
  Prefactor  = 0.901109
 **********
 **   18 **HESSE 
 **********

 FCN=   7961.076     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      244 TOTAL
                     EDM=   .74E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    2.3717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3826        5.5108        .39872       -.80883    
   3  Normalizat    1.3499        .16009E-02    .76648E-01   -.82088    
   4  Prefactor     .90111        .74819E-03    .45019E-01   -.96102    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.35121e-13
Minuit parameter uncertainties:
  1  3.75575e-05
  2  83152.8
  3  0.00160087
  4  0.000748195
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/123369': 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) = 7961.07597873
delta logL = 1.78060872713e-08

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  1.665e-10  3.756e-05  0.000e+00  1.000e+06 ( 1.000e-14)
284        Index:  1.383e+00  8.315e+04  0.000e+00  1.000e+01 (-1.000e+00)
285        Scale:  2.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  9.011e-01  7.482e-04  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
605   Normalization:  1.350e+00  1.601e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 193.552 -22.087

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/123369/cmap_HighResolution_683596801_683856001_4FGL_J1254.2-2205_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.18e-03', job_status='DONE', photon_flux_upper_limit='8.12e-08', time_completed='2022-09-16 17:16:01.592748', job_id='123369', GAL2='0.90', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1663373761.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.78e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1714' AND source_name='4FGL J1254.2-2205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:16:01 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 123369: <4FGL_J1254.2-2205_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1254.2-2205_daily_bin1714> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 17:00:22 2022
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:01:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:01:52 2022
Terminated at Fri Sep 16 17:16:02 2022
Results reported at Fri Sep 16 17:16:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.2-2205_daily_bin1714 193.552 -22.0872 683596801 683856001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1254.2-2205 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   724.51 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            940 sec.

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

