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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1712
RA = 344.025, Dec = -27.6739
tmin = 683078401, tmax = 683337601
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='253596', job_status='RUN', time_executed='2022-09-17 00:24:22.715881', time_epoch_executed='1663399462.72' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253596

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253596/ft1_4FGL_J2256.0-2740_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253596/ft2_4FGL_J2256.0-2740_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253596/ft1_4FGL_J2256.0-2740_daily_bin1712.fits outfile=/scratch/kocevski/253596/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1712.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=683078401.0 tmax=683337601.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.79
user 4.53
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/253596/ft2_4FGL_J2256.0-2740_daily_bin1712.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/253596/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/253596/ft1_filtered_4FGL_J2256.0-2740_daily_bin1712.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.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 286

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253596/ft1_filtered_4FGL_J2256.0-2740_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/253596/ft2_4FGL_J2256.0-2740_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/253596/ltcube_683078401_683337601_4FGL_J2256.0-2740_daily_bin1712.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/253596/ft2_4FGL_J2256.0-2740_daily_bin1712.fits
.....................!
real 16.08
user 15.64
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253596/ft1_filtered_4FGL_J2256.0-2740_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/253596/ft2_4FGL_J2256.0-2740_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/253596/ltcube_683078401_683337601_4FGL_J2256.0-2740_daily_bin1712.fits outfile=/scratch/kocevski/253596/expmap_683078401_683337601_4FGL_J2256.0-2740_daily_bin1712.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/253596/ltcube_683078401_683337601_4FGL_J2256.0-2740_daily_bin1712.fits
.....................!
real 192.78
user 187.83
sys 4.38

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/253596/ft1_filtered_4FGL_J2256.0-2740_daily_bin1712.fits scfile=/scratch/kocevski/253596/ft2_4FGL_J2256.0-2740_daily_bin1712.fits outfile=/scratch/kocevski/253596/cmap_683078401_683337601_4FGL_J2256.0-2740_daily_bin1712.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.58
user 0.41
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/253596/ft1_filtered_4FGL_J2256.0-2740_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/253596/ft2_4FGL_J2256.0-2740_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/253596/Model_4FGL_J2256.0-2740_daily_bin1712.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/253596/ft1_filtered_4FGL_J2256.0-2740_daily_bin1712.fits.....................!
real 33.68
user 32.34
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.451       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.6513       1.0000          .0000       .10000E+07
     3 'norm      '    51.292       1.0000          .0000       .10000E+07
     4 'Prefactor '    .27356       1.0000          .0000       .10000E+07
     5 'Prefactor '    .52202E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .17347E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .43640E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    38.481       1.0000          .0000       .10000E+07
     9 'norm      '    .23174E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .23803E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89435E-03   1.0000          .0000       .10000E+07
    12 'norm      '    1.2921       1.0000          .0000       .10000E+07
    13 'Prefactor '    .40189E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .45870E-03   1.0000          .0000       .10000E+07
    15 'norm      '    4.6491       1.0000          .0000       .10000E+07
    16 'Prefactor '    .70174E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .45979E-05   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1435       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .74073       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=   3383.718     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1404 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.898        13.309        .31847E-05   -.43585E-01
   2  Prefactor     1.5537        3.1708       -.10570E-05   -.11573E-02
   3  norm          52.915        37.056       -.30926E-05    .78144E-01
   4  Prefactor     .22332E-04    165.63       -.35122E-04** at limit **
   5  Prefactor     .17319E-07    8.3900        .14859E-05** at limit **
   6  norm          .55511E-10    1.0364       -.36754E-06** at limit **
   7  Prefactor     .12568E-05    21.529       -.46107E-05** at limit **
   8  Prefactor     39.585        14.066       -.24509E-05   -.22465    
   9  norm           .0000        3.6251       -.63558E-06** at limit **
  10  Prefactor     .27756E-09    6.4311       -.17830E-05** at limit **
  11  Prefactor     .13045E-07    6.9478        .25923E-05** at limit **
  12  norm          1.2910        .77210        .20862E-07    .69588E-03
  13  Prefactor     .35527E-08    9.3035        .16296E-05** at limit **
  14  Prefactor     .26312E-07    7.1566       -.24892E-05** at limit **
  15  norm          4.6814        10.179        .69702E-06   -.25294E-02
  16  Prefactor     .20294E-05    113.28       -.80481E-06** at limit **
  17  norm           .0000        1.8235        .27478E-06** at limit **
  18  Normalizat    1.1404        .27755        .50515E-04   -.59550E-04
  19  Prefactor     .74119        .25565       -.46664E-04   -.68040E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.8985
  Prefactor  = 1.55367
  norm       = 52.9151
  Prefactor  = 2.23319e-05
  Prefactor  = 1.73195e-08
  norm       = 5.55112e-11
  Prefactor  = 1.25677e-06
  Prefactor  = 39.5846
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 1.30451e-08
  norm       = 1.29103
  Prefactor  = 3.55271e-09
  Prefactor  = 2.63123e-08
  norm       = 4.68139
  Prefactor  = 2.02943e-06
  norm       = 0
  Normalizat = 1.14037
  Prefactor  = 0.741187
 **********
 **   18 **HESSE 
 **********

 FCN=   3383.718     FROM HESSE     STATUS=OK           304 CALLS     1708 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.898        31.771        .21597E-03   -1.5614    
   2  Prefactor     1.5537        28.321        .82124E-03   -1.5683    
   3  norm          52.915        41.040        .13964E-03   -1.5562    
   4  Prefactor     .22332E-04    34.756        .10590E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17319E-07    8.4248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    1.0347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12568E-05    22.775        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     39.585        22.268        .16122E-03   -1.5582    
   9  norm           .0000        3.6173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .27756E-09    6.4545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .13045E-07    7.0607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.2910        .77885        .86051E-03   -1.5685    
  13  Prefactor     .35527E-08    9.3118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .26312E-07    7.3802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.6814        10.251        .46653E-03   -1.5665    
  16  Prefactor     .20294E-05    115.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        1.8236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1404        .23848        .52742E-01   -.88466    
  19  Prefactor     .74119        .21733        .42941E-01   -1.0193    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29533e-06
