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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1743
RA = 344.025, Dec = -27.6739
tmin = 691113601, tmax = 691372801
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='462877', job_status='RUN', time_executed='2022-11-29 01:12:21.046516', time_epoch_executed='1669713141.05' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1743'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/462877

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/462877/ft1_4FGL_J2256.0-2740_daily_bin1743.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/462877/ft2_4FGL_J2256.0-2740_daily_bin1743.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/462877/ft1_4FGL_J2256.0-2740_daily_bin1743.fits outfile=/scratch/kocevski/462877/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1743.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=691113601.0 tmax=691372801.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.74
user 2.53
sys 0.20

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

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

Number of photons that the gtmktime cut: 646

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/462877/ft1_filtered_4FGL_J2256.0-2740_daily_bin1743.fits" evtable="EVENTS" scfile=/scratch/kocevski/462877/ft2_4FGL_J2256.0-2740_daily_bin1743.fits sctable="SC_DATA" outfile=/scratch/kocevski/462877/ltcube_691113601_691372801_4FGL_J2256.0-2740_daily_bin1743.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/462877/ft2_4FGL_J2256.0-2740_daily_bin1743.fits
.....................!
real 14.34
user 13.93
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/462877/ft1_filtered_4FGL_J2256.0-2740_daily_bin1743.fits evtable="EVENTS" scfile=/scratch/kocevski/462877/ft2_4FGL_J2256.0-2740_daily_bin1743.fits sctable="SC_DATA" expcube=/scratch/kocevski/462877/ltcube_691113601_691372801_4FGL_J2256.0-2740_daily_bin1743.fits outfile=/scratch/kocevski/462877/expmap_691113601_691372801_4FGL_J2256.0-2740_daily_bin1743.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/462877/ltcube_691113601_691372801_4FGL_J2256.0-2740_daily_bin1743.fits
.....................!
real 191.03
user 185.54
sys 4.89

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/462877/ft1_filtered_4FGL_J2256.0-2740_daily_bin1743.fits scfile=/scratch/kocevski/462877/ft2_4FGL_J2256.0-2740_daily_bin1743.fits outfile=/scratch/kocevski/462877/cmap_691113601_691372801_4FGL_J2256.0-2740_daily_bin1743.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.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/462877/ft1_filtered_4FGL_J2256.0-2740_daily_bin1743.fits scfile=/scratch/kocevski/462877/ft2_4FGL_J2256.0-2740_daily_bin1743.fits outfile=/scratch/kocevski/462877/cmap_HighResolution_691113601_691372801_4FGL_J2256.0-2740_daily_bin1743.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.59
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/462877/ft1_filtered_4FGL_J2256.0-2740_daily_bin1743.fits evtable="EVENTS" scfile=/scratch/kocevski/462877/ft2_4FGL_J2256.0-2740_daily_bin1743.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/462877/Model_4FGL_J2256.0-2740_daily_bin1743.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/462877/ft1_filtered_4FGL_J2256.0-2740_daily_bin1743.fits.....................!
real 55.15
user 53.74
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24980E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    .77987E-04   1.0000          .0000       .10000E+07
     3 'norm      '    17.995       1.0000          .0000       .10000E+07
     4 'Prefactor '    .31094E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .13792E-04   1.0000          .0000       .10000E+07
     6 'norm      '    6.8551       1.0000          .0000       .10000E+07
     7 'Prefactor '    .70534E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    8.3299       1.0000          .0000       .10000E+07
     9 'norm      '    4.9619       1.0000          .0000       .10000E+07
    10 'Prefactor '    .41183       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11997E-01   1.0000          .0000       .10000E+07
    12 'norm      '    2.0172       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77348       1.0000          .0000       .10000E+07
    14 'Prefactor '    .55850E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .57387E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .25971E-02   1.0000          .0000       .10000E+07
    17 'norm      '    1.1846       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1826       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0031       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=   7148.904     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1131 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.5677       -.11049E-05** at limit **
   2  Prefactor      .0000        2.8553        .57709E-07** at limit **
   3  norm          17.943        1.1529       -.12609E-07   -.85336E-02
   4  Prefactor     .14322E-07    16.940       -.29939E-06** at limit **
   5  Prefactor     .22204E-09    14.093        .97107E-06** at limit **
   6  norm          6.8546        2.7557       -.10226E-06    .87547E-03
   7  Prefactor     .30698E-07    42.525       -.23550E-05** at limit **
   8  Prefactor     8.3891        8.8747       -.19103E-06    .15341E-04
   9  norm          4.9448        3.9773        .36587E-06   -.21594E-03
  10  Prefactor     .50054        13.354        .15785E-05    .41806E-02
  11  Prefactor     .10175E-06    10.144        .14496E-05** at limit **
  12  norm          2.0157        .70236        .14007E-06    .23349E-02
  13  Prefactor     .58826        2.1818       -.28450E-06    .10012E-01
  14  Prefactor     .26973E-06    6.6212        .11621E-05** at limit **
  15  norm          .55511E-07    77.797       -.26480E-05** at limit **
  16  Prefactor     .12212E-08    10.961       -.14646E-06** at limit **
  17  norm          1.1804        3.8976        .49823E-06    .31193E-03
  18  Normalizat    1.1827        .21635       -.42632E-05    .42844E-04
  19  Prefactor     1.0032        .20826       -.45530E-05    .24744E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  norm       = 17.943
  Prefactor  = 1.43219e-08
  Prefactor  = 2.22045e-10
  norm       = 6.85458
  Prefactor  = 3.06977e-08
  Prefactor  = 8.38911
  norm       = 4.94477
  Prefactor  = 0.500542
  Prefactor  = 1.01752e-07
  norm       = 2.01574
  Prefactor  = 0.588258
  Prefactor  = 2.69729e-07
  norm       = 5.55112e-08
  Prefactor  = 1.22125e-09
  norm       = 1.18043
  Normalizat = 1.18272
  Prefactor  = 1.0032
 **********
 **   18 **HESSE 
 **********

 FCN=   7148.904     FROM HESSE     STATUS=OK           314 CALLS     1445 TOTAL
                     EDM=   .59E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.8609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          17.943        16.530        .23583E-03   -1.5623    
   4  Prefactor     .14322E-07    19.322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    14.225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.8546        2.7738        .38297E-03   -1.5656    
   7  Prefactor     .30698E-07    43.604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.3891        8.8561        .34711E-03   -1.5650    
   9  norm          4.9448        4.1346        .45125E-03   -1.5663    
  10  Prefactor     .50054        13.718        .88129E-02   -1.5694    
  11  Prefactor     .10175E-06    16.488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.0157        .75800        .72844E-03   -1.5680    
  13  Prefactor     .58826        65.943        .54933E-03   -1.5693    
  14  Prefactor     .26973E-06    18.262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-07    6.4530        .61498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .12212E-08    11.039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1804        3.8773        .10484E-02   -1.5686    
  18  Normalizat    1.1827        .17917        .55600E-01   -.87138    
  19  Prefactor     1.0032        .17228        .44648E-01   -.92623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.91806e-08
