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


Performing analysis on: 4FGL_J2055.0-5218_daily_bin1675
RA = 313.764, Dec = -52.3099
tmin = 673488001, tmax = 673747201
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='882971', job_status='RUN', time_executed='2022-05-09 01:23:38.982060', time_epoch_executed='1652084618.98' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/882971

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/882971/ft1_4FGL_J2055.0-5218_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/882971/ft2_4FGL_J2055.0-5218_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/882971/ft1_4FGL_J2055.0-5218_daily_bin1675.fits outfile=/scratch/kocevski/882971/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1675.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=673488001.0 tmax=673747201.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.67
user 2.37
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/882971/ft2_4FGL_J2055.0-5218_daily_bin1675.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/882971/ft2_4FGL_J2055.0-5218_daily_bin1675.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/882971/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1675.fits evtable="EVENTS" outfile="/scratch/kocevski/882971/ft1_filtered_4FGL_J2055.0-5218_daily_bin1675.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.31
sys 0.17

Number of photons that the gtmktime cut: 659

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/882971/ft1_filtered_4FGL_J2055.0-5218_daily_bin1675.fits" evtable="EVENTS" scfile=/scratch/kocevski/882971/ft2_4FGL_J2055.0-5218_daily_bin1675.fits sctable="SC_DATA" outfile=/scratch/kocevski/882971/ltcube_673488001_673747201_4FGL_J2055.0-5218_daily_bin1675.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/882971/ft2_4FGL_J2055.0-5218_daily_bin1675.fits
.....................!
real 16.20
user 15.80
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/882971/ft1_filtered_4FGL_J2055.0-5218_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/882971/ft2_4FGL_J2055.0-5218_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/882971/ltcube_673488001_673747201_4FGL_J2055.0-5218_daily_bin1675.fits outfile=/scratch/kocevski/882971/expmap_673488001_673747201_4FGL_J2055.0-5218_daily_bin1675.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/882971/ltcube_673488001_673747201_4FGL_J2055.0-5218_daily_bin1675.fits
.....................!
real 190.53
user 185.07
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 J2055.0-5218 @ 313.764 -52.3099

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/882971/ft1_filtered_4FGL_J2055.0-5218_daily_bin1675.fits scfile=/scratch/kocevski/882971/ft2_4FGL_J2055.0-5218_daily_bin1675.fits outfile=/scratch/kocevski/882971/cmap_673488001_673747201_4FGL_J2055.0-5218_daily_bin1675.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=313.764 yref=-52.3099 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/882971/ft1_filtered_4FGL_J2055.0-5218_daily_bin1675.fits scfile=/scratch/kocevski/882971/ft2_4FGL_J2055.0-5218_daily_bin1675.fits outfile=/scratch/kocevski/882971/cmap_HighResolution_673488001_673747201_4FGL_J2055.0-5218_daily_bin1675.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=313.764 yref=-52.3099 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.58
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/882971/ft1_filtered_4FGL_J2055.0-5218_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/882971/ft2_4FGL_J2055.0-5218_daily_bin1675.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/882971/Model_4FGL_J2055.0-5218_daily_bin1675.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/882971/ft1_filtered_4FGL_J2055.0-5218_daily_bin1675.fits.....................!
real 54.73
user 53.35
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/882971/ft1_filtered_4FGL_J2055.0-5218_daily_bin1675.fits', '/scratch/kocevski/882971/ft2_4FGL_J2055.0-5218_daily_bin1675.fits', expMap='/scratch/kocevski/882971/expmap_673488001_673747201_4FGL_J2055.0-5218_daily_bin1675.fits', expCube='/scratch/kocevski/882971/ltcube_673488001_673747201_4FGL_J2055.0-5218_daily_bin1675.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/882971/Model_4FGL_J2055.0-5218_daily_bin1675.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2055.0-5218'

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.666e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  2.460e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  1.023e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/882971/ft1_filtered_4FGL_J2055.0-5218_daily_bin1675.fits
Spacecraft file(s): /scratch/kocevski/882971/ft2_4FGL_J2055.0-5218_daily_bin1675.fits
Exposure map: /scratch/kocevski/882971/expmap_673488001_673747201_4FGL_J2055.0-5218_daily_bin1675.fits
Exposure cube: /scratch/kocevski/882971/ltcube_673488001_673747201_4FGL_J2055.0-5218_daily_bin1675.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/882971/Model_4FGL_J2055.0-5218_daily_bin1675.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) = 7130.79065939

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.6105       1.0000         .10000E-03   10000.    
     2 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.7806       1.0000         .10000E-03   10000.    
     4 'norm      '    .10093E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.5323       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    35.318       1.0000         .10000E-03   10000.    
     9 'norm      '    .77325       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.524       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.673       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.018       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.2239       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.997       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.8211       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.0535       1.0000         .10000E-03   10000.    
    20 'Prefactor '    79.535       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .71148       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2613       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+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=   7130.781     FROM MIGRAD    STATUS=CONVERGED    809 CALLS     3132 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.6029        17.801        .13661E-03   -.12150E-04
   2  norm          .10000E-03    1.4180        .15363E-02** at limit **
   3  norm          1.7793        3.3525        .20543E-03   -.56449E-05
   4  norm          .10000E-03    15.237        .18142E-02** at limit **
   5  Prefactor     6.5179        19.179        .15702E-03   -.41342E-04
   6  Prefactor     .10000E-03    19.378        .18142E-02** at limit **
   7  Prefactor     .10000E-03    .70755        .69147E-03** at limit **
   8  Prefactor     35.328        23.779        .67434E-04    .10766E-03
   9  norm          .77322        1.0471        .12058E-02   -.22566E-02
  10  norm          .10000E-03    .71946        .69789E-03** at limit **
  11  Prefactor     29.509        38.602        .73736E-04   -.35647E-04
  12  Prefactor     .10000E-03    24.111        .18142E-02** at limit **
  13  Prefactor     19.671        9.4438        .90301E-04    .61690E-04
  14  Prefactor     .10000E-03    12.514        .18142E-02** at limit **
  15  Prefactor     29.031        25.197        .74374E-04    .69856E-04
  16  Prefactor     3.2246        4.6629        .10330E-02   -.26600E-03
  17  Prefactor     21.018        24.957        .43705E-03    .74108E-04
  18  Prefactor     1.7722        40.974        .15471E-02    .31473E-03
  19  Prefactor     5.0546        4.1674        .14934E-03    .15225E-05
  20  Prefactor     79.996        203.40        .22516E-03    .70183E-04
  21  Normalizat    .71150        .28455        .40214E-03    .82464E-04
  22  Prefactor     1.2613        .15546        .17867E-03    .10687E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.60289
  norm       = 0.0001
  norm       = 1.77927
  norm       = 0.0001
  Prefactor  = 6.5179
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.3276
  norm       = 0.773216
  norm       = 0.0001
  Prefactor  = 29.5094
  Prefactor  = 0.0001
  Prefactor  = 19.6706
  Prefactor  = 0.0001
  Prefactor  = 29.0312
  Prefactor  = 3.2246
  Prefactor  = 21.0183
  Prefactor  = 1.77224
  Prefactor  = 5.05456
  Prefactor  = 79.996
  Normalizat = 0.711497
  Prefactor  = 1.2613
 **********
 **   18 **HESSE 
 **********

 FCN=   7130.781     FROM HESSE     STATUS=OK           324 CALLS     3456 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.6029        17.799        .54643E-05   -1.5121    
   2  norm          .10000E-03    1.4210        .30727E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.7793        3.3522        .82170E-05   -1.5441    
   4  norm          .10000E-03    15.238        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.5179        19.177        .62808E-05   -1.5197    
   6  Prefactor     .10000E-03    19.378        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .70757        .13829E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     35.328        23.777        .13487E-04   -1.4519    
   9  norm          .77322        1.0465        .48231E-04   -1.5532    
  10  norm          .10000E-03    .71948        .13958E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     29.509        38.601        .14747E-04   -1.4621    
  12  Prefactor     .10000E-03    24.111        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.671        9.4431        .36121E-05   -1.4821    
  14  Prefactor     .10000E-03    12.515        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     29.031        25.198        .29750E-05   -1.4630    
  16  Prefactor     3.2246        4.6579        .41318E-04   -1.5349    
  17  Prefactor     21.018        24.931        .17482E-04   -1.4791    
  18  Prefactor     1.7722        38.063        .30942E-03   -1.5442    
  19  Prefactor     5.0546        4.1669        .59737E-05   -1.5258    
  20  Prefactor     79.996        196.56        .90064E-05   -1.3917    
  21  Normalizat    .71150        .28430        .16086E-04   -1.0344    
  22  Prefactor     1.2613        .15549        .35735E-04   -.84465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24102e-09
