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


Performing analysis on: 4FGL_J1955.1-1604_daily_bin1756
RA = 298.777, Dec = -16.0715
tmin = 694483201, tmax = 694742401
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='22753', job_status='RUN', time_executed='2023-01-07 01:28:46.824996', time_epoch_executed='1673083726.83' WHERE source_name='4FGL J1955.1-1604' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/22753

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/22753/ft1_4FGL_J1955.1-1604_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/22753/ft2_4FGL_J1955.1-1604_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/22753/ft1_4FGL_J1955.1-1604_daily_bin1756.fits outfile=/scratch/kocevski/22753/ft1_filteredMKT_4FGL_J1955.1-1604_daily_bin1756.fits ra=298.777 dec=-16.0715 rad=12.0 tmin=694483201.0 tmax=694742401.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.02
user 2.80
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/22753/ft2_4FGL_J1955.1-1604_daily_bin1756.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/22753/ft2_4FGL_J1955.1-1604_daily_bin1756.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/22753/ft1_filteredMKT_4FGL_J1955.1-1604_daily_bin1756.fits evtable="EVENTS" outfile="/scratch/kocevski/22753/ft1_filtered_4FGL_J1955.1-1604_daily_bin1756.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: 149

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/22753/ft1_filtered_4FGL_J1955.1-1604_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/22753/ft2_4FGL_J1955.1-1604_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/22753/ltcube_694483201_694742401_4FGL_J1955.1-1604_daily_bin1756.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/22753/ft2_4FGL_J1955.1-1604_daily_bin1756.fits
.....................!
real 15.67
user 15.23
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/22753/ft1_filtered_4FGL_J1955.1-1604_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/22753/ft2_4FGL_J1955.1-1604_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/22753/ltcube_694483201_694742401_4FGL_J1955.1-1604_daily_bin1756.fits outfile=/scratch/kocevski/22753/expmap_694483201_694742401_4FGL_J1955.1-1604_daily_bin1756.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/22753/ltcube_694483201_694742401_4FGL_J1955.1-1604_daily_bin1756.fits
.....................!
real 191.93
user 186.00
sys 5.22

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 HESS J1825-137 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source W 41 in ROI with RadialGaussian spatial model.
Extended source FGES J1836.5-0651 in ROI with RadialDisk spatial model.
Extended source FGES J1838.9-0704 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Extended source HESS J1841-055 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HESSJ1841-055.fits is the correct path to the extended template.
Added 247 point sources and 7 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.1-1604 @ 298.777 -16.0715

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/22753/ft1_filtered_4FGL_J1955.1-1604_daily_bin1756.fits scfile=/scratch/kocevski/22753/ft2_4FGL_J1955.1-1604_daily_bin1756.fits outfile=/scratch/kocevski/22753/cmap_694483201_694742401_4FGL_J1955.1-1604_daily_bin1756.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.777 yref=-16.0715 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/22753/ft1_filtered_4FGL_J1955.1-1604_daily_bin1756.fits scfile=/scratch/kocevski/22753/ft2_4FGL_J1955.1-1604_daily_bin1756.fits outfile=/scratch/kocevski/22753/cmap_HighResolution_694483201_694742401_4FGL_J1955.1-1604_daily_bin1756.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.777 yref=-16.0715 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/22753/ft1_filtered_4FGL_J1955.1-1604_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/22753/ft2_4FGL_J1955.1-1604_daily_bin1756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/22753/Model_4FGL_J1955.1-1604_daily_bin1756.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 FGES J1836.5-0651
adding source FGES J1838.9-0704
adding source G24.7+0.6
adding source GAL_V02
adding source HESS J1825-137
adding source HESS J1841-055
adding source Kes 73
adding source W 41
Working on...
/scratch/kocevski/22753/ft1_filtered_4FGL_J1955.1-1604_daily_bin1756.fits......................!
real 35.70
user 34.32
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/22753/ft1_filtered_4FGL_J1955.1-1604_daily_bin1756.fits', '/scratch/kocevski/22753/ft2_4FGL_J1955.1-1604_daily_bin1756.fits', expMap='/scratch/kocevski/22753/expmap_694483201_694742401_4FGL_J1955.1-1604_daily_bin1756.fits', expCube='/scratch/kocevski/22753/ltcube_694483201_694742401_4FGL_J1955.1-1604_daily_bin1756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/22753/Model_4FGL_J1955.1-1604_daily_bin1756.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1955.1-1604'

4FGL J1955.1-1604
   Spectrum: PowerLaw