Minuit parameter uncertainties:
  1  31.7715
  2  13.2667
  3  41.0404
  4  0.05572
  5  0.00076441
  6  1.41215e-05
  7  0.0107002
  8  22.2682
  9  7.76656e-06
  10  8.55403e-05
  11  0.000606554
  12  0.778848
  13  0.000363332
  14  0.000881173
  15  10.2506
  16  0.0305896
  17  3.64561e-06
  18  0.238706
  19  0.217577
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.305e-08  6.066e-04  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:  7.412e-01  2.176e-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.140e+00  2.387e-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.61e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.29e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/253596/likelihoodResults_683078401_683337601_4FGL_J2256.0-2740_daily_bin1712.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) = 3383.78731882
delta logL = -0.0690393287168

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3383.40855183
delta logL = 0.309727655908

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12121       1.0000          .0000       .10000E+07
     2 'Index     '    10.000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0652       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78937       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=   3383.409     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      352 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12118        7.9147        .58117E-03** at limit **
   2  Index        10.0000        5.3675        .50000    ** at limit **
   3  Normalizat    1.0653        .96587E-01    .39639E-01   -.13759E-04
   4  Prefactor     .78924        .85546E-01    .43579E-01    .55121E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.121179
  Index      = 10
  Normalizat = 1.0653
  Prefactor  = 0.789242
 **********
 **   18 **HESSE 
 **********

 FCN=   3383.409     FROM HESSE     STATUS=OK            35 CALLS      387 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12118        .19477        .26294E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        8.1926        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0653        .29133        .23972E-03   -.90874    
   4  Prefactor     .78924        .26352        .25426E-03   -1.0013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47847e-11
Minuit parameter uncertainties:
  1  0.194772
  2  9.56892e-06
  3  0.291765
  4  0.263942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253596': 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) = 3383.4085517
delta logL = 0.309727785605

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.212e-01  1.948e-01  0.000e+00  1.000e+06 ( 1.000e-11)
341        Index:  1.000e+01  9.569e-06  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:  7.892e-01  2.639e-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.065e+00  2.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/253596/cmap_HighResolution_683078401_683337601_4FGL_J2256.0-2740_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.29e-02', job_status='DONE', photon_flux_upper_limit='1.61e-07', time_completed='2022-09-17 00:32:00.597273', job_id='253596', GAL2='0.79', fit_tolerance='1e-08', EG2='1.07', EG='1.14', time_epoch_completed='1663399920.6', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='3.10e-01', ts2='0.68', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='1712' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:32:00 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 253596: <4FGL_J2256.0-2740_daily_bin1712> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1712> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 17 00:20:20 2022
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:20:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 00:20:51 2022
Terminated at Sat Sep 17 00:32:01 2022
Results reported at Sat Sep 17 00:32:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1712 344.025 -27.6739 683078401 683337601 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 :                                   456.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   669 sec.
    Turnaround time :                            701 sec.

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

