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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1773
RA = 344.025, Dec = -27.6739
tmin = 698889601, tmax = 699148801
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='807214', job_status='RUN', time_executed='2023-02-27 10:43:08.326800', time_epoch_executed='1677523388.33' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/807214

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/807214/ft1_4FGL_J2256.0-2740_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/807214/ft2_4FGL_J2256.0-2740_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/807214/ft1_4FGL_J2256.0-2740_daily_bin1773.fits outfile=/scratch/kocevski/807214/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1773.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=698889601.0 tmax=699148801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.96
user 2.75
sys 0.19

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

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

Number of photons that the gtmktime cut: 40

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/807214/ft1_filtered_4FGL_J2256.0-2740_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/807214/ft2_4FGL_J2256.0-2740_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/807214/ltcube_698889601_699148801_4FGL_J2256.0-2740_daily_bin1773.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/807214/ft2_4FGL_J2256.0-2740_daily_bin1773.fits
.....................!
real 16.50
user 15.53
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/807214/ft1_filtered_4FGL_J2256.0-2740_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/807214/ft2_4FGL_J2256.0-2740_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/807214/ltcube_698889601_699148801_4FGL_J2256.0-2740_daily_bin1773.fits outfile=/scratch/kocevski/807214/expmap_698889601_699148801_4FGL_J2256.0-2740_daily_bin1773.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/807214/ltcube_698889601_699148801_4FGL_J2256.0-2740_daily_bin1773.fits
.....................!
real 193.31
user 186.54
sys 5.72

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/807214/ft1_filtered_4FGL_J2256.0-2740_daily_bin1773.fits scfile=/scratch/kocevski/807214/ft2_4FGL_J2256.0-2740_daily_bin1773.fits outfile=/scratch/kocevski/807214/cmap_698889601_699148801_4FGL_J2256.0-2740_daily_bin1773.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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/807214/ft1_filtered_4FGL_J2256.0-2740_daily_bin1773.fits scfile=/scratch/kocevski/807214/ft2_4FGL_J2256.0-2740_daily_bin1773.fits outfile=/scratch/kocevski/807214/cmap_HighResolution_698889601_699148801_4FGL_J2256.0-2740_daily_bin1773.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/807214/ft1_filtered_4FGL_J2256.0-2740_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/807214/ft2_4FGL_J2256.0-2740_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/807214/Model_4FGL_J2256.0-2740_daily_bin1773.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/807214/ft1_filtered_4FGL_J2256.0-2740_daily_bin1773.fits....................!
real 16.44
user 15.03
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/807214/ft1_filtered_4FGL_J2256.0-2740_daily_bin1773.fits', '/scratch/kocevski/807214/ft2_4FGL_J2256.0-2740_daily_bin1773.fits', expMap='/scratch/kocevski/807214/expmap_698889601_699148801_4FGL_J2256.0-2740_daily_bin1773.fits', expCube='/scratch/kocevski/807214/ltcube_698889601_699148801_4FGL_J2256.0-2740_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/807214/Model_4FGL_J2256.0-2740_daily_bin1773.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  0.000e+00  1.000e+06 ( 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/807214/ft1_filtered_4FGL_J2256.0-2740_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/807214/ft2_4FGL_J2256.0-2740_daily_bin1773.fits
Exposure map: /scratch/kocevski/807214/expmap_698889601_699148801_4FGL_J2256.0-2740_daily_bin1773.fits
Exposure cube: /scratch/kocevski/807214/ltcube_698889601_699148801_4FGL_J2256.0-2740_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/807214/Model_4FGL_J2256.0-2740_daily_bin1773.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) = 417.752657029

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    43.512       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10000E+07   1.0000          .0000       .10000E+07
     3 'norm      '    1175.4       1.0000          .0000       .10000E+07
     4 'Prefactor '    .25328       1.0000          .0000       .10000E+07
     5 'Prefactor '    .94478       1.0000          .0000       .10000E+07
     6 'norm      '    .19214       1.0000          .0000       .10000E+07
     7 'Prefactor '    .37948E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .83737E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .12421E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16739E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .22311E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .25741E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .56292       1.0000          .0000       .10000E+07
    14 'Prefactor '    .55997E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .21020E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .13560E-04   1.0000          .0000       .10000E+07
    17 'norm      '    21.461       1.0000          .0000       .10000E+07
    18 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    19 'Prefactor '    .70100       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=   417.7427     FROM MIGRAD    STATUS=CONVERGED    100 CALLS     1738 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     43.471        2.0399       -.10799E-05    .53432E-01
   2  Prefactor     .10000E+07    .72251        .24614E-05   -.15623E-01
   3  norm          1175.5        1.9599        .19698E-06   -.26306    
   4  Prefactor     .29056E-04    14.455       -.16719E-05** at limit **
   5  Prefactor     .89941        1.9469       -.80294E-05    .49797E-01
   6  norm          .13323E-08    70.143        .25619E-05** at limit **
   7  Prefactor     .44669E-03    11.409       -.21152E-04** at limit **
   8  Prefactor     .37195E-05    45.861        .24939E-04** at limit **
   9  norm          .41661E-06    9.5676       -.25155E-05** at limit **
  10  Prefactor     .10270E-07    82.390       -.26748E-04** at limit **
  11  Prefactor      .0000        41.314        .16477E-06** at limit **
  12  norm          .55511E-10    3.3932       -.35190E-06** at limit **
  13  Prefactor     .57777E-04    23.462        .20825E-04** at limit **
  14  Prefactor     .24492E-06    25.000       -.32659E-04** at limit **
  15  norm           .0000        6.0964        .20986E-05** at limit **
  16  Prefactor     .59230E-06    21.214        .22700E-04** at limit **
  17  norm          21.701        15.057        .20339E-05    .50117E-03
  18  Normalizat    .10000E-01    .11308       -.11037E-03** at limit **
  19  Prefactor     .69937        .30951       -.84408E-06    .79381E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 43.4706
  Prefactor  = 999999
  norm       = 1175.47
  Prefactor  = 2.90562e-05
  Prefactor  = 0.899407
  norm       = 1.33227e-09
  Prefactor  = 0.000446689
  Prefactor  = 3.71952e-06
  norm       = 4.16611e-07
  Prefactor  = 1.02696e-08
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 5.77767e-05
  Prefactor  = 2.44915e-07
  norm       = 0
  Prefactor  = 5.92304e-07
  norm       = 21.7008
  Normalizat = 0.01
  Prefactor  = 0.699367
 **********
 **   18 **HESSE 
 **********

 FCN=   417.7427     FROM HESSE     STATUS=OK           288 CALLS     2026 TOTAL
                     EDM=   .70E-01    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     43.471        28896.        .15161E-03   -1.5576    
   2  Prefactor     .10000E+07    19734.        .42299E-03    1.5689    
   3  norm          1175.5        .60079E+06    .29185E-04   -1.5022    
   4  Prefactor     .29056E-04    510.04        .10895E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .89941        8102.9        .42712E-03   -1.5689    
   6  norm          .13323E-08    70.051        .11917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .44669E-03    1899.5        .16058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .37195E-05    50.763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .41661E-06    27.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10270E-07    86.784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        41.290        .16889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    3.3887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .57777E-04    181.07        .72617E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .24492E-06    29.257        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        6.0953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .59230E-06    26.832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          21.701        14.985        .21592E-03   -1.5615    
  18  Normalizat    .10000E-01    .93594E-01    .96257E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .69937        .30083        .42415E-01   -1.0355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.0700301
