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


Performing analysis on: 4FGL_J0055.1-1219_daily_bin1686
RA = 13.7805, Dec = -12.3204
tmin = 676339201, tmax = 676598401
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='508688', job_status='RUN', time_executed='2022-06-11 00:07:34.171843', time_epoch_executed='1654931254.17' WHERE source_name='4FGL J0055.1-1219' and cadence='daily' and bin_id='1686'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/508688

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/508688/ft1_4FGL_J0055.1-1219_daily_bin1686.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/508688/ft2_4FGL_J0055.1-1219_daily_bin1686.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/508688/ft1_4FGL_J0055.1-1219_daily_bin1686.fits outfile=/scratch/kocevski/508688/ft1_filteredMKT_4FGL_J0055.1-1219_daily_bin1686.fits ra=13.7805 dec=-12.3204 rad=12.0 tmin=676339201.0 tmax=676598401.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.49
user 2.11
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/508688/ft2_4FGL_J0055.1-1219_daily_bin1686.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/508688/ft2_4FGL_J0055.1-1219_daily_bin1686.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/508688/ft1_filteredMKT_4FGL_J0055.1-1219_daily_bin1686.fits evtable="EVENTS" outfile="/scratch/kocevski/508688/ft1_filtered_4FGL_J0055.1-1219_daily_bin1686.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.51
user 0.28
sys 0.16

Number of photons that the gtmktime cut: 923

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/508688/ft1_filtered_4FGL_J0055.1-1219_daily_bin1686.fits" evtable="EVENTS" scfile=/scratch/kocevski/508688/ft2_4FGL_J0055.1-1219_daily_bin1686.fits sctable="SC_DATA" outfile=/scratch/kocevski/508688/ltcube_676339201_676598401_4FGL_J0055.1-1219_daily_bin1686.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/508688/ft2_4FGL_J0055.1-1219_daily_bin1686.fits
.....................!
real 14.02
user 13.63
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/508688/ft1_filtered_4FGL_J0055.1-1219_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/508688/ft2_4FGL_J0055.1-1219_daily_bin1686.fits sctable="SC_DATA" expcube=/scratch/kocevski/508688/ltcube_676339201_676598401_4FGL_J0055.1-1219_daily_bin1686.fits outfile=/scratch/kocevski/508688/expmap_676339201_676598401_4FGL_J0055.1-1219_daily_bin1686.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/508688/ltcube_676339201_676598401_4FGL_J0055.1-1219_daily_bin1686.fits
.....................!
real 160.56
user 155.05
sys 4.97

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 J0055.1-1219 @ 13.7805 -12.3204

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/508688/ft1_filtered_4FGL_J0055.1-1219_daily_bin1686.fits scfile=/scratch/kocevski/508688/ft2_4FGL_J0055.1-1219_daily_bin1686.fits outfile=/scratch/kocevski/508688/cmap_676339201_676598401_4FGL_J0055.1-1219_daily_bin1686.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=13.7805 yref=-12.3204 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.31
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/508688/ft1_filtered_4FGL_J0055.1-1219_daily_bin1686.fits scfile=/scratch/kocevski/508688/ft2_4FGL_J0055.1-1219_daily_bin1686.fits outfile=/scratch/kocevski/508688/cmap_HighResolution_676339201_676598401_4FGL_J0055.1-1219_daily_bin1686.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=13.7805 yref=-12.3204 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.49
user 0.30
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/508688/ft1_filtered_4FGL_J0055.1-1219_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/508688/ft2_4FGL_J0055.1-1219_daily_bin1686.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/508688/Model_4FGL_J0055.1-1219_daily_bin1686.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/508688/ft1_filtered_4FGL_J0055.1-1219_daily_bin1686.fits.....................!
real 70.82
user 68.25
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/508688/ft1_filtered_4FGL_J0055.1-1219_daily_bin1686.fits', '/scratch/kocevski/508688/ft2_4FGL_J0055.1-1219_daily_bin1686.fits', expMap='/scratch/kocevski/508688/expmap_676339201_676598401_4FGL_J0055.1-1219_daily_bin1686.fits', expCube='/scratch/kocevski/508688/ltcube_676339201_676598401_4FGL_J0055.1-1219_daily_bin1686.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/508688/Model_4FGL_J0055.1-1219_daily_bin1686.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0055.1-1219'

4FGL J0055.1-1219
   Spectrum: PowerLaw