Minuit parameter uncertainties:
  1  17.8099
  2  1.27716e-07
  3  3.35257
  4  9.24326e-05
  5  19.195
  6  5.07014e-05
  7  6.52914e-07
  8  23.7836
  9  1.04655
  10  1.12094e-06
  11  38.6341
  12  1.03796e-05
  13  9.44384
  14  7.51851e-06
  15  25.2074
  16  4.65844
  17  24.9434
  18  16.4379
  19  4.1671
  20  198.194
  21  0.284887
  22  0.155545
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  3.533e+01  2.378e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  2.460e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  1.023e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.261e+00  1.555e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  7.115e-01  2.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.82
Ra Dec: 313.764 -52.310
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 7.39e-08 +/- 4.97e-08
Energy Flux (Fixed Index): 2.25e-05 +/- 1.51e-05

TS (Fixed Index): 3.82
Ra Dec: 313.764 -52.310
Photon Flux Upper Limit: 1.76e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.36e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/882971/likelihoodResults_673488001_673747201_4FGL_J2055.0-5218_daily_bin1675.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) = 7130.09157467
delta logL = 0.68938628555

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7130.08367553
delta logL = 0.697285423415

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3323       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6408       1.0000          .0000       10.000    
     3 'Normalizat'    .61863       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2989       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+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=   7130.084     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      331 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3432        92.199        .55863E-03   -.38846E-03
   2  Index         3.6404        3.4720        .40127E-02   -.70081E-04
   3  Normalizat    .61742        .26410        .42930E-03    .10527E-03
   4  Prefactor     1.2995        .14672        .17635E-03    .36714E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.34323
  Index      = 3.64043
  Normalizat = 0.617418
  Prefactor  = 1.29952
 **********
 **   18 **HESSE 
 **********

 FCN=   7130.084     FROM HESSE     STATUS=OK            25 CALLS      356 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3432        20.921        .22345E-04   -1.5166    
   2  Index         3.6404        1.5338        .16051E-03   -.27538    
   3  Normalizat    .61742        .27849        .17172E-04   -1.0725    
   4  Prefactor     1.2995        .15755        .35271E-04   -.83321    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15333e-10
