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 82 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1684
RA = 344.025, Dec = -27.6739
tmin = 675820801, tmax = 676080001
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='192963', job_status='RUN', time_executed='2022-06-05 00:46:00.329996', time_epoch_executed='1654415160.33' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1684'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/192963

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/192963/ft1_4FGL_J2256.0-2740_daily_bin1684.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/192963/ft2_4FGL_J2256.0-2740_daily_bin1684.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/192963/ft1_4FGL_J2256.0-2740_daily_bin1684.fits outfile=/scratch/kocevski/192963/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1684.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=675820801.0 tmax=676080001.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 4.45
user 4.21
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/192963/ft2_4FGL_J2256.0-2740_daily_bin1684.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/192963/ft2_4FGL_J2256.0-2740_daily_bin1684.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/192963/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1684.fits evtable="EVENTS" outfile="/scratch/kocevski/192963/ft1_filtered_4FGL_J2256.0-2740_daily_bin1684.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.32
sys 0.17

Number of photons that the gtmktime cut: 721

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/192963/ft1_filtered_4FGL_J2256.0-2740_daily_bin1684.fits" evtable="EVENTS" scfile=/scratch/kocevski/192963/ft2_4FGL_J2256.0-2740_daily_bin1684.fits sctable="SC_DATA" outfile=/scratch/kocevski/192963/ltcube_675820801_676080001_4FGL_J2256.0-2740_daily_bin1684.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/192963/ft2_4FGL_J2256.0-2740_daily_bin1684.fits
.....................!
real 13.70
user 13.34
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/192963/ft1_filtered_4FGL_J2256.0-2740_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/192963/ft2_4FGL_J2256.0-2740_daily_bin1684.fits sctable="SC_DATA" expcube=/scratch/kocevski/192963/ltcube_675820801_676080001_4FGL_J2256.0-2740_daily_bin1684.fits outfile=/scratch/kocevski/192963/expmap_675820801_676080001_4FGL_J2256.0-2740_daily_bin1684.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/192963/ltcube_675820801_676080001_4FGL_J2256.0-2740_daily_bin1684.fits
.....................!
real 192.26
user 186.25
sys 5.41

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

