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


Performing analysis on: 4FGL_J1955.2+1358_weekly_bin716
RA = 298.82, Dec = 13.9824
tmin = 672019201, tmax = 672624001
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='659262', job_status='RUN', time_executed='2022-04-26 01:21:04.652848', time_epoch_executed='1650961264.65' WHERE source_name='4FGL J1955.2+1358' and cadence='weekly' and bin_id='716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659262

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659262/ft1_4FGL_J1955.2+1358_weekly_bin716.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659262/ft2_4FGL_J1955.2+1358_weekly_bin716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659262/ft1_4FGL_J1955.2+1358_weekly_bin716.fits outfile=/scratch/kocevski/659262/ft1_filteredMKT_4FGL_J1955.2+1358_weekly_bin716.fits ra=298.82 dec=13.9824 rad=12.0 tmin=672019201.0 tmax=672624001.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 8.85
user 8.52
sys 0.28

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/659262/ft2_4FGL_J1955.2+1358_weekly_bin716.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/659262/ft2_4FGL_J1955.2+1358_weekly_bin716.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/659262/ft1_filteredMKT_4FGL_J1955.2+1358_weekly_bin716.fits evtable="EVENTS" outfile="/scratch/kocevski/659262/ft1_filtered_4FGL_J1955.2+1358_weekly_bin716.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.57
user 0.39
sys 0.17

Number of photons that the gtmktime cut: 10522

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/659262/ft1_filtered_4FGL_J1955.2+1358_weekly_bin716.fits" evtable="EVENTS" scfile=/scratch/kocevski/659262/ft2_4FGL_J1955.2+1358_weekly_bin716.fits sctable="SC_DATA" outfile=/scratch/kocevski/659262/ltcube_672019201_672624001_4FGL_J1955.2+1358_weekly_bin716.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/659262/ft2_4FGL_J1955.2+1358_weekly_bin716.fits
.....................!
real 28.11
user 27.70
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659262/ft1_filtered_4FGL_J1955.2+1358_weekly_bin716.fits evtable="EVENTS" scfile=/scratch/kocevski/659262/ft2_4FGL_J1955.2+1358_weekly_bin716.fits sctable="SC_DATA" expcube=/scratch/kocevski/659262/ltcube_672019201_672624001_4FGL_J1955.2+1358_weekly_bin716.fits outfile=/scratch/kocevski/659262/expmap_672019201_672624001_4FGL_J1955.2+1358_weekly_bin716.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/659262/ltcube_672019201_672624001_4FGL_J1955.2+1358_weekly_bin716.fits
.....................!
real 191.19
user 185.71
sys 5.09

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
Extended source W 51C in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W51C.fits is the correct path to the extended template.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W44.fits is the correct path to the extended template.
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 256 point sources and 6 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1955.2+1358 @ 298.82 13.9824

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/659262/ft1_filtered_4FGL_J1955.2+1358_weekly_bin716.fits scfile=/scratch/kocevski/659262/ft2_4FGL_J1955.2+1358_weekly_bin716.fits outfile=/scratch/kocevski/659262/cmap_672019201_672624001_4FGL_J1955.2+1358_weekly_bin716.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=298.82 yref=13.9824 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.61
user 0.44
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659262/ft1_filtered_4FGL_J1955.2+1358_weekly_bin716.fits scfile=/scratch/kocevski/659262/ft2_4FGL_J1955.2+1358_weekly_bin716.fits outfile=/scratch/kocevski/659262/cmap_HighResolution_672019201_672624001_4FGL_J1955.2+1358_weekly_bin716.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=298.82 yref=13.9824 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.63
user 0.45
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/659262/ft1_filtered_4FGL_J1955.2+1358_weekly_bin716.fits evtable="EVENTS" scfile=/scratch/kocevski/659262/ft2_4FGL_J1955.2+1358_weekly_bin716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/659262/Model_4FGL_J1955.2+1358_weekly_bin716.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 Cygnus Loop
adding source EG_v02
adding source G42.8+0.6
adding source GAL_V02
adding source HESS J1857+026
adding source Kes 79
adding source W 44
adding source W 51C
Working on...
/scratch/kocevski/659262/ft1_filtered_4FGL_J1955.2+1358_weekly_bin716.fits.....................!
real 3409.77
user 3402.58
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/659262/ft1_filtered_4FGL_J1955.2+1358_weekly_bin716.fits', '/scratch/kocevski/659262/ft2_4FGL_J1955.2+1358_weekly_bin716.fits', expMap='/scratch/kocevski/659262/expmap_672019201_672624001_4FGL_J1955.2+1358_weekly_bin716.fits', expCube='/scratch/kocevski/659262/ltcube_672019201_672624001_4FGL_J1955.2+1358_weekly_bin716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/659262/Model_4FGL_J1955.2+1358_weekly_bin716.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1955.2+1358'