210    Prefactor:  5.203e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
211        Index:  2.325e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  1.027e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/508688/ft1_filtered_4FGL_J0055.1-1219_daily_bin1686.fits
Spacecraft file(s): /scratch/kocevski/508688/ft2_4FGL_J0055.1-1219_daily_bin1686.fits
Exposure map: /scratch/kocevski/508688/expmap_676339201_676598401_4FGL_J0055.1-1219_daily_bin1686.fits
Exposure cube: /scratch/kocevski/508688/ltcube_676339201_676598401_4FGL_J0055.1-1219_daily_bin1686.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/508688/Model_4FGL_J0055.1-1219_daily_bin1686.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) = 9960.87675203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10124E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    18.025       1.0000         .10000E-03   10000.    
     5 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.7416       1.0000         .10000E-03   10000.    
     8 'norm      '    7.6223       1.0000         .10000E-03   10000.    
     9 'Prefactor '    43.418       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.001       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.4065       1.0000         .10000E-03   10000.    
    12 'norm      '    .10783E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.9328       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.7185       1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.017       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.7646       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10369E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.7196       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    24.252       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0389       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .97400       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9960.874     FROM MIGRAD    STATUS=CONVERGED    584 CALLS     2943 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.3209        .64528E-07** at limit **
   2  norm          .10000E-03    1.1346        .18981E-06** at limit **
   3  Prefactor     .10000E-03    3.3193        .51026E-07** at limit **
   4  norm          18.024        9.0598        .14056E-06    .26221E-04
   5  norm          .10000E-03    10.575        .10383E-06** at limit **
   6  Prefactor     .10000E-03    .99371       -.52062E-06** at limit **
   7  norm          5.7418        2.6272       -.72228E-08    .28649E-04
   8  norm          7.6219        4.2490        .34708E-06    .45109E-03
   9  Prefactor     43.386        73.100        .30160E-05   -.47539E-04
  10  Prefactor     15.000        10.937        .75725E-07   -.13667E-04
  11  Prefactor     3.4037        20.039        .81525E-06    .80642E-06
  12  norm          .10000E-03    9.7622       -.10874E-05** at limit **
  13  Prefactor     8.9223        24.093        .30403E-05    .12352E-03
  14  Prefactor     5.7143        57.625        .17801E-05    .85874E-05
  15  Prefactor     21.017        11.709       -.14178E-06    .20622E-04
  16  Prefactor     .10000E-03    1.7416        .17287E-06** at limit **
  17  Prefactor     3.7716        5.8287        .25631E-05   -.39270E-03
  18  Prefactor     .10000E-03    20.626        .45685E-07** at limit **
  19  norm          .10000E-03    .73256       -.52611E-06** at limit **
  20  Prefactor     .10000E-03    6.9802        .11898E-06** at limit **
  21  norm          3.7153        16.216        .11297E-05   -.35555E-05
  22  norm          .10000E-03    .27556        .10172E-06** at limit **
  23  norm          24.253        7.1768       -.22557E-07   -.69016E-04
  24  Normalizat    1.0391        .13498       -.32701E-06   -.59365E-04
  25  Prefactor     .97383        .12936       -.92538E-06   -.14605E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 18.0243
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.74181
  norm       = 7.62192
  Prefactor  = 43.386
  Prefactor  = 14.9999
  Prefactor  = 3.40372
  norm       = 0.000100001
  Prefactor  = 8.92233
  Prefactor  = 5.71434
  Prefactor  = 21.0171
  Prefactor  = 0.0001
  Prefactor  = 3.77162
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.71527
  norm       = 0.0001
  norm       = 24.2526
  Normalizat = 1.03906
  Prefactor  = 0.973826
 **********
 **   18 **HESSE 
 **********

 FCN=   9960.874     FROM HESSE     STATUS=OK           435 CALLS     3378 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.3355        .17758E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.9857        .20527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.3201        .17759E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          18.024        9.0472        .47168E-03   -1.4859    
   5  norm          .10000E-03    10.758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.5146        .18179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.7418        2.6238        .10476E-03   -1.5229    
   8  norm          7.6219        4.2147        .71687E-03   -1.5156    
   9  Prefactor     43.386        72.809        .60841E-04   -1.4390    
  10  Prefactor     15.000        10.937        .10341E-03   -1.4933    
  11  Prefactor     3.4037        19.982        .21919E-03   -1.5339    
  12  norm          .10000E-03    10.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.9223        23.909        .13411E-03   -1.5110    
  14  Prefactor     5.7143        56.135        .16797E-03   -1.5230    
  15  Prefactor     21.017        11.584        .87368E-04   -1.4791    
  16  Prefactor     .10000E-03    1.8237        .25715E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.7716        6.0895        .10404E-02   -1.5320    
  18  Prefactor     .10000E-03    20.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.3476        .16394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.1082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.7153        16.123        .20938E-03   -1.5322    
  22  norm          .10000E-03    .51923        .10181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          24.253        7.1622        .81340E-04   -1.4723    
  24  Normalizat    1.0391        .15380        .24033E-03   -.91733    
  25  Prefactor     .97383        .14782        .24518E-03   -.93607    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.86501e-10
