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


Performing analysis on: 4FGL_J1955.1-1604_daily_bin1702
RA = 298.777, Dec = -16.0715
tmin = 680486401, tmax = 680745601
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='257486', job_status='RUN', time_executed='2022-07-29 01:31:39.901664', time_epoch_executed='1659083499.9' WHERE source_name='4FGL J1955.1-1604' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/257486

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/257486/ft1_4FGL_J1955.1-1604_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/257486/ft2_4FGL_J1955.1-1604_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/257486/ft1_4FGL_J1955.1-1604_daily_bin1702.fits outfile=/scratch/kocevski/257486/ft1_filteredMKT_4FGL_J1955.1-1604_daily_bin1702.fits ra=298.777 dec=-16.0715 rad=12.0 tmin=680486401.0 tmax=680745601.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.01
user 2.77
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/257486/ft2_4FGL_J1955.1-1604_daily_bin1702.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/257486/ft1_filteredMKT_4FGL_J1955.1-1604_daily_bin1702.fits evtable="EVENTS" outfile="/scratch/kocevski/257486/ft1_filtered_4FGL_J1955.1-1604_daily_bin1702.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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 28

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/257486/ft1_filtered_4FGL_J1955.1-1604_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/257486/ft2_4FGL_J1955.1-1604_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/257486/ltcube_680486401_680745601_4FGL_J1955.1-1604_daily_bin1702.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/257486/ft2_4FGL_J1955.1-1604_daily_bin1702.fits
.....................!
real 14.46
user 14.01
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/257486/ft1_filtered_4FGL_J1955.1-1604_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/257486/ft2_4FGL_J1955.1-1604_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/257486/ltcube_680486401_680745601_4FGL_J1955.1-1604_daily_bin1702.fits outfile=/scratch/kocevski/257486/expmap_680486401_680745601_4FGL_J1955.1-1604_daily_bin1702.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/257486/ltcube_680486401_680745601_4FGL_J1955.1-1604_daily_bin1702.fits
.....................!
real 192.18
user 186.24
sys 5.39

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_archive_v18/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/257486/ft1_filtered_4FGL_J1955.1-1604_daily_bin1702.fits scfile=/scratch/kocevski/257486/ft2_4FGL_J1955.1-1604_daily_bin1702.fits outfile=/scratch/kocevski/257486/cmap_680486401_680745601_4FGL_J1955.1-1604_daily_bin1702.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/257486/ft1_filtered_4FGL_J1955.1-1604_daily_bin1702.fits scfile=/scratch/kocevski/257486/ft2_4FGL_J1955.1-1604_daily_bin1702.fits outfile=/scratch/kocevski/257486/cmap_HighResolution_680486401_680745601_4FGL_J1955.1-1604_daily_bin1702.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/257486/ft1_filtered_4FGL_J1955.1-1604_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/257486/ft2_4FGL_J1955.1-1604_daily_bin1702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/257486/Model_4FGL_J1955.1-1604_daily_bin1702.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/257486/ft1_filtered_4FGL_J1955.1-1604_daily_bin1702.fits............................!
real 19.96
user 18.59
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/257486/ft1_filtered_4FGL_J1955.1-1604_daily_bin1702.fits', '/scratch/kocevski/257486/ft2_4FGL_J1955.1-1604_daily_bin1702.fits', expMap='/scratch/kocevski/257486/expmap_680486401_680745601_4FGL_J1955.1-1604_daily_bin1702.fits', expCube='/scratch/kocevski/257486/ltcube_680486401_680745601_4FGL_J1955.1-1604_daily_bin1702.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/257486/Model_4FGL_J1955.1-1604_daily_bin1702.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  1.000e-04  1.000e+04 ( 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/257486/ft1_filtered_4FGL_J1955.1-1604_daily_bin1702.fits
Spacecraft file(s): /scratch/kocevski/257486/ft2_4FGL_J1955.1-1604_daily_bin1702.fits
Exposure map: /scratch/kocevski/257486/expmap_680486401_680745601_4FGL_J1955.1-1604_daily_bin1702.fits
Exposure cube: /scratch/kocevski/257486/ltcube_680486401_680745601_4FGL_J1955.1-1604_daily_bin1702.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/257486/Model_4FGL_J1955.1-1604_daily_bin1702.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 350.06262395

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 347.01833522

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11452E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    51.863       1.0000         .10000E-03   10000.    
     3 'norm      '    .80037E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.7132       1.0000         .10000E-03   10000.    
     5 'Prefactor '    97.617       1.0000         .10000E-03   10000.    
     6 'norm      '    .80248E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    82.331       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .41740E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.3912       1.0000         .10000E-03   10000.    
    10 'Prefactor '    90.486       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10758E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.8508       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11236       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.4611       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.0720       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .90030E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.9053       1.0000         .10000E-03   10000.    
    18 'norm      '    6.5441       1.0000         .10000E-03   10000.    
    19 'norm      '    3.4772       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.6042       1.0000         .10000E-03   10000.    
    21 'norm      '    .34770E-01   1.0000         .10000E-03   10000.    
    22 'norm      '    8.2696       1.0000         .10000E-03   10000.    
    23 'norm      '    .10882E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .72738       1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.2226       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    27 'Prefactor '    .49624       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=   346.9747     FROM MIGRAD    STATUS=CONVERGED    262 CALLS      595 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    15.907        .10842E-04** at limit **
   2  Prefactor     280.69        329.57        .49411E-04    .11186E-01
   3  norm          .10000E-03    64.150        .19862E-06** at limit **
   4  Prefactor     .10004E-03    234.75        .96486E-06** at limit **
   5  Prefactor     1.1642        749.17       -.88012E-04    .16023E-01
   6  norm          .10000E-03    65.490       -.46293E-05** at limit **
   7  norm          86.656        90.779        .79411E-05    .18276E-01
   8  Prefactor     .10000E-03    250.37        .48244E-06** at limit **
   9  Prefactor     .70271E-03    887.46        .35793E-05** at limit **
  10  Prefactor     90.120        105.02       -.62733E-05   -.74571E-02
  11  Prefactor     .10000E-03    29.276        .27115E-06** at limit **
  12  Prefactor     7.5458        61.600       -.30325E-04   -.80708E-02
  13  Prefactor     .10000E-03    115.51       -.19174E-06** at limit **
  14  Prefactor     .56715E-02    1003.4        .77783E-05   -.34879E-02
  15  Prefactor     1.0720        1.2126         .0000         .0000    
  16  Prefactor     .10000E-03    146.74        .23053E-05** at limit **
  17  Prefactor     1.9053        1.0394         .0000         .0000    
  18  norm          6.5441        1.0029         .0000         .0000    
  19  norm          3.4772        1.0107         .0000         .0000    
  20  Prefactor     3.6042        1.0100         .0000         .0000    
  21  norm          .10000E-03    110.46       -.25295E-05** at limit **
  22  norm          .11871        1717.0        .58023E-04    .75758E-02
  23  norm          .10000E-03    8.8307       -.24628E-07** at limit **
  24  norm          .10045E-03    883.45       -.52313E-04** at limit **
  25  Prefactor     1.2226        1.1268         .0000         .0000    
  26  Normalizat    .10000E-01    1.3210       -.29125E-05** at limit **
  27  Prefactor     .49828        .13565        .49279E-05    .10632E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 280.692
  norm       = 0.0001
  Prefactor  = 0.000100043
  Prefactor  = 1.1642
  norm       = 0.0001
  norm       = 86.656
  Prefactor  = 0.000100001
  Prefactor  = 0.000702706
  Prefactor  = 90.1201
  Prefactor  = 0.0001
  Prefactor  = 7.54576
  Prefactor  = 0.0001
  Prefactor  = 0.0056715
  Prefactor  = 1.07204
  Prefactor  = 0.0001
  Prefactor  = 1.90534
  norm       = 6.54408
  norm       = 3.47723
  Prefactor  = 3.60423
  norm       = 0.000100001
  norm       = 0.118707
  norm       = 0.0001
  norm       = 0.000100448
  Prefactor  = 1.22262
  Normalizat = 0.01
  Prefactor  = 0.498284
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   346.9747     FROM HESSE     STATUS=FAILED        65 CALLS      660 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.071        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     280.69        269.44        .13923E-02   -1.2341    
   3  norm          .10000E-03    64.453        .94156E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10004E-03    259.35        .61817E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.1642        1458.8        .10171E-02   -1.5492    
   6  norm          .10000E-03    70.967        .92358E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          86.656        89.034        .11067E-02   -1.3843    
   8  Prefactor     .10000E-03    252.36        .92297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .70271E-03    897.27        .43268E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     90.120        94.587        .10561E-02   -1.3806    
  11  Prefactor     .10000E-03    29.271        .90768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.5458        9718.2        .41508E-02   -1.6257    
  13  Prefactor     .10000E-03    115.48        .95700E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .56715E-02    1032.4        .36707E-02   -1.5723    
  15  Prefactor     586.67        585.26         .0000       -1.5501    
  16  Prefactor     .10000E-03    .22390        .23053E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9053        1.0394         .0000       -1.5432    
  18  norm          6.5441        1.0029         .0000       -1.5196    
  19  norm          3.4772        1.0107         .0000       -1.5335    
  20  Prefactor     3.6042        1.0100         .0000       -1.5328    
  21  norm          .10000E-03    .21139       -.25295E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .11871        .12003        .58023E-04   -1.5639    
  23  norm          .10000E-03    .20571       -.24628E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10045E-03    .37005       -.52313E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.2226        1.1268         .0000       -1.5487    
  26  Normalizat    .10000E-01    .25734       -.29125E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .49828        .83971        .49279E-05   -1.1206    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.84284e-09
Minuit parameter uncertainties:
  1  0.000153906
  2  270.647
  3  4.7094e-06
  4  0.00668321
  5  84.5733
  6  0.000245826
  7  89.1714
  8  0.00105679
  9  1.4937
  10  94.7452
  11  2.31172e-05
  12  716.822
  13  0.000214959
  14  4.88332
  15  1.21259
  16  7.26972e-06
  17  1.03941
  18  1.00295
  19  1.01073
  20  1.00996
  21  2.41731e-05
  22  0.12003
  23  5.11749e-07
  24  0.000813958
  25  1.12677
  26  1.11148e-06
  27  0.862085
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 346.974731025

Extracting fit parameters...

4FGL J1955.1-1604
   Spectrum: PowerLaw
577    Prefactor:  7.546e+00  7.168e+02  1.000e-04  1.000e+04 ( 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:  4.983e-01  8.621e-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:  1.000e-02  1.111e-06  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = -0.293701434404

TS (Fixed Index): -0.00
Ra Dec: 298.777 -16.072
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.52e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/257486/likelihoodResults_680486401_680745601_4FGL_J1955.1-1604_daily_bin1702.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) = 346.975205744
delta logL = -0.000474719137173

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 346.975160324
delta logL = -0.000429299028781

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    1.5715       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=   346.9751     FROM MIGRAD    STATUS=CONVERGED     27 CALLS       88 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       1.0642        8.6885        .50000        .35104E-06
                               ERR DEF=  .500    
Final values: 
  Index      = 1.06422
 **********
 **   18 **HESSE 
 **********

 FCN=   346.9751     FROM HESSE     STATUS=OK            11 CALLS       99 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       1.0642        8.6885        .50000       -.90619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46442e-11
Minuit parameter uncertainties:
  1  33.6165
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/257486': 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) = 346.975130309
delta logL = -0.000399283705008

Extracting fit parameters...

4FGL J1955.1-1604
   Spectrum: PowerLaw
577    Prefactor:  7.545e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14) fixed
578        Index:  1.064e+00  3.362e+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:  4.983e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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:  1.039e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


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/257486/cmap_HighResolution_680486401_680745601_4FGL_J1955.1-1604_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.52e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2022-07-29 01:37:31.298209', job_id='257486', GAL2='0.50', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1659083851.3', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.50', dlogl='-3.99e-04', ts2='-0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1702' AND source_name='4FGL J1955.1-1604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 01:37:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 257486: <4FGL_J1955.1-1604_daily_bin1702> in cluster <slac> Done

Job <4FGL_J1955.1-1604_daily_bin1702> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jul 29 01:30:19 2022
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 01:31:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 01:31:11 2022
Terminated at Fri Jul 29 01:37:32 2022
Results reported at Fri Jul 29 01:37:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1955.1-1604_daily_bin1702 298.777 -16.0715 680486401 680745601 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 :                                   353.60 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             504.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   380 sec.
    Turnaround time :                            433 sec.

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

