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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1734
RA = 344.025, Dec = -27.6739
tmin = 688780801, tmax = 689040001
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='776511', job_status='RUN', time_executed='2022-11-02 00:36:43.034021', time_epoch_executed='1667374603.03' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776511

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776511/ft1_4FGL_J2256.0-2740_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776511/ft2_4FGL_J2256.0-2740_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776511/ft1_4FGL_J2256.0-2740_daily_bin1734.fits outfile=/scratch/kocevski/776511/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1734.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=688780801.0 tmax=689040001.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.55
user 3.33
sys 0.21

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

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

Number of photons that the gtmktime cut: 544

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776511/ft1_filtered_4FGL_J2256.0-2740_daily_bin1734.fits" evtable="EVENTS" scfile=/scratch/kocevski/776511/ft2_4FGL_J2256.0-2740_daily_bin1734.fits sctable="SC_DATA" outfile=/scratch/kocevski/776511/ltcube_688780801_689040001_4FGL_J2256.0-2740_daily_bin1734.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/776511/ft2_4FGL_J2256.0-2740_daily_bin1734.fits
.....................!
real 12.62
user 12.20
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776511/ft1_filtered_4FGL_J2256.0-2740_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776511/ft2_4FGL_J2256.0-2740_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776511/ltcube_688780801_689040001_4FGL_J2256.0-2740_daily_bin1734.fits outfile=/scratch/kocevski/776511/expmap_688780801_689040001_4FGL_J2256.0-2740_daily_bin1734.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/776511/ltcube_688780801_689040001_4FGL_J2256.0-2740_daily_bin1734.fits
.....................!
real 192.77
user 186.55
sys 5.80

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/776511/ft1_filtered_4FGL_J2256.0-2740_daily_bin1734.fits scfile=/scratch/kocevski/776511/ft2_4FGL_J2256.0-2740_daily_bin1734.fits outfile=/scratch/kocevski/776511/cmap_688780801_689040001_4FGL_J2256.0-2740_daily_bin1734.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776511/ft1_filtered_4FGL_J2256.0-2740_daily_bin1734.fits scfile=/scratch/kocevski/776511/ft2_4FGL_J2256.0-2740_daily_bin1734.fits outfile=/scratch/kocevski/776511/cmap_HighResolution_688780801_689040001_4FGL_J2256.0-2740_daily_bin1734.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/776511/ft1_filtered_4FGL_J2256.0-2740_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776511/ft2_4FGL_J2256.0-2740_daily_bin1734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/776511/Model_4FGL_J2256.0-2740_daily_bin1734.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/776511/ft1_filtered_4FGL_J2256.0-2740_daily_bin1734.fits.....................!
real 46.79
user 45.42
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0981       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.8776       1.0000          .0000       .10000E+07
     3 'norm      '    18.825       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7062       1.0000          .0000       .10000E+07
     5 'Prefactor '    .26826E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .42744E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    28.897       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.1885       1.0000          .0000       .10000E+07
     9 'norm      '    .33362E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    8.1774       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17141E-03   1.0000          .0000       .10000E+07
    12 'norm      '    1.4298       1.0000          .0000       .10000E+07
    13 'Prefactor '    .37692E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.4934       1.0000          .0000       .10000E+07
    15 'norm      '    10.496       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36637E-06   1.0000          .0000       .10000E+07
    17 'norm      '    1.7627       1.0000          .0000       .10000E+07
    18 'Normalizat'    .89482       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .88117       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=   5978.605     FROM MIGRAD    STATUS=CONVERGED    115 CALLS     1133 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1948        1.0610        .53753E-08   -.62901E-02
   2  Prefactor     2.9396        7.2486       -.48577E-07    .18864E-02
   3  norm          18.839        1.0928        .42245E-09   -.42654E-02
   4  Prefactor     4.1395        2.2308        .29117E-07   -.13697E-01
   5  Prefactor     .55511E-10    4.5854        .22775E-06** at limit **
   6  norm           .0000        .66205       -.58110E-07** at limit **
   7  Prefactor     28.473        2.2483        .15459E-08   -.76299E-01
   8  Prefactor     9.0325        8.7674        .11808E-07   -.17442E-01
   9  norm           .0000        1.0651       -.12640E-06** at limit **
  10  Prefactor     8.2253        5.2826        .77398E-08   -.43848E-01
  11  Prefactor     .18707E-07    43.250       -.87094E-07** at limit **
  12  norm          1.4299        .59779        .12262E-07    .20385E-02
  13  Prefactor     .22204E-09    8.3782       -.26019E-06** at limit **
  14  Prefactor     3.4780        7.1418        .97871E-08    .13746E-01
  15  norm          10.530        7.1466        .32107E-07    .11591E-01
  16  Prefactor     .33307E-09    10.315       -.15948E-06** at limit **
  17  norm          1.7641        1.8938       -.54157E-07   -.14297E-02
  18  Normalizat    .89500        .19099       -.25435E-05   -.69635E-04
  19  Prefactor     .88076        .18574        .10176E-05   -.50896E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.19482
  Prefactor  = 2.93959
  norm       = 18.8395
  Prefactor  = 4.13947
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 28.4729
  Prefactor  = 9.03254
  norm       = 0
  Prefactor  = 8.22534
  Prefactor  = 1.87073e-08
  norm       = 1.42992
  Prefactor  = 2.22045e-10
  Prefactor  = 3.47797
  norm       = 10.5304
  Prefactor  = 3.33067e-10
  norm       = 1.76412
  Normalizat = 0.894997
  Prefactor  = 0.88076
 **********
 **   18 **HESSE 
 **********

 FCN=   5978.605     FROM HESSE     STATUS=OK           310 CALLS     1443 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1948        15.801        .44506E-03   -1.5662    
   2  Prefactor     2.9396        7.3565        .59891E-03   -1.5674    
   3  norm          18.839        13.533        .23056E-03   -1.5621    
   4  Prefactor     4.1395        15.796        .52432E-03   -1.5667    
   5  Prefactor     .55511E-10    4.6027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .66416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     28.473        36.254        .18606E-03   -1.5601    
   8  Prefactor     9.0325        10.191        .33039E-03   -1.5648    
   9  norm           .0000        1.0679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.2253        8.5144        .35036E-03   -1.5651    
  11  Prefactor     .18707E-07    42.227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4299        .60007        .77842E-03   -1.5684    
  13  Prefactor     .22204E-09    8.4074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.4780        7.7560        .54072E-03   -1.5671    
  15  norm          10.530        7.2055        .30901E-03   -1.5643    
  16  Prefactor     .33307E-09    10.356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.7641        1.8982        .78880E-03   -1.5681    
  18  Normalizat    .89500        .16231        .44835E-01   -.96636    
  19  Prefactor     .88076        .15697        .44765E-01   -.96817    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09544e-07