Minuit parameter uncertainties:
  1  1.5682e-05
  2  1.06087e-06
  3  16.5296
  4  0.00105123
  5  0.000106202
  6  2.77383
  7  0.00231327
  8  8.85609
  9  4.13463
  10  5.24085
  11  0.00259034
  12  0.757996
  13  12.4567
  14  0.00443863
  15  0.001197
  16  0.000233898
  17  3.87733
  18  0.179261
  19  0.172377
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.018e-07  2.590e-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:  1.003e+00  1.724e-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.183e+00  1.793e-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.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/462877/likelihoodResults_691113601_691372801_4FGL_J2256.0-2740_daily_bin1743.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) = 7148.93836406
delta logL = -0.0348556303697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7148.89423143
delta logL = 0.00927699263957

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97567       1.0000          .0000       .10000E+07
     2 'Index     '    2.3158       1.0000          .0000       10.000    
     3 'Normalizat'    1.1800       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0034       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=   7148.894     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      228 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98806        26.240        .42902E-03    .25620E-02
   2  Index         2.3215        .70047        .50000       -.12079E-04
   3  Normalizat    1.1798        .17559        .55647E-01    .56430E-04
   4  Prefactor     1.0035        .17145        .44559E-01    .16532E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.988058
  Index      = 2.32151
  Normalizat = 1.17982
  Prefactor  = 1.00353
 **********
 **   18 **HESSE 
 **********

 FCN=   7148.894     FROM HESSE     STATUS=OK            33 CALLS      261 TOTAL
                     EDM=   .85E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98806        13.670        .17161E-04   -1.5688    
   2  Index         2.3215        1.6832        .99079E-02   -.56533    
   3  Normalizat    1.1798        .21197        .24607E-03   -.87229    
   4  Prefactor     1.0035        .20767        .25904E-03   -.92612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.46174e-11
Minuit parameter uncertainties:
  1  7.35042
  2  1.73135
  3  0.212124
  4  0.207838
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/462877': 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) = 7148.8942252
delta logL = 0.00928322919481

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  9.881e-01  7.350e+00  0.000e+00  1.000e+06 ( 1.000e-11)
341        Index:  2.322e+00  1.731e+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.004e+00  2.078e-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.180e+00  2.121e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/462877/cmap_HighResolution_691113601_691372801_4FGL_J2256.0-2740_daily_bin1743.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.39e-03', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2022-11-29 01:21:13.442870', job_id='462877', GAL2='1.00', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1669713673.44', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='9.28e-03', ts2='0.02', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='1743' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov 29 01:21:13 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 462877: <4FGL_J2256.0-2740_daily_bin1743> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1743> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Nov 29 01:05:45 2022
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov 29 01:11:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov 29 01:11:34 2022
Terminated at Tue Nov 29 01:21:14 2022
Results reported at Tue Nov 29 01:21:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1743 344.025 -27.6739 691113601 691372801 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 :                                   534.40 sec.
    Max Memory :                                 1129 MB
    Average Memory :                             363.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   579 sec.
    Turnaround time :                            929 sec.

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

