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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1695
RA = 344.025, Dec = -27.6739
tmin = 678672001, tmax = 678931201
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='731277', job_status='RUN', time_executed='2022-07-08 00:38:04.453894', time_epoch_executed='1657265884.45' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/731277

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/731277/ft1_4FGL_J2256.0-2740_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/731277/ft2_4FGL_J2256.0-2740_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/731277/ft1_4FGL_J2256.0-2740_daily_bin1695.fits outfile=/scratch/kocevski/731277/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1695.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=678672001.0 tmax=678931201.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.61
user 3.39
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/731277/ft2_4FGL_J2256.0-2740_daily_bin1695.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/731277/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1695.fits evtable="EVENTS" outfile="/scratch/kocevski/731277/ft1_filtered_4FGL_J2256.0-2740_daily_bin1695.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 408

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/731277/ft1_filtered_4FGL_J2256.0-2740_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/731277/ft2_4FGL_J2256.0-2740_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/731277/ltcube_678672001_678931201_4FGL_J2256.0-2740_daily_bin1695.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/731277/ft2_4FGL_J2256.0-2740_daily_bin1695.fits
.....................!
real 11.82
user 11.48
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/731277/ft1_filtered_4FGL_J2256.0-2740_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731277/ft2_4FGL_J2256.0-2740_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/731277/ltcube_678672001_678931201_4FGL_J2256.0-2740_daily_bin1695.fits outfile=/scratch/kocevski/731277/expmap_678672001_678931201_4FGL_J2256.0-2740_daily_bin1695.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/731277/ltcube_678672001_678931201_4FGL_J2256.0-2740_daily_bin1695.fits
.....................!
real 191.76
user 186.21
sys 5.20

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/731277/ft1_filtered_4FGL_J2256.0-2740_daily_bin1695.fits scfile=/scratch/kocevski/731277/ft2_4FGL_J2256.0-2740_daily_bin1695.fits outfile=/scratch/kocevski/731277/cmap_678672001_678931201_4FGL_J2256.0-2740_daily_bin1695.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/731277/ft1_filtered_4FGL_J2256.0-2740_daily_bin1695.fits scfile=/scratch/kocevski/731277/ft2_4FGL_J2256.0-2740_daily_bin1695.fits outfile=/scratch/kocevski/731277/cmap_HighResolution_678672001_678931201_4FGL_J2256.0-2740_daily_bin1695.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/731277/ft1_filtered_4FGL_J2256.0-2740_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731277/ft2_4FGL_J2256.0-2740_daily_bin1695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/731277/Model_4FGL_J2256.0-2740_daily_bin1695.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/731277/ft1_filtered_4FGL_J2256.0-2740_daily_bin1695.fits.....................!
real 40.20
user 38.80
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/731277/ft1_filtered_4FGL_J2256.0-2740_daily_bin1695.fits', '/scratch/kocevski/731277/ft2_4FGL_J2256.0-2740_daily_bin1695.fits', expMap='/scratch/kocevski/731277/expmap_678672001_678931201_4FGL_J2256.0-2740_daily_bin1695.fits', expCube='/scratch/kocevski/731277/ltcube_678672001_678931201_4FGL_J2256.0-2740_daily_bin1695.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/731277/Model_4FGL_J2256.0-2740_daily_bin1695.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/731277/ft1_filtered_4FGL_J2256.0-2740_daily_bin1695.fits
Spacecraft file(s): /scratch/kocevski/731277/ft2_4FGL_J2256.0-2740_daily_bin1695.fits
Exposure map: /scratch/kocevski/731277/expmap_678672001_678931201_4FGL_J2256.0-2740_daily_bin1695.fits
Exposure cube: /scratch/kocevski/731277/ltcube_678672001_678931201_4FGL_J2256.0-2740_daily_bin1695.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/731277/Model_4FGL_J2256.0-2740_daily_bin1695.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) = 4670.74196821

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.444       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0014       1.0000         .10000E-03   10000.    
     3 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    27.539       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.229       1.0000         .10000E-03   10000.    
     9 'norm      '    5.2126       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.1410       1.0000         .10000E-03   10000.    
    12 'norm      '    .18211       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3642       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    53.355       1.0000         .10000E-03   10000.    
    18 'norm      '    4.3507       1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.627       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.7379       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .71445       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2410       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4670.730     FROM MIGRAD    STATUS=CONVERGED     68 CALLS     2583 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.443        1.1523       -.43782E-06    .18061E-03
   2  Prefactor     4.0011        1.1244        .83077E-06   -.18373E-03
   3  norm          .10000E-03    6.1986       -.22237E-05** at limit **
   4  Prefactor     27.539        1.0042        .57783E-07   -.11886E-03
   5  Prefactor     .10000E-03    3.9090        .23648E-05** at limit **
   6  norm          .10000E-03    .72376       -.21868E-06** at limit **
   7  Prefactor     .10010E-03    7.0221        .60481E-05** at limit **
   8  Prefactor     18.232        1.5088        .71528E-06   -.28278E-03
   9  norm          5.2135        5.2780       -.72946E-05   -.29096E-03
  10  Prefactor     .10001E-03    10.738       -.89715E-05** at limit **
  11  Prefactor     5.1755        12.849        .14405E-04   -.24692E-03
  12  norm          .18048        .61371       -.15913E-05    .40174E-03
  13  Prefactor     .10004E-03    11.763        .41557E-05** at limit **
  14  Prefactor     3.3612        1.2178       -.75211E-06   -.23201E-03
  15  Prefactor     .10000E-03    3.9263        .21804E-05** at limit **
  16  norm          .10000E-03    3.7185       -.67367E-06** at limit **
  17  Prefactor     53.352        2.0089       -.73044E-06    .30150E-02
  18  norm          4.3508        3.0988        .11501E-06    .29533E-06
  19  Prefactor     18.624        2.3214       -.14650E-05    .18126E-02
  20  Prefactor     5.7392        1.4885        .14458E-05   -.77850E-03
  21  Normalizat    .71353        .25435       -.58973E-05    .76515E-05
  22  Prefactor     1.2419        .24506        .33490E-05    .15566E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4427
  Prefactor  = 4.00106
  norm       = 0.0001
  Prefactor  = 27.5391
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001001
  Prefactor  = 18.2321
  norm       = 5.21349
  Prefactor  = 0.000100009
  Prefactor  = 5.1755
  norm       = 0.180476
  Prefactor  = 0.000100041
  Prefactor  = 3.36116
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 53.3521
  norm       = 4.3508
  Prefactor  = 18.6241
  Prefactor  = 5.7392
  Normalizat = 0.71353
  Prefactor  = 1.24193
 **********
 **   18 **HESSE 
 **********

 FCN=   4670.730     FROM HESSE     STATUS=OK           394 CALLS     2977 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.443        17.728        .27311E-02   -1.4975    
   2  Prefactor     4.0011        11.395        .50403E-02   -1.5308    
   3  norm          .10000E-03    6.2005        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.539        23.152        .19085E-02   -1.4658    
   5  Prefactor     .10000E-03    7.5919        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .72214        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10010E-03    14.731        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.232        18.122        .23452E-02   -1.4854    
   9  norm          5.2135        5.3413        .44017E-02   -1.5251    
  10  Prefactor     .10001E-03    11.479        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.1755        14.305        .44328E-02   -1.5253    
  12  norm          .18048        .68399        .17450E-01   -1.5623    
  13  Prefactor     .10004E-03    16.743        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.3612        14.348        .55157E-02   -1.5341    
  15  Prefactor     .10000E-03    7.6200        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.7077        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     53.352        62.371        .13728E-02   -1.4246    
  18  norm          4.3508        3.1505        .48278E-02   -1.5291    
  19  Prefactor     18.624        28.960        .23200E-02   -1.4845    
  20  Prefactor     5.7392        587.25        .41920E-02   -1.5229    
  21  Normalizat    .71353        .22823        .65420E-01   -1.0336    
  22  Prefactor     1.2419        .20242        .50029E-01   -.85051    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.4444e-07