Minuit parameter uncertainties:
  1  15.8012
  2  7.35651
  3  13.5331
  4  15.7961
  5  2.62248e-05
  6  4.91372e-07
  7  36.2541
  8  10.1911
  9  2.95558e-06
  10  8.51437
  11  0.00177815
  12  0.600066
  13  9.16392e-05
  14  7.756
  15  7.20551
  16  0.000113429
  17  1.89822
  18  0.162401
  19  0.157046
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.871e-08  1.778e-03  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:  8.808e-01  1.570e-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:  8.950e-01  1.624e-01  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.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776511/likelihoodResults_688780801_689040001_4FGL_J2256.0-2740_daily_bin1734.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) = 5978.62588409
delta logL = -0.0206219092424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5978.56188799
delta logL = 0.0433741976103

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75643       1.0000          .0000       .10000E+07
     2 'Index     '    4.9438       1.0000          .0000       10.000    
     3 'Normalizat'    .87895       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89101       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5978.562     FROM MIGRAD    STATUS=FAILED        96 CALLS      347 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .75906        428.67        .10850E-03   -.23546E-01
   2  Index         4.9503        6.3467        .39069E-01    .75237E-04
   3  Normalizat    .87922        .13029        .22972E-03    .69185E-04
   4  Prefactor     .89056        .11912        .22887E-03    .10764E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5978.562     FROM SIMPLEX   STATUS=UNCHANGED     89 CALLS      436 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .75906        428.67        .24643E-04   -.23546E-01
   2  Index         4.9503        6.3467        .45765E-02    .75237E-04
   3  Normalizat    .87922        .13029        .13480E-03    .69185E-04
   4  Prefactor     .89056        .11912        .16104E-03    .10764E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5978.562     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      468 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .76011        8.0006        .43399E-05   -.14198E-02
   2  Index         4.9486        7.4679        .15627E-02   -.51142E-05
   3  Normalizat    .87922        .19146        .91890E-05    .26452E-03
   4  Prefactor     .89056        .18836        .91549E-05    .16417E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.760111
  Index      = 4.94859
  Normalizat = 0.879217
  Prefactor  = 0.890559
 **********
 **   18 **HESSE 
 **********

 FCN=   5978.562     FROM HESSE     STATUS=OK            23 CALLS      491 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .76011        7.4576        .17360E-06   -1.5691    
   2  Index         4.9486        7.4740        .62510E-04   -.10283E-01
   3  Normalizat    .87922        .19163        .18378E-05   -.97194    
   4  Prefactor     .89056        .18852        .18310E-05   -.96472    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42189e-10
Minuit parameter uncertainties:
  1  4.76178
  2  7.87689
  3  0.191781
  4  0.18866
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776511': 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) = 5978.56188063
delta logL = 0.0433815536589

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  7.601e-01  4.762e+00  0.000e+00  1.000e+06 ( 1.000e-11)
341        Index:  4.949e+00  7.877e+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:  8.906e-01  1.887e-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:  8.792e-01  1.918e-01  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/776511/cmap_HighResolution_688780801_689040001_4FGL_J2256.0-2740_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.34e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2022-11-02 00:45:10.269362', job_id='776511', GAL2='0.89', fit_tolerance='1e-08', EG2='0.88', EG='0.89', time_epoch_completed='1667375110.27', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='4.34e-02', ts2='0.09', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='1734' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:45:10 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 776511: <4FGL_J2256.0-2740_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Nov  2 00:35:30 2022
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:35:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:35:32 2022
Terminated at Wed Nov  2 00:45:11 2022
Results reported at Wed Nov  2 00:45:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1734 344.025 -27.6739 688780801 689040001 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 :                                   509.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   578 sec.
    Turnaround time :                            581 sec.

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