Setting source of interest to:
4FGL J2256.0-2740 @ 344.025 -27.6739

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/192963/ft1_filtered_4FGL_J2256.0-2740_daily_bin1684.fits scfile=/scratch/kocevski/192963/ft2_4FGL_J2256.0-2740_daily_bin1684.fits outfile=/scratch/kocevski/192963/cmap_675820801_676080001_4FGL_J2256.0-2740_daily_bin1684.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=344.025 yref=-27.6739 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/192963/ft1_filtered_4FGL_J2256.0-2740_daily_bin1684.fits scfile=/scratch/kocevski/192963/ft2_4FGL_J2256.0-2740_daily_bin1684.fits outfile=/scratch/kocevski/192963/cmap_HighResolution_675820801_676080001_4FGL_J2256.0-2740_daily_bin1684.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=344.025 yref=-27.6739 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/192963/ft1_filtered_4FGL_J2256.0-2740_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/192963/ft2_4FGL_J2256.0-2740_daily_bin1684.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/192963/Model_4FGL_J2256.0-2740_daily_bin1684.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/192963/ft1_filtered_4FGL_J2256.0-2740_daily_bin1684.fits.....................!
real 56.17
user 54.79
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/192963/ft1_filtered_4FGL_J2256.0-2740_daily_bin1684.fits', '/scratch/kocevski/192963/ft2_4FGL_J2256.0-2740_daily_bin1684.fits', expMap='/scratch/kocevski/192963/expmap_675820801_676080001_4FGL_J2256.0-2740_daily_bin1684.fits', expCube='/scratch/kocevski/192963/ltcube_675820801_676080001_4FGL_J2256.0-2740_daily_bin1684.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/192963/Model_4FGL_J2256.0-2740_daily_bin1684.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2256.0-2740'

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  5.060e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/192963/ft1_filtered_4FGL_J2256.0-2740_daily_bin1684.fits
Spacecraft file(s): /scratch/kocevski/192963/ft2_4FGL_J2256.0-2740_daily_bin1684.fits
Exposure map: /scratch/kocevski/192963/expmap_675820801_676080001_4FGL_J2256.0-2740_daily_bin1684.fits
Exposure cube: /scratch/kocevski/192963/ltcube_675820801_676080001_4FGL_J2256.0-2740_daily_bin1684.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/192963/Model_4FGL_J2256.0-2740_daily_bin1684.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) = 7750.07570132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.8433       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.845       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .74711       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.409       1.0000         .10000E-03   10000.    
     9 'norm      '    4.1704       1.0000         .10000E-03   10000.    
    10 'Prefactor '    40.761       1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.788       1.0000         .10000E-03   10000.    
    12 'norm      '    1.1671       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.1489       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8136       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.558       1.0000         .10000E-03   10000.    
    16 'norm      '    11.120       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.1017       1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.832       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .55552       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1493       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7749.967     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2046 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.9493        .17997E-06** at limit **
   2  Prefactor     5.8431        6.2152       -.39309E-06   -.23931E-03
   3  norm          .10000E-03    3.7232       -.80163E-07** at limit **
   4  Prefactor     23.845        15.278        .81919E-06    .50989E-04
   5  Prefactor     .10000E-03    3.8090       -.12121E-06** at limit **
   6  norm          .74478        1.4134       -.31716E-06   -.16152E-02
   7  Prefactor     .10000E-03    39.477        .16509E-05** at limit **
   8  Prefactor     21.410        10.028        .52906E-06   -.64654E-03
   9  norm          4.1697        4.9488       -.23404E-05   -.84869E-03
  10  Prefactor     40.762        22.165       -.82847E-07   -.44142E-05
  11  Prefactor     20.785        14.720       -.34329E-05    .10029E-03
  12  norm          1.1677        .94658        .15503E-05    .19032E-02
  13  Prefactor     6.0930        78.097       -.15100E-03    .11906E-04
  14  Prefactor     2.8126        8.5210       -.48187E-05   -.28717E-03
  15  Prefactor     13.554        10.140       -.76271E-05   -.21121E-03
  16  norm          11.120        6.6387       -.35181E-06    .47692E-04
  17  Prefactor     .10000E-03    8.6142       -.38618E-06** at limit **
  18  norm          2.1017        1.7424       -.25320E-06   -.13145E-03
  19  Prefactor     17.831        18.248       -.12736E-05    .49558E-05
  20  Prefactor     .10000E-03    78.749        .14968E-05** at limit **
  21  Normalizat    .55556        .15574        .87220E-05   -.23207E-04
  22  Prefactor     1.1493        .15175        .31732E-06    .32022E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.84305
  norm       = 0.0001
  Prefactor  = 23.8454
  Prefactor  = 0.0001
  norm       = 0.744781
  Prefactor  = 0.0001
  Prefactor  = 21.4098
  norm       = 4.16967
  Prefactor  = 40.7618
  Prefactor  = 20.7851
  norm       = 1.16774
  Prefactor  = 6.09302
  Prefactor  = 2.81256
  Prefactor  = 13.5537
  norm       = 11.1197
  Prefactor  = 0.0001
  norm       = 2.10171
  Prefactor  = 17.8311
  Prefactor  = 0.0001
  Normalizat = 0.55556
  Prefactor  = 1.14929
 **********
 **   18 **HESSE 
 **********

 FCN=   7749.967     FROM HESSE     STATUS=OK           352 CALLS     2398 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.0089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.8431        6.2166        .16614E-03   -1.5224    
   3  norm          .10000E-03    3.7250        .16590E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.845        15.275        .82030E-04   -1.4731    
   5  Prefactor     .10000E-03    3.8364        .16774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .74478        1.1902        .13843E-02   -1.5535    
   7  Prefactor     .10000E-03    39.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     21.410        10.037        .43283E-03   -1.4782    
   9  norm          4.1697        4.8984        .17758E-03   -1.5300    
  10  Prefactor     40.762        22.166        .62786E-04   -1.4430    
  11  Prefactor     20.785        14.774        .87848E-04   -1.4796    
  12  norm          1.1677        .90958        .51578E-04   -1.5492    
  13  Prefactor     6.0930        77.891        .16190E-03   -1.5214    
  14  Prefactor     2.8126        8.5282        .24250E-03   -1.5373    
  15  Prefactor     13.554        10.113        .10878E-03   -1.4971    
  16  norm          11.120        6.6392        .12014E-03   -1.5041    
  17  Prefactor     .10000E-03    8.6182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.1017        1.7448        .10162E-03   -1.5418    
  19  Prefactor     17.831        18.257        .94847E-04   -1.4863    
  20  Prefactor     .10000E-03    78.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .55556        .18177        .29050E-03   -1.0991    
  22  Prefactor     1.1493        .17824        .21172E-03   -.87906    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02175e-09
