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 128 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1701
RA = 344.025, Dec = -27.6739
tmin = 680227201, tmax = 680486401
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='192124', job_status='RUN', time_executed='2022-07-26 02:15:36.961188', time_epoch_executed='1658826936.96' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/192124

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/192124/ft1_4FGL_J2256.0-2740_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/192124/ft2_4FGL_J2256.0-2740_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/192124/ft1_4FGL_J2256.0-2740_daily_bin1701.fits outfile=/scratch/kocevski/192124/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1701.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=680227201.0 tmax=680486401.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.89
user 2.66
sys 0.21

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

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

Number of photons that the gtmktime cut: 100

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/192124/ft1_filtered_4FGL_J2256.0-2740_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/192124/ft2_4FGL_J2256.0-2740_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/192124/ltcube_680227201_680486401_4FGL_J2256.0-2740_daily_bin1701.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/192124/ft2_4FGL_J2256.0-2740_daily_bin1701.fits
.....................!
real 13.85
user 13.45
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/192124/ft1_filtered_4FGL_J2256.0-2740_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/192124/ft2_4FGL_J2256.0-2740_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/192124/ltcube_680227201_680486401_4FGL_J2256.0-2740_daily_bin1701.fits outfile=/scratch/kocevski/192124/expmap_680227201_680486401_4FGL_J2256.0-2740_daily_bin1701.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/192124/ltcube_680227201_680486401_4FGL_J2256.0-2740_daily_bin1701.fits
.....................!
real 193.01
user 186.41
sys 5.48

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/192124/ft1_filtered_4FGL_J2256.0-2740_daily_bin1701.fits scfile=/scratch/kocevski/192124/ft2_4FGL_J2256.0-2740_daily_bin1701.fits outfile=/scratch/kocevski/192124/cmap_680227201_680486401_4FGL_J2256.0-2740_daily_bin1701.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/192124/ft1_filtered_4FGL_J2256.0-2740_daily_bin1701.fits scfile=/scratch/kocevski/192124/ft2_4FGL_J2256.0-2740_daily_bin1701.fits outfile=/scratch/kocevski/192124/cmap_HighResolution_680227201_680486401_4FGL_J2256.0-2740_daily_bin1701.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/192124/ft1_filtered_4FGL_J2256.0-2740_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/192124/ft2_4FGL_J2256.0-2740_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/192124/Model_4FGL_J2256.0-2740_daily_bin1701.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/192124/ft1_filtered_4FGL_J2256.0-2740_daily_bin1701.fits....................!
real 21.48
user 20.12
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/192124/ft1_filtered_4FGL_J2256.0-2740_daily_bin1701.fits', '/scratch/kocevski/192124/ft2_4FGL_J2256.0-2740_daily_bin1701.fits', expMap='/scratch/kocevski/192124/expmap_680227201_680486401_4FGL_J2256.0-2740_daily_bin1701.fits', expCube='/scratch/kocevski/192124/ltcube_680227201_680486401_4FGL_J2256.0-2740_daily_bin1701.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/192124/Model_4FGL_J2256.0-2740_daily_bin1701.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  1.000e-04  1.000e+04 ( 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/192124/ft1_filtered_4FGL_J2256.0-2740_daily_bin1701.fits
Spacecraft file(s): /scratch/kocevski/192124/ft2_4FGL_J2256.0-2740_daily_bin1701.fits
Exposure map: /scratch/kocevski/192124/expmap_680227201_680486401_4FGL_J2256.0-2740_daily_bin1701.fits
Exposure cube: /scratch/kocevski/192124/ltcube_680227201_680486401_4FGL_J2256.0-2740_daily_bin1701.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/192124/Model_4FGL_J2256.0-2740_daily_bin1701.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) = 1205.86493039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13113E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    185.75       1.0000         .10000E-03   10000.    
     3 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10697E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    116.67       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13291E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10148E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    53.491       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.839       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .20719E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    47.719       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10720E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.3832       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10265E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .97007       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .55882       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1205.549     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     3200 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    87.921        .25888E-06** at limit **
   2  Prefactor     185.66        279.13        .36789E-06   -.76711E-04
   3  norm          .10000E-03    36.311       -.31124E-07** at limit **
   4  Prefactor     .10002E-03    115.82       -.77104E-06** at limit **
   5  Prefactor     .10000E-03    17.368       -.78815E-08** at limit **
   6  norm          .10001E-03    26.671       -.84061E-05** at limit **
   7  Prefactor     116.55        126.41       -.44743E-05    .11740E-03
   8  Prefactor     .10002E-03    152.28        .30644E-06** at limit **
   9  norm          .10000E-03    6.9019        .17596E-06** at limit **
  10  Prefactor     .10000E-03    78.560        .78562E-06** at limit **
  11  Prefactor     53.474        34.038       -.13747E-05   -.42661E-03
  12  norm          .10000E-03    1.3980        .14382E-05** at limit **
  13  Prefactor     .10000E-03    1026.3       -.25900E-06** at limit **
  14  Prefactor     43.844        30.434       -.46029E-08   -.32612E-04
  15  Prefactor     .10000E-03    131.93        .20349E-05** at limit **
  16  norm          47.728        30.230        .42569E-07   -.29879E-04
  17  Prefactor     .10000E-03    95.318        .31963E-06** at limit **
  18  norm          3.3824        5.0867        .65692E-07    .22220E-04
  19  Prefactor     .10000E-03    97.466        .43148E-06** at limit **
  20  Prefactor     .10000E-03    38.133        .30493E-07** at limit **
  21  Normalizat    .96999        .36432        .12864E-05   -.84001E-04
  22  Prefactor     .55884        .31692       -.15114E-05   -.64861E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Prefactor  = 185.657
  norm       = 0.0001
  Prefactor  = 0.000100018
  Prefactor  = 0.0001
  norm       = 0.000100012
  Prefactor  = 116.552
  Prefactor  = 0.000100021
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.4742
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 43.8443
  Prefactor  = 0.0001
  norm       = 47.7277
  Prefactor  = 0.000100003
  norm       = 3.38243
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.969992
  Prefactor  = 0.558836
 **********
 **   18 **HESSE 
 **********

 FCN=   1205.549     FROM HESSE     STATUS=OK           328 CALLS     3528 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    88.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     185.66        282.19        .14813E-03   -1.2974    
   3  norm          .10000E-03    36.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10002E-03    116.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.373        .14138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10001E-03    26.071        .22003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     116.55        127.47        .18625E-03   -1.3545    
   8  Prefactor     .10002E-03    154.80        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.9141        .89101E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    79.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     53.474        33.988        .54841E-04   -1.4244    
  12  norm          .10000E-03    1.8598        .81055E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1028.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     43.844        30.451        .60550E-04   -1.4383    
  15  Prefactor     .10000E-03    134.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          47.728        30.298        .58046E-04   -1.4325    
  17  Prefactor     .10000E-03    95.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.3824        5.0734        .88311E-04   -1.5340    
  19  Prefactor     .10000E-03    98.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    38.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .96999        .41471        .23806E-03   -.94043    
  22  Prefactor     .55884        .35772        .27690E-03   -1.0935    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72658e-09