Minuit parameter uncertainties:
  1  17.735
  2  11.4014
  3  3.03773e-05
  4  23.1598
  5  0.000115291
  6  3.93208e-06
  7  0.00243114
  8  18.1276
  9  5.3418
  10  0.00063661
  11  14.3147
  12  0.68402
  13  0.00165699
  14  13.8944
  15  1.04498e-05
  16  5.84988e-05
  17  62.4473
  18  3.15062
  19  28.9816
  20  117.311
  21  0.228538
  22  0.202546
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  5.175e+00  1.431e+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.242e+00  2.025e-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:  7.135e-01  2.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.34
Ra Dec: 344.025 -27.674
Photon Flux Upper Limit: 1.70e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.36e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/731277/likelihoodResults_678672001_678931201_4FGL_J2256.0-2740_daily_bin1695.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) = 4670.72820949
delta logL = 0.00173824555168

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4670.72813772
delta logL = 0.00181001535384

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1185       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1309       1.0000          .0000       10.000    
     3 'Normalizat'    .71111       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2439       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4670.728     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      296 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1255        9.5657        .88854E-03    .18593E-03
   2  Index         3.1352        1.9248        .10979E-01   -.22574E-05
   3  Normalizat    .71113        .25313        .28991E-03   -.41175E-05
   4  Prefactor     1.2439        .24381        .22103E-03   -.43206E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.12554
  Index      = 3.13521
  Normalizat = 0.711134
  Prefactor  = 1.24393
 **********
 **   18 **HESSE 
 **********

 FCN=   4670.728     FROM HESSE     STATUS=OK            27 CALLS      323 TOTAL
                     EDM=   .18E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1255        9.4586        .17771E-03   -1.5255    
   2  Index         3.1352        1.9057        .43916E-03   -.38219    
   3  Normalizat    .71113        .25363        .11596E-04   -1.0346    
   4  Prefactor     1.2439        .24416        .88411E-05   -.84990    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81396e-13
Minuit parameter uncertainties:
  1  9.46131
  2  1.96383
  3  0.254053
  4  0.244388
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/731277': 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) = 4670.72813429
delta logL = 0.00181344968678

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  5.126e+00  9.461e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.135e+00  1.964e+00  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.244e+00  2.444e-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:  7.111e-01  2.541e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.34
Ra Dec: 344.025 -27.674

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/731277/cmap_HighResolution_678672001_678931201_4FGL_J2256.0-2740_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', job_status='DONE', photon_flux_upper_limit='1.70e-07', time_completed='2022-07-08 00:47:17.092245', job_id='731277', GAL2='1.24', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1657266437.09', return_code2='0', ts='0.34', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='1.81e-03', ts2='0.36', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='1695' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:47:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 731277: <4FGL_J2256.0-2740_daily_bin1695> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1695> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jul  8 00:35:24 2022
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:35:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:35:25 2022
Terminated at Fri Jul  8 00:47:17 2022
Results reported at Fri Jul  8 00:47:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1695 344.025 -27.6739 678672001 678931201 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 :                                   554.54 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             272.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            713 sec.

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

