/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 2 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 = 7423
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2055.0-5218_daily_bin669
RA = 313.764, Dec = -52.3099
tmin = 412732801, tmax = 412992001
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='201319', job_status='RUN', time_executed='2021-09-25 21:00:42.718595', time_epoch_executed='1632628842.72' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='669'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/201319

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/201319/ft1_4FGL_J2055.0-5218_daily_bin669.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/201319/ft2_4FGL_J2055.0-5218_daily_bin669.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/201319/ft1_4FGL_J2055.0-5218_daily_bin669.fits outfile=/scratch/kocevski/201319/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin669.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=412732801.0 tmax=412992001.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.49
user 3.28
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/201319/ft2_4FGL_J2055.0-5218_daily_bin669.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/201319/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin669.fits evtable="EVENTS" outfile="/scratch/kocevski/201319/ft1_filtered_4FGL_J2055.0-5218_daily_bin669.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/201319/ft1_filtered_4FGL_J2055.0-5218_daily_bin669.fits" evtable="EVENTS" scfile=/scratch/kocevski/201319/ft2_4FGL_J2055.0-5218_daily_bin669.fits sctable="SC_DATA" outfile=/scratch/kocevski/201319/ltcube_412732801_412992001_4FGL_J2055.0-5218_daily_bin669.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/201319/ft2_4FGL_J2055.0-5218_daily_bin669.fits
.....................!
real 13.06
user 12.68
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/201319/ft1_filtered_4FGL_J2055.0-5218_daily_bin669.fits evtable="EVENTS" scfile=/scratch/kocevski/201319/ft2_4FGL_J2055.0-5218_daily_bin669.fits sctable="SC_DATA" expcube=/scratch/kocevski/201319/ltcube_412732801_412992001_4FGL_J2055.0-5218_daily_bin669.fits outfile=/scratch/kocevski/201319/expmap_412732801_412992001_4FGL_J2055.0-5218_daily_bin669.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/201319/ltcube_412732801_412992001_4FGL_J2055.0-5218_daily_bin669.fits
.....................!
real 191.83
user 186.98
sys 4.34

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/201319/ft1_filtered_4FGL_J2055.0-5218_daily_bin669.fits scfile=/scratch/kocevski/201319/ft2_4FGL_J2055.0-5218_daily_bin669.fits outfile=/scratch/kocevski/201319/cmap_412732801_412992001_4FGL_J2055.0-5218_daily_bin669.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/201319/ft1_filtered_4FGL_J2055.0-5218_daily_bin669.fits scfile=/scratch/kocevski/201319/ft2_4FGL_J2055.0-5218_daily_bin669.fits outfile=/scratch/kocevski/201319/cmap_HighResolution_412732801_412992001_4FGL_J2055.0-5218_daily_bin669.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/201319/ft1_filtered_4FGL_J2055.0-5218_daily_bin669.fits evtable="EVENTS" scfile=/scratch/kocevski/201319/ft2_4FGL_J2055.0-5218_daily_bin669.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/201319/Model_4FGL_J2055.0-5218_daily_bin669.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/201319/ft1_filtered_4FGL_J2055.0-5218_daily_bin669.fits....!
real 13.92
user 12.73
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/201319/ft1_filtered_4FGL_J2055.0-5218_daily_bin669.fits', '/scratch/kocevski/201319/ft2_4FGL_J2055.0-5218_daily_bin669.fits', expMap='/scratch/kocevski/201319/expmap_412732801_412992001_4FGL_J2055.0-5218_daily_bin669.fits', expCube='/scratch/kocevski/201319/ltcube_412732801_412992001_4FGL_J2055.0-5218_daily_bin669.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/201319/Model_4FGL_J2055.0-5218_daily_bin669.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/201319/ft1_filtered_4FGL_J2055.0-5218_daily_bin669.fits
Spacecraft file(s): /scratch/kocevski/201319/ft2_4FGL_J2055.0-5218_daily_bin669.fits
Exposure map: /scratch/kocevski/201319/expmap_412732801_412992001_4FGL_J2055.0-5218_daily_bin669.fits
Exposure cube: /scratch/kocevski/201319/ltcube_412732801_412992001_4FGL_J2055.0-5218_daily_bin669.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/201319/Model_4FGL_J2055.0-5218_daily_bin669.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) = 61.8383072074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1612       1.0000         .10000E-03   10000.    
     2 'norm      '    1.0747       1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .35403E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .82595E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    868.85       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.5403       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6660       1.0000         .10000E-03   10000.    
     9 'norm      '    .88660E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    1.1939       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.2579       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.7781       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .67268E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .32064E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.3281       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.7575       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.0422       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .40062       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8750       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.1512       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78894       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   60.91140     FROM MIGRAD    STATUS=CONVERGED    122 CALLS      304 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15613E-03    1396.7        .10688E-01** at limit **
   2  norm          1.0747        1.2100         .0000         .0000    
   3  norm          .12297E-03    .20571        .29499E-02** at limit **
   4  norm          .10056E-03    .21153        .10783E-02** at limit **
   5  Prefactor     .13616E-03    .22221       -.15821E-02** at limit **
   6  Prefactor     870.89        1.0011        .27764E-03   -.59391E-01
   7  Prefactor     1.5403        1.0658         .0000         .0000    
   8  Prefactor     1.6660        1.0541         .0000         .0000    
   9  norm          .10000E-03    .22359       -.22759E-05** at limit **
  10  norm          1.1939        1.1373         .0000         .0000    
  11  Prefactor     5.2579        1.0046         .0000         .0000    
  12  Prefactor     6.7781        1.0027         .0000         .0000    
  13  Prefactor     .10000E-03    .21874        .14253E-04** at limit **
  14  Prefactor     .22183E-03    .21078        .21709E-03** at limit **
  15  Prefactor     6.3281        1.0032         .0000         .0000    
  16  Prefactor     .12816E-02    .67783E-01    .33539E-03** at limit **
  17  Prefactor     .10707E-02    .62851E-01    .65540E-03** at limit **
  18  Prefactor     .10000E-03    .29474       -.20163E-03** at limit **
  19  Prefactor     1.8750        1.0409         .0000         .0000    
  20  Prefactor     .57082E-02    .61150E-01   -.15361E-01   -.86358E-03
  21  Normalizat    .10000E-01    .25505       -.37356E-04** at limit **
  22  Prefactor     .78880        1.1377        .12915E-03   -.87501E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000156128
  norm       = 1.07468
  norm       = 0.000122974
  norm       = 0.000100559
  Prefactor  = 0.000136158
  Prefactor  = 870.893
  Prefactor  = 1.54032
  Prefactor  = 1.66603
  norm       = 0.0001
  norm       = 1.19392
  Prefactor  = 5.2579
  Prefactor  = 6.77806
  Prefactor  = 0.000100001
  Prefactor  = 0.000221832
  Prefactor  = 6.32809
  Prefactor  = 0.00128159
  Prefactor  = 0.00107074
  Prefactor  = 0.000100004
  Prefactor  = 1.87498
  Prefactor  = 0.0057082
  Normalizat = 0.01
  Prefactor  = 0.788803
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   60.91140     FROM HESSE     STATUS=FAILED        11 CALLS      315 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          .15613E-03    1396.7        .10688E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          586.61        585.20         .0000       -1.5501    
   3  norm          .12297E-03    .20571        .29499E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10056E-03    .21153        .10783E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .13616E-03    .22221       -.15821E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     870.89        1.0011        .27764E-03   -.97166    
   7  Prefactor     1.5403        1.0658         .0000       -1.5460    
   8  Prefactor     1.6660        1.0541         .0000       -1.5450    
   9  norm          .10000E-03    .22359       -.22759E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1939        1.1373         .0000       -1.5489    
  11  Prefactor     5.2579        1.0046         .0000       -1.5249    
  12  Prefactor     6.7781        1.0027         .0000       -1.5187    
  13  Prefactor     .10000E-03    .21874        .14253E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .22183E-03    .21078        .21709E-03   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.3281        1.0032         .0000       -1.5205    
  16  Prefactor     .12816E-02    .67783E-01    .33539E-03   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10707E-02    .62851E-01    .65540E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .29474       -.20163E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.8750        1.0409         .0000       -1.5434    
  20  Prefactor     .57082E-02    .61150E-01   -.15361E-01   -1.5723    
  21  Normalizat    .10000E-01    .25505       -.37356E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .78880        1.1377        .12915E-03   -1.0014    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.78554e-09