Minuit parameter uncertainties:
  1  8.07417e-05
  2  6.21733
  3  3.15356e-06
  4  15.277
  5  2.86606e-05
  6  1.19027
  7  6.82193e-05
  8  10.0378
  9  4.89889
  10  22.1705
  11  14.7768
  12  0.909591
  13  43.64
  14  8.53183
  15  10.1142
  16  6.63969
  17  1.12856e-05
  18  1.74487
  19  18.2624
  20  0.000388959
  21  0.181969
  22  0.178329
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.079e+01  1.478e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  1.149e+00  1.783e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  5.556e-01  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.36
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 1.42e-07 +/- 1.01e-07
Energy Flux (Fixed Index): 2.81e-05 +/- 1.99e-05

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) = 7749.83495141
delta logL = 0.13200128793

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7749.8195007
delta logL = 0.147452003257

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.193       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7659       1.0000          .0000       10.000    
     3 'Normalizat'    .56599       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1394       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7749.820     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      202 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.193        11.863        .21256E-02   -.31527E-03
   2  Index         2.7660        .48564        .18345       -.50644E-04
   3  Normalizat    .56601        .14818        .65070E-01    .39847E-04
   4  Prefactor     1.1394        .14945        .36250E-01    .17748E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.1927
  Index      = 2.76604
  Normalizat = 0.566007
  Prefactor  = 1.13943
 **********
 **   18 **HESSE 
 **********

 FCN=   7749.820     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.193        9.2558        .85025E-04   -1.4765    
   2  Index         2.7660        .43081        .71395E-02   -.46318    
   3  Normalizat    .56601        .17363        .28795E-03   -1.0945    
   4  Prefactor     1.1394        .17473        .21241E-03   -.88216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.04204e-10
Minuit parameter uncertainties:
  1  9.25644
  2  0.431483
  3  0.1738
  4  0.174821
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/192963': 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) = 7749.81950067
delta logL = 0.147452034861

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.219e+01  9.256e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.766e+00  4.315e-01  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  1.139e+00  1.748e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  5.660e-01  1.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.60
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 2.77 +/- 0.43
Photon Flux (Free Index): 1.39e-07 +/- 5.85e-08
Energy Flux (Free Index): 3.19e-05 +/- 1.50e-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/192963/cmap_HighResolution_675820801_676080001_4FGL_J2256.0-2740_daily_bin1684.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.42e-07', energy_flux2='3.19e-05', photon_flux_error='1.01e-07', dlogl='1.47e-01', energy_flux='2.81e-05', photon_flux2='1.39e-07', job_status='DONE', time_completed='2022-06-05 00:56:14.505430', photon_index_error2='0.43', photon_index2='2.77', ts='6.36', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='1.50e-05', EG='0.56', time_epoch_completed='1654415774.51', return_code='0', job_id='192963', GAL2='1.14', EG2='0.57', return_code2='0', energy_flux_error='1.99e-05', photon_flux_error2='5.85e-08', ts2='7.60', photon_index='3.02' WHERE bin_id='1684' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun  5 00:56:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 192963: <4FGL_J2256.0-2740_daily_bin1684> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1684> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jun  5 00:40:44 2022
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun  5 00:44:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun  5 00:44:30 2022
Terminated at Sun Jun  5 00:56:15 2022
Results reported at Sun Jun  5 00:56:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1684 344.025 -27.6739 675820801 676080001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2256.0-2740 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   615.48 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             326.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   704 sec.
    Turnaround time :                            931 sec.

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