Minuit parameter uncertainties:
  1  0.00138139
  2  284.289
  3  2.70484e-05
  4  0.0029371
  5  1.06759e-06
  6  0.00113336
  7  127.771
  8  0.00360598
  9  3.30595e-05
  10  0.000370208
  11  34.0007
  12  0.000119337
  13  0.000590074
  14  30.4617
  15  0.000475772
  16  30.3078
  17  0.00102593
  18  5.07403
  19  0.00068458
  20  3.8287e-05
  21  0.416094
  22  0.359179
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  5.347e+01  3.400e+01  1.000e-04  1.000e+04 ( 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:  5.588e-01  3.592e-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:  9.700e-01  4.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.19
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 3.66e-07 +/- 2.32e-07
Energy Flux (Fixed Index): 7.22e-05 +/- 4.59e-05

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) = 1205.51548267
delta logL = 0.0337121065952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1205.51334944
delta logL = 0.0358453275633

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    54.319       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2520       1.0000          .0000       10.000    
     3 'Normalizat'    .94363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57789       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=   1205.513     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      191 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     54.319        36.265        .13606E-02   -.86441E-03
   2  Index         3.2519        .90995        .14103       -.14543E-03
   3  Normalizat    .94341        .35848        .45457E-01    .99063E-05
   4  Prefactor     .57816        .31776        .61632E-01   -.82925E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 54.3188
  Index      = 3.25194
  Normalizat = 0.943415
  Prefactor  = 0.578158
 **********
 **   18 **HESSE 
 **********

 FCN=   1205.513     FROM HESSE     STATUS=OK            31 CALLS      222 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     54.319        33.510        .54423E-04   -1.4233    
   2  Index         3.2519        .88296        .59445E-02   -.35716    
   3  Normalizat    .94341        .41562        .24084E-03   -.94951    
   4  Prefactor     .57816        .36331        .27268E-03   -1.0851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23016e-09
Minuit parameter uncertainties:
  1  33.5217
  2  0.888273
  3  0.417053
  4  0.364796
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/192124': 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) = 1205.51334915
delta logL = 0.0358456219403

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  5.432e+01  3.352e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.252e+00  8.883e-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:  5.782e-01  3.648e-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:  9.434e-01  4.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.25
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 3.25 +/- 0.89
Photon Flux (Free Index): 4.08e-07 +/- 2.88e-07
Energy Flux (Free Index): 7.32e-05 +/- 4.52e-05

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/192124/cmap_HighResolution_680227201_680486401_4FGL_J2256.0-2740_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.66e-07', energy_flux2='7.32e-05', photon_flux_error='2.32e-07', dlogl='3.58e-02', energy_flux='7.22e-05', photon_flux2='4.08e-07', job_status='DONE', time_completed='2022-07-26 02:21:51.081249', photon_index_error2='0.89', photon_index2='3.25', ts='5.19', fit_tolerance='1e-08', GAL='0.56', photon_index_error='0.00', energy_flux_error2='4.52e-05', EG='0.97', time_epoch_completed='1658827311.08', return_code='0', job_id='192124', GAL2='0.58', EG2='0.94', return_code2='0', energy_flux_error='4.59e-05', photon_flux_error2='2.88e-07', ts2='5.25', photon_index='3.02' WHERE bin_id='1701' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 02:21:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 192124: <4FGL_J2256.0-2740_daily_bin1701> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1701> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul 26 02:10:32 2022
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:13:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:13:20 2022
Terminated at Tue Jul 26 02:21:51 2022
Results reported at Tue Jul 26 02:21:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1701 344.025 -27.6739 680227201 680486401 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 :                                   376.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   511 sec.
    Turnaround time :                            679 sec.

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