Minuit parameter uncertainties:
  1  2252.54
  2  272.86
  3  34359
  4  0.243493
  5  170.969
  6  0.000611105
  7  1.84287
  8  0.0274823
  9  0.00679509
  10  0.00188861
  11  6.30189e-05
  12  3.11734e-05
  13  0.204571
  14  0.00535354
  15  1.88075e-05
  16  0.00797328
  17  14.9855
  18  1.0676e-06
  19  0.301533
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  0.000e+00  6.302e-05  0.000e+00  1.000e+06 ( 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:  6.994e-01  3.015e-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:  1.000e-02  1.068e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 344.025 -27.674
Photon Flux Upper Limit: 1.43e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.15e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/807214/likelihoodResults_698889601_699148801_4FGL_J2256.0-2740_daily_bin1773.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): 102
logL (Free Index) = 417.74326122
delta logL = -0.000512487109177

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 417.742748897
delta logL = -1.64161235716e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51570E-07   1.0000          .0000       .10000E+07
     2 'Index     '    4.0365       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69929       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   417.7427     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      226 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.6851        .42118E-03** at limit **
   2  Index         1.1754        .65698       -.12397E-03     .0000    
   3  Normalizat    .10000E-01    .25505        .82628E-05** at limit **
   4  Prefactor     .69936        1.0491       -.45326E-05   -.10699E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.17541
  Normalizat = 0.01
  Prefactor  = 0.699364
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   417.7427     FROM HESSE     STATUS=FAILED         9 CALLS      235 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.6851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .89868E-01    1.1660       -.12397E-03   -.87091    
   3  Normalizat    .10000E-01    .25505        .82628E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .69936        1.0491       -.45326E-05   -1.0355    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.20007e-12
Minuit parameter uncertainties:
  1  1.06317e-06
  2  0.661625
  3  2.729e-07
  4  1.08116
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/807214': 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): 101
logL (Free Index) = 417.742748733
delta logL = 4.15525391873e-11

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  0.000e+00  1.063e-06  0.000e+00  1.000e+06 ( 1.000e-11)
341        Index:  1.175e+00  6.616e-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:  6.994e-01  1.081e+00  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:  1.000e-02  2.729e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/807214/cmap_HighResolution_698889601_699148801_4FGL_J2256.0-2740_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-01', job_status='DONE', photon_flux_upper_limit='1.43e-06', time_completed='2023-02-27 10:48:49.626071', job_id='807214', GAL2='0.70', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677523729.63', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='4.16e-11', ts2='0.00', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='1773' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:48:49 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 807214: <4FGL_J2256.0-2740_daily_bin1773> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1773> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Feb 27 10:40:12 2023
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:40:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:40:16 2023
Terminated at Mon Feb 27 10:48:50 2023
Results reported at Mon Feb 27 10:48:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1773 344.025 -27.6739 698889601 699148801 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 :                                   341.23 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             245.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   513 sec.
    Turnaround time :                            518 sec.

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