4FGL J1955.2+1358
   Spectrum: LogParabola
576         norm:  1.281e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
577        alpha:  2.277e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
578         beta:  1.829e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
579           Eb:  1.033e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/659262/ft1_filtered_4FGL_J1955.2+1358_weekly_bin716.fits
Spacecraft file(s): /scratch/kocevski/659262/ft2_4FGL_J1955.2+1358_weekly_bin716.fits
Exposure map: /scratch/kocevski/659262/expmap_672019201_672624001_4FGL_J1955.2+1358_weekly_bin716.fits
Exposure cube: /scratch/kocevski/659262/ltcube_672019201_672624001_4FGL_J1955.2+1358_weekly_bin716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/659262/Model_4FGL_J1955.2+1358_weekly_bin716.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) = 96872.7973282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.718       1.0000         .10000E-03   10000.    
     2 'norm      '    10.366       1.0000         .10000E-03   10000.    
     3 'norm      '    2.3415       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .53743       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.667       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.8967       1.0000         .10000E-03   10000.    
     9 'norm      '    6.5726       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.447       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10444E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .57923       1.0000         .10000E-03   10000.    
    13 'Normalizat'    .85751       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0170       1.0000          .0000       10.000    
    15 'norm      '    6.7815       1.0000         .10000E-03   10000.    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   96872.78     FROM MIGRAD    STATUS=CONVERGED     50 CALLS     1160 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.717        1.0045       -.17891E-07    .17021E-03
   2  norm          10.365        1.0018       -.55770E-08    .36011E-04
   3  norm          2.3415        2.1422        .39838E-06    .10076E-03
   4  Prefactor     .10000E-03    .46151        .15552E-06** at limit **
   5  Prefactor     .53826        1.3963        .35842E-06    .75971E-04
   6  Prefactor     14.665        1.0558       -.17121E-06    .14364E-02
   7  Prefactor     .10000E-03    8.0561        .75210E-06** at limit **
   8  norm          2.8968        1.0173       -.48560E-07   -.11180E-03
   9  norm          6.5723        3.5183       -.30671E-05   -.36272E-02
  10  Prefactor     12.453        2.8496       -.17036E-05    .66953E-02
  11  Prefactor     .10000E-03    31.199        .30149E-05** at limit **
  12  norm          .57870        .36932       -.44369E-07   -.53621E-02
  13  Normalizat    .85767        .15041        .16839E-05   -.26168E-04
  14  Prefactor     1.0170        .15688E-01   -.68486E-07   -.65051E-03
  15  norm          6.7819        1.4159        .51246E-09   -.17650E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.7165
  norm       = 10.3654
  norm       = 2.34149
  Prefactor  = 0.0001
  Prefactor  = 0.538265
  Prefactor  = 14.6653
  Prefactor  = 0.0001
  norm       = 2.89679
  norm       = 6.57226
  Prefactor  = 12.4528
  Prefactor  = 0.000100001
  norm       = 0.578704
  Normalizat = 0.857671
  Prefactor  = 1.01701
  norm       = 6.78192
 **********
 **   18 **HESSE 
 **********

 FCN=   96872.78     FROM HESSE     STATUS=OK           236 CALLS     1396 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.717        12.914        .28081E-02   -1.4995    
   2  norm          10.365        12.624        .31112E-02   -1.5064    
   3  norm          2.3415        2.1461        .66984E-02   -1.5402    
   4  Prefactor     .10000E-03    .44669        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .53826        1.0119        .84142E-01   -1.5561    
   6  Prefactor     14.665        17.053        .26146E-02   -1.4942    
   7  Prefactor     .10000E-03    8.0259        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.8968        2.1213        .59690E-02   -1.5368    
   9  norm          6.5723        3.7808        .39133E-02   -1.5195    
  10  Prefactor     12.453        7.6287        .28385E-02   -1.5002    
  11  Prefactor     .10000E-03    3.1360        .13990       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .57870        .46294        .33886E-01   -1.5556    
  13  Normalizat    .85767        .16665        .27636       -.97964    
  14  Prefactor     1.0170        .16583E-01    .26302E-01   -.92165    
  15  norm          6.7819        1.4226        .38519E-02   -1.5187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.00512e-07
Minuit parameter uncertainties:
  1  12.9163
  2  12.627
  3  2.14621
  4  6.90279e-06
  5  1.01196
  6  17.0583
  7  3.70573e-05
  8  2.12132
  9  3.78098
  10  7.62927
  11  9.77925e-05
  12  0.462946
  13  0.166754
  14  0.0165833
  15  1.42261