Minuit parameter uncertainties:
  1  5.6131e-06
  2  1.92478e-05
  3  2.01955e-06
  4  9.04793
  5  4.60229e-05
  6  6.49453e-05
  7  2.62387
  8  4.21485
  9  72.9587
  10  10.938
  11  16.5022
  12  0.000160542
  13  23.9342
  14  35.8638
  15  11.5852
  16  9.49292e-06
  17  6.09051
  18  2.21985e-05
  19  4.97894e-05
  20  2.47552e-05
  21  15.486
  22  3.71502e-07
  23  7.1625
  24  0.153865
  25  0.147885
Done.

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

Extracting fit parameters...

4FGL J0055.1-1219
   Spectrum: PowerLaw
210    Prefactor:  1.500e+01  1.094e+01  1.000e-04  1.000e+04 ( 1.000e-13)
211        Index:  2.325e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  1.027e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  9.738e-01  1.479e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.039e+00  1.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.36
Ra Dec: 13.780 -12.320
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 2.54e-08 +/- 1.85e-08
Energy Flux (Fixed Index): 9.27e-06 +/- 6.76e-06

TS (Fixed Index): 3.36
Ra Dec: 13.780 -12.320
Photon Flux Upper Limit: 6.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/508688/likelihoodResults_676339201_676598401_4FGL_J0055.1-1219_daily_bin1686.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) = 9960.86621351
delta logL = 0.00776784768641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9960.86288267
delta logL = 0.0110986823456

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.045       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2407       1.0000          .0000       10.000    
     3 'Normalizat'    1.0409       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97275       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9960.863     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      252 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.046        13.813        .99988E-04    .77317E-06
   2  Index         2.2406        .57602        .93213E-02    .40791E-03
   3  Normalizat    1.0409        .14750        .24014E-03   -.20357E-04
   4  Prefactor     .97275        .14623        .24530E-03   -.26232E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.0459
  Index      = 2.2406
  Normalizat = 1.04092
  Prefactor  = 0.97275
 **********
 **   18 **HESSE 
 **********

 FCN=   9960.863     FROM HESSE     STATUS=OK            25 CALLS      277 TOTAL
                     EDM=   .77E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.046        13.449        .19998E-04   -1.4907    
   2  Index         2.2406        .56092        .18643E-02   -.58462    
   3  Normalizat    1.0409        .14758        .96056E-05   -.91672    
   4  Prefactor     .97275        .14632        .98120E-05   -.93643    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.68331e-13
Minuit parameter uncertainties:
  1  13.4517
  2  0.562624
  3  0.147635
  4  0.146376
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/508688': 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) = 9960.86288265
delta logL = 0.0110987028493

Extracting fit parameters...

4FGL J0055.1-1219
   Spectrum: PowerLaw
210    Prefactor:  1.605e+01  1.345e+01  1.000e-04  1.000e+04 ( 1.000e-13)
211        Index:  2.241e+00  5.626e-01  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  1.027e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  9.728e-01  1.464e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.041e+00  1.476e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.38
Ra Dec: 13.780 -12.320
Photon Index (Free Index): 2.24 +/- 0.56
Photon Flux (Free Index): 2.39e-08 +/- 2.05e-08
Energy Flux (Free Index): 9.97e-06 +/- 8.99e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/508688/cmap_HighResolution_676339201_676598401_4FGL_J0055.1-1219_daily_bin1686.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.21e-03', comment='SUCCESS', photon_flux='2.54e-08', energy_flux2='9.97e-06', photon_flux_error='1.85e-08', dlogl='1.11e-02', energy_flux='9.27e-06', photon_flux2='2.39e-08', job_status='DONE', time_completed='2022-06-11 00:21:02.335497', photon_index_error2='0.56', photon_index2='2.24', ts='3.36', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='6.78e-08', energy_flux_error2='8.99e-06', EG='1.04', time_epoch_completed='1654932062.34', return_code='0', job_id='508688', GAL2='0.97', EG2='1.04', return_code2='0', energy_flux_error='6.76e-06', photon_flux_error2='2.05e-08', ts2='3.38', photon_index='2.33' WHERE bin_id='1686' AND source_name='4FGL J0055.1-1219' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jun 11 00:21:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 508688: <4FGL_J0055.1-1219_daily_bin1686> in cluster <slac> Done

Job <4FGL_J0055.1-1219_daily_bin1686> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jun 11 00:04:49 2022
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jun 11 00:05:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jun 11 00:05:16 2022
Terminated at Sat Jun 11 00:21:03 2022
Results reported at Sat Jun 11 00:21:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0055.1-1219_daily_bin1686 13.7805 -12.3204 676339201 676598401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0055.1-1219 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   803.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             291.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   946 sec.
    Turnaround time :                            974 sec.

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