577    Prefactor:  5.966e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
578        Index:  2.029e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
579        Scale:  3.293e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/22753/ft1_filtered_4FGL_J1955.1-1604_daily_bin1756.fits
Spacecraft file(s): /scratch/kocevski/22753/ft2_4FGL_J1955.1-1604_daily_bin1756.fits
Exposure map: /scratch/kocevski/22753/expmap_694483201_694742401_4FGL_J1955.1-1604_daily_bin1756.fits
Exposure cube: /scratch/kocevski/22753/ltcube_694483201_694742401_4FGL_J1955.1-1604_daily_bin1756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/22753/Model_4FGL_J1955.1-1604_daily_bin1756.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) = 1748.62868381

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .42220E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33030       1.0000          .0000       .10000E+07
     3 'norm      '    .17533       1.0000          .0000       .10000E+07
     4 'Prefactor '    .30106E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .34234E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .30371E-01   1.0000          .0000       .10000E+07
     7 'norm      '    4.9046       1.0000          .0000       .10000E+07
     8 'Prefactor '    248.32       1.0000          .0000       .10000E+07
     9 'Prefactor '    1099.6       1.0000          .0000       .10000E+07
    10 'Prefactor '    144.70       1.0000          .0000       .10000E+07
    11 'Prefactor '    35.858       1.0000          .0000       .10000E+07
    12 'Prefactor '    .22322       1.0000          .0000       .10000E+07
    13 'Prefactor '    .71114       1.0000          .0000       .10000E+07
    14 'Prefactor '    7.3078       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11803E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .14342E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .12486E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    111.22       1.0000          .0000       .10000E+07
    19 'norm      '    .15343E-01   1.0000          .0000       .10000E+07
    20 'norm      '    28.315       1.0000          .0000       .10000E+07
    21 'norm      '    .23592E-07   1.0000          .0000       .10000E+07
    22 'norm      '    6.3242       1.0000          .0000       .10000E+07
    23 'Prefactor '    .20658E-05   1.0000          .0000       .10000E+07
    24 'Normalizat'    2.3693       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .50860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1748.606     FROM MIGRAD    STATUS=CONVERGED    251 CALLS     2244 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.0166        .15102E-07** at limit **
   2  Prefactor      .0000        100.67       -.60211E-08** at limit **
   3  norm           .0000        68.195       -.29095E-09** at limit **
   4  Prefactor     .55511E-10    131.70        .65505E-07** at limit **
   5  Prefactor      .0000        31.905       -.17872E-07** at limit **
   6  norm          .55511E-10    24.750       -.49835E-07** at limit **
   7  norm          3.9294        79.945        .95839E-06   -.25349E-01
   8  Prefactor     257.86        207.96        .21693E-06   -.33591E-01
   9  Prefactor     1105.2        233.05       -.31808E-06   -.68063    
  10  Prefactor     147.52        72.470        .52991E-07   -.26404E-01
  11  Prefactor     35.764        25.672        .15491E-07   -.94211E-03
  12  Prefactor     .55511E-10    76.579        .82291E-07** at limit **
  13  Prefactor     .12490E-06    306.47        .69451E-06** at limit **
  14  Prefactor     7.1901        7.9006        .97372E-08   -.10431E-03
  15  Prefactor      .0000        68.627       -.67377E-07** at limit **
  16  norm           .0000        63.637       -.83095E-07** at limit **
  17  norm           .0000        16.240       -.20573E-07** at limit **
  18  Prefactor     120.01        316.94       -.12229E-05    .16257    
  19  norm           .0000        33.718       -.25046E-07** at limit **
  20  norm          27.411        82.248        .82408E-06    .17943E-01
  21  norm           .0000        11.840       -.15669E-07** at limit **
  22  norm          6.3972        12.937       -.67027E-07   -.76008E-03
  23  Prefactor     .55511E-10    6.4279       -.50030E-07** at limit **
  24  Normalizat    2.3698        .77812       -.20494E-06   -.27279E-04
  25  Prefactor     .50692        .18749       -.10031E-05   -.53811E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 3.92943
  Prefactor  = 257.862
  Prefactor  = 1105.19
  Prefactor  = 147.521
  Prefactor  = 35.7637
  Prefactor  = 5.55112e-11
  Prefactor  = 1.249e-07
  Prefactor  = 7.19009
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 120.012
  norm       = 0
  norm       = 27.4112
  norm       = 0
  norm       = 6.39724
  Prefactor  = 5.55112e-11
  Normalizat = 2.36979
  Prefactor  = 0.506919
 **********
 **   18 **HESSE 
 **********

 FCN=   1748.606     FROM HESSE     STATUS=OK           469 CALLS     2713 TOTAL
                     EDM=   .31E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.0232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        100.65        .98051E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        68.167        .12232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    131.41        .16445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        31.920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    24.801        .16431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.9294        387.21        .45393E-03   -1.5668    
   8  Prefactor     257.86        208.01        .63467E-04   -1.5387    
   9  Prefactor     1105.2        843.50        .30173E-04   -1.5043    
  10  Prefactor     147.52        73.027        .83139E-04   -1.5465    
  11  Prefactor     35.764        25.694        .16702E-03   -1.5588    
  12  Prefactor     .55511E-10    76.302        .11376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .12490E-06    306.37        .59808E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.1901        7.9026        .37079E-03   -1.5654    
  15  Prefactor      .0000        68.733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        63.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        16.180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     120.01        327.63        .94827E-04   -1.5489    
  19  norm           .0000        33.676        .17365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          27.411        90.300        .18796E-03   -1.5603    
  21  norm           .0000        3.6351        .26645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          6.3972        12.889        .39890E-03   -1.5657    
  23  Prefactor     .55511E-10    6.4347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    2.3698        .69299        .94807E-01   -.55574    
  25  Prefactor     .50692        .16892        .39793E-01   -1.1166    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.00031233