Done.

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

Extracting fit parameters...

4FGL J1955.2+1358
   Spectrum: LogParabola
576         norm:  2.897e+00  2.121e+00  1.000e-04  1.000e+04 ( 1.000e-12)
577        alpha:  2.277e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
578         beta:  1.829e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
579           Eb:  1.033e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
929    Prefactor:  1.017e+00  1.658e-02  0.000e+00  1.000e+01 ( 1.000e+00)
930        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
931        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
925   Normalization:  8.577e-01  1.668e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.17
Ra Dec: 298.820 13.982
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 2.79e-08 +/- 2.04e-08
Energy Flux (Fixed Index): 1.18e-05 +/- 8.64e-06

TS (Fixed Index): 3.17
Ra Dec: 298.820 13.982
Photon Flux Upper Limit: 7.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.99e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/659262/likelihoodResults_672019201_672624001_4FGL_J1955.2+1358_weekly_bin716.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) = 96872.7251302
delta logL = 0.0538343864173

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 96872.7223553
delta logL = 0.0566092850786

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7627       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5324       1.0000          .0000       5.0000    
     3 'Normalizat'    .84975       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0171       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   96872.72     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      263 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7625        2.3509        .24488E-03    .12405E-02
   2  alpha         2.5324        .83293        .52061E-01    .77266E-04
   3  Normalizat    .84975        .14890        .12434E-02    .43477E-03
   4  Prefactor     1.0171        .15057E-01    .11624E-03    .70932E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.76252
  alpha      = 2.53244
  Normalizat = 0.849746
  Prefactor  = 1.01712
 **********
 **   18 **HESSE 
 **********

 FCN=   96872.72     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7625        2.0537        .97952E-05   -1.5376    
   2  alpha         2.5324        .73272        .20824E-02    .12978E-01
   3  Normalizat    .84975        .14823        .49737E-04   -.98249    
   4  Prefactor     1.0171        .15048E-01    .23247E-04   -.92161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.4022e-10
Minuit parameter uncertainties:
  1  2.05379
  2  0.743635
  3  0.148301
  4  0.0150484
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659262': 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) = 96872.7223553
delta logL = 0.0566092896916

Extracting fit parameters...

4FGL J1955.2+1358
   Spectrum: LogParabola
576         norm:  2.763e+00  2.054e+00  1.000e-04  1.000e+04 ( 1.000e-12)
577        alpha:  2.532e+00  7.436e-01  0.000e+00  5.000e+00 ( 1.000e+00)
578         beta:  1.829e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
579           Eb:  1.033e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
929    Prefactor:  1.017e+00  1.505e-02  0.000e+00  1.000e+01 ( 1.000e+00)
930        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
931        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
925   Normalization:  8.497e-01  1.483e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.30
Ra Dec: 298.820 13.982
Photon Index (Free Index): 2.53 +/- 0.74
Photon Flux (Free Index): 3.84e-08 +/- 4.04e-08
Energy Flux (Free Index): 1.26e-05 +/- 8.78e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/659262/cmap_HighResolution_672019201_672624001_4FGL_J1955.2+1358_weekly_bin716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.99e-05', comment='SUCCESS', photon_flux='2.79e-08', energy_flux2='1.26e-05', photon_flux_error='2.04e-08', dlogl='5.66e-02', energy_flux='1.18e-05', photon_flux2='3.84e-08', job_status='DONE', time_completed='2022-04-26 03:41:09.726706', photon_index_error2='0.74', photon_index2='2.53', ts='3.17', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='7.07e-08', energy_flux_error2='8.78e-06', EG='0.86', time_epoch_completed='1650969669.73', return_code='0', job_id='659262', GAL2='1.02', EG2='0.85', return_code2='0', energy_flux_error='8.64e-06', photon_flux_error2='4.04e-08', ts2='3.30', photon_index='2.28' WHERE bin_id='716' AND source_name='4FGL J1955.2+1358' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 26 03:41:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 659262: <4FGL_J1955.2+1358_weekly_bin716> in cluster <slac> Done

Job <4FGL_J1955.2+1358_weekly_bin716> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 26 00:50:25 2022
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 26 01:18:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 26 01:18:52 2022
Terminated at Tue Apr 26 03:41:11 2022
Results reported at Tue Apr 26 03:41:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   8398.00 sec.
    Max Memory :                                 1271 MB
    Average Memory :                             562.02 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   8538 sec.
    Turnaround time :                            10246 sec.

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

