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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1750
RA = 344.025, Dec = -27.6739
tmin = 692928001, tmax = 693187201
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='28450', job_status='RUN', time_executed='2022-12-20 01:59:04.911242', time_epoch_executed='1671530344.91' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28450

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28450/ft1_4FGL_J2256.0-2740_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28450/ft2_4FGL_J2256.0-2740_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28450/ft1_4FGL_J2256.0-2740_daily_bin1750.fits outfile=/scratch/kocevski/28450/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1750.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=692928001.0 tmax=693187201.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.58
user 3.34
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28450/ft1_filtered_4FGL_J2256.0-2740_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/28450/ft2_4FGL_J2256.0-2740_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/28450/ltcube_692928001_693187201_4FGL_J2256.0-2740_daily_bin1750.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/28450/ft2_4FGL_J2256.0-2740_daily_bin1750.fits
.....................!
real 11.92
user 11.55
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28450/ft1_filtered_4FGL_J2256.0-2740_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/28450/ft2_4FGL_J2256.0-2740_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/28450/ltcube_692928001_693187201_4FGL_J2256.0-2740_daily_bin1750.fits outfile=/scratch/kocevski/28450/expmap_692928001_693187201_4FGL_J2256.0-2740_daily_bin1750.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/28450/ltcube_692928001_693187201_4FGL_J2256.0-2740_daily_bin1750.fits
.....................!
real 192.39
user 186.13
sys 5.94

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/28450/ft1_filtered_4FGL_J2256.0-2740_daily_bin1750.fits scfile=/scratch/kocevski/28450/ft2_4FGL_J2256.0-2740_daily_bin1750.fits outfile=/scratch/kocevski/28450/cmap_692928001_693187201_4FGL_J2256.0-2740_daily_bin1750.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=344.025 yref=-27.6739 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.527       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.1468       1.0000          .0000       .10000E+07
     3 'norm      '    7.8899       1.0000          .0000       .10000E+07
     4 'Prefactor '    .69572E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    13.091       1.0000          .0000       .10000E+07
     6 'norm      '    9.7804       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14073E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10262E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .13750E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18550E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .83475E-03   1.0000          .0000       .10000E+07
    12 'norm      '    1.9017       1.0000          .0000       .10000E+07
    13 'Prefactor '    .15631E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .14982E-02   1.0000          .0000       .10000E+07
    15 'norm      '    2.2435       1.0000          .0000       .10000E+07
    16 'Prefactor '    .18123E-05   1.0000          .0000       .10000E+07
    17 'norm      '    3.0623       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1827       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .74511       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=   5101.834     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     1159 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.708        15.744       -.60583E-07    .91415E-03
   2  Prefactor     6.0459        9.2235        .96660E-07    .36500E-05
   3  norm          7.8890        10.896        .55433E-07   -.19870E-03
   4  Prefactor     .11102E-09    82.050       -.43938E-06** at limit **
   5  Prefactor     13.109        4.8564        .22242E-07    .24667E-02
   6  norm          9.7775        3.5153       -.14126E-07   -.60431E-05
   7  Prefactor      .0000        160.09        .18747E-06** at limit **
   8  Prefactor      .0000        18.464        .18591E-06** at limit **
   9  norm           .0000        1.9951       -.32893E-07** at limit **
  10  Prefactor      .0000        44.739       -.45252E-06** at limit **
  11  Prefactor      .0000        8.6471        .12810E-06** at limit **
  12  norm          1.9016        .75223        .16117E-07   -.56491E-02
  13  Prefactor      .0000        8.0611        .48579E-07** at limit **
  14  Prefactor     .22204E-09    66.862       -.10284E-05** at limit **
  15  norm          2.2390        4.1431       -.49851E-08   -.69987E-04
  16  Prefactor      .0000        12.570       -.68960E-07** at limit **
  17  norm          3.0604        3.1432       -.38893E-07    .60855E-03
  18  Normalizat    1.1832        .22858       -.15451E-05   -.41164E-04
  19  Prefactor     .74486        .22073        .29143E-05   -.47180E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.7075
  Prefactor  = 6.0459
  norm       = 7.88899
  Prefactor  = 1.11022e-10
  Prefactor  = 13.1086
  norm       = 9.77754
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.90163
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  norm       = 2.239
  Prefactor  = 0
  norm       = 3.06041
  Normalizat = 1.18316
  Prefactor  = 0.744863
 **********
 **   18 **HESSE 
 **********

 FCN=   5101.834     FROM HESSE     STATUS=OK           310 CALLS     1469 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.708        16.420        .25391E-03   -1.5629    
   2  Prefactor     6.0459        9.3142        .40469E-03   -1.5659    
   3  norm          7.8890        10.904        .35673E-03   -1.5652    
   4  Prefactor     .11102E-09    18.147        .11227E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.109        15.684        .27659E-03   -1.5636    
   6  norm          9.7775        3.5526        .32018E-03   -1.5645    
   7  Prefactor      .0000        160.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        18.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.9983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        44.568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        8.6367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.9016        .75680        .75386E-03   -1.5680    
  13  Prefactor      .0000        8.0826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .22204E-09    65.666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.2390        4.1805        .68585E-03   -1.5678    
  16  Prefactor      .0000        12.614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.0604        3.1584        .57945E-03   -1.5673    
  18  Normalizat    1.1832        .19423        .50889E-01   -.87125    
  19  Prefactor     .74486        .18555        .42999E-01   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57152e-10