Minuit parameter uncertainties:
  1  20.9418
  2  1.56109
  3  0.279124
  4  0.157608
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/882971': 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) = 7130.08366465
delta logL = 0.6972963061

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  7.343e+00  2.094e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  3.640e+00  1.561e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  1.023e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.300e+00  1.576e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  6.174e-01  2.791e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.48
Ra Dec: 313.764 -52.310
Photon Index (Free Index): 3.64 +/- 1.56
Photon Flux (Free Index): 1.32e-07 +/- 7.59e-08
Energy Flux (Free Index): 2.13e-05 +/- 1.14e-05

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/882971/cmap_HighResolution_673488001_673747201_4FGL_J2055.0-5218_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='7.39e-08', energy_flux2='2.13e-05', photon_flux_error='4.97e-08', dlogl='6.97e-01', energy_flux='2.25e-05', photon_flux2='1.32e-07', job_status='DONE', time_completed='2022-05-09 01:36:17.386786', photon_index_error2='1.56', photon_index2='3.64', ts='3.82', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.76e-07', energy_flux_error2='1.14e-05', EG='0.71', time_epoch_completed='1652085377.39', return_code='0', job_id='882971', GAL2='1.30', EG2='0.62', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='7.59e-08', ts2='5.48', photon_index='2.46' WHERE bin_id='1675' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 01:36:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 882971: <4FGL_J2055.0-5218_daily_bin1675> in cluster <slac> Done

Job <4FGL_J2055.0-5218_daily_bin1675> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon May  9 01:20:39 2022
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 01:23:02 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 01:23:02 2022
Terminated at Mon May  9 01:36:18 2022
Results reported at Mon May  9 01:36:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2055.0-5218_daily_bin1675 313.764 -52.3099 673488001 673747201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2055.0-5218 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   756.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             320.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            939 sec.

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