Minuit parameter uncertainties:
  1  0.573916
  2  1.20998
  3  0.0043479
  4  0.000687597
  5  0.00566913
  6  1.00106
  7  1.06583
  8  1.05415
  9  7.98327e-06
  10  1.13731
  11  1.00459
  12  1.00275
  13  2.76444e-05
  14  0.0101351
  15  1.00315
  16  0.0178988
  17  0.015622
  18  6.8964e-05
  19  1.0409
  20  0.0370374
  21  5.74792e-06
  22  1.17452
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.666e+00  1.054e+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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  7.888e-01  1.175e+00  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:  1.000e-02  5.748e-06  1.000e-02  1.000e+01 ( 1.000e+00)

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

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

Saving results to:
/scratch/kocevski/201319/likelihoodResults_412732801_412992001_4FGL_J2055.0-5218_daily_bin669.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): 101
logL (Free Index) = 60.9116812427
delta logL = -0.000278663161353

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 60.9116812427
delta logL = -0.000278663161353

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.4599       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   60.91168     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.4599        1.0103        .23679         .0000    
                               ERR DEF=  .500    
Final values: 
  Index      = 2.45992
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   60.91168     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       .68071        1.8501        .23679       -.53288    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.01979
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/201319': 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): 101
logL (Free Index) = 60.9116812427
delta logL = -0.000278663161353

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.666e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
314        Index:  2.460e+00  1.020e+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:  7.888e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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:  1.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.00
Ra Dec: 313.764 -52.310

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/201319/cmap_HighResolution_412732801_412992001_4FGL_J2055.0-5218_daily_bin669.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.76e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-25 21:06:04.042483', job_id='201319', GAL2='0.79', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632629164.04', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.79', dlogl='-2.79e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='669' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:06:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 201319: <4FGL_J2055.0-5218_daily_bin669> in cluster <slac> Done

Job <4FGL_J2055.0-5218_daily_bin669> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 25 21:00:21 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:00:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 21:00:30 2021
Terminated at Sat Sep 25 21:06:04 2021
Results reported at Sat Sep 25 21:06:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2055.0-5218_daily_bin669 313.764 -52.3099 412732801 412992001 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 :                                   320.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             259.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   334 sec.
    Turnaround time :                            343 sec.

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