Minuit parameter uncertainties:
  1  7.58296e-06
  2  2.18575e-05
  3  5.34253e-06
  4  0.000188778
  5  2.8012e-05
  6  5.67996e-05
  7  78.018
  8  208.014
  9  843.593
  10  73.0276
  11  25.6945
  12  0.000154825
  13  0.012373
  14  7.90262
  15  8.66922e-05
  16  4.30509e-05
  17  1.1237e-05
  18  327.676
  19  3.22432e-05
  20  90.3045
  21  5.15035e-06
  22  12.8892
  23  2.94748e-05
  24  0.696105
  25  0.169087
Done.

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

Extracting fit parameters...

4FGL J1955.1-1604
   Spectrum: PowerLaw
577    Prefactor:  5.551e-11  1.548e-04  0.000e+00  1.000e+06 ( 1.000e-14)
578        Index:  2.029e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
579        Scale:  3.293e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
868    Prefactor:  5.069e-01  1.691e-01  0.000e+00  1.000e+01 ( 1.000e+00)
869        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
870        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
857   Normalization:  2.370e+00  6.961e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 298.777 -16.072
Photon Flux Upper Limit: 4.66e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.50e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/22753/likelihoodResults_694483201_694742401_4FGL_J1955.1-1604_daily_bin1756.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) = 1748.61233443
delta logL = -0.00624149795976

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1748.6060932
delta logL = -2.75417278317e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38303E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.6576       1.0000          .0000       10.000    
     3 'Normalizat'    2.3702       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50679       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1748.606     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      273 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30531E-08    24.921        .42118E-03** at limit **
   2  Index         .75003E-01    5.7701        .50000       -.12506E-09
   3  Normalizat    2.3698        .64783        .94807E-01   -.11285E-03
   4  Prefactor     .50692        .15896        .39767E-01    .17377E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.05311e-09
  Index      = 0.0750028
  Normalizat = 2.36976
  Prefactor  = 0.506924
 **********
 **   18 **HESSE 
 **********

 FCN=   1748.606     FROM HESSE     STATUS=OK            29 CALLS      302 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30531E-08    24.892        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .75003E-01    5.7690        .50000       -1.3974    
   3  Normalizat    2.3698        .71974        .41958E-03   -.55574    
   4  Prefactor     .50692        .17683        .19773E-03   -1.1166    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09421e-09
Minuit parameter uncertainties:
  1  0.000550124
  2  0.862807
  3  0.723241
  4  0.177027
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/22753': 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) = 1748.60609293
delta logL = -5.5933924159e-10

Extracting fit parameters...

4FGL J1955.1-1604
   Spectrum: PowerLaw
577    Prefactor:  3.053e-09  5.501e-04  0.000e+00  1.000e+06 ( 1.000e-14)
578        Index:  7.500e-02  8.628e-01  0.000e+00  1.000e+01 (-1.000e+00)
579        Scale:  3.293e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
868    Prefactor:  5.069e-01  1.770e-01  0.000e+00  1.000e+01 ( 1.000e+00)
869        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
870        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
857   Normalization:  2.370e+00  7.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 298.777 -16.072

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/22753/cmap_HighResolution_694483201_694742401_4FGL_J1955.1-1604_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.50e-02', job_status='DONE', photon_flux_upper_limit='4.66e-07', time_completed='2023-01-07 01:36:52.542938', job_id='22753', GAL2='0.51', fit_tolerance='1e-08', EG2='2.37', EG='2.37', time_epoch_completed='1673084212.54', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.51', dlogl='-5.59e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1756' AND source_name='4FGL J1955.1-1604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 01:36:52 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 22753: <4FGL_J1955.1-1604_daily_bin1756> in cluster <slac> Done

Job <4FGL_J1955.1-1604_daily_bin1756> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Jan  7 01:25:20 2023
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 01:26:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 01:26:17 2023
Terminated at Sat Jan  7 01:36:53 2023
Results reported at Sat Jan  7 01:36:53 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1955.1-1604_daily_bin1756 298.777 -16.0715 694483201 694742401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1955.1-1604 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   487.47 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             260.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   635 sec.
    Turnaround time :                            693 sec.

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