Minuit parameter uncertainties:
  1  16.4205
  2  9.31417
  3  10.9037
  4  9.61721e-05
  5  15.6839
  6  3.55262
  7  7.84597e-05
  8  3.30727e-05
  9  1.82777e-06
  10  6.06713e-05
  11  1.98328e-05
  12  0.7568
  13  1.34338e-05
  14  0.000231303
  15  4.18051
  16  1.41446e-06
  17  3.15842
  18  0.194345
  19  0.185701
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  0.000e+00  1.983e-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:  7.449e-01  1.857e-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.943e-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.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28450/likelihoodResults_692928001_693187201_4FGL_J2256.0-2740_daily_bin1750.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) = 5101.7242988
delta logL = 0.109596236675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5101.7018348
delta logL = 0.13206023866

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1131       1.0000          .0000       .10000E+07
     2 'Index     '    1.8556       1.0000          .0000       10.000    
     3 'Normalizat'    1.1826       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73920       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=   5101.702     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      257 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1130        4.5964        .70937E-03   -.27831E-01
   2  Index         1.8560        .55496        .16837       -.92183E-04
   3  Normalizat    1.1825        .18941        .50878E-01    .59820E-05
   4  Prefactor     .73928        .18445        .42921E-01    .15684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.11303
  Index      = 1.85598
  Normalizat = 1.18246
  Prefactor  = 0.739278
 **********
 **   18 **HESSE 
 **********

 FCN=   5101.702     FROM HESSE     STATUS=OK            33 CALLS      290 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1130        5.1858        .21830E-04   -1.5679    
   2  Index         1.8560        .80974        .99793E-02   -.68001    
   3  Normalizat    1.1825        .22564        .22494E-03   -.87147    
   4  Prefactor     .73928        .21940        .26883E-03   -1.0201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45633e-08
Minuit parameter uncertainties:
  1  5.18583
  2  0.815711
  3  0.22583
  4  0.219659
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28450': 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) = 5101.70183446
delta logL = 0.13206057668

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.113e+00  5.186e+00  0.000e+00  1.000e+06 ( 1.000e-11)
341        Index:  1.856e+00  8.157e-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:  7.393e-01  2.197e-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.182e+00  2.258e-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/28450/cmap_HighResolution_692928001_693187201_4FGL_J2256.0-2740_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.66e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2022-12-20 02:06:58.638049', job_id='28450', GAL2='0.74', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1671530818.64', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='1.32e-01', ts2='0.26', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='1750' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 02:06:58 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 28450: <4FGL_J2256.0-2740_daily_bin1750> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1750> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 20 01:55:20 2022
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:55:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:55:21 2022
Terminated at Tue Dec 20 02:06:59 2022
Results reported at Tue Dec 20 02:06:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1750 344.025 -27.6739 692928001 693187201 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 :                                   476.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             251.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            699 sec.

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

