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


Performing analysis on: 4FGL_J2055.0-5218_daily_bin1403
RA = 313.764, Dec = -52.3099
tmin = 602985601, tmax = 603244801
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='206765', job_status='RUN', time_executed='2021-09-25 21:23:32.342083', time_epoch_executed='1632630212.34' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='1403'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/206765

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/206765/ft1_4FGL_J2055.0-5218_daily_bin1403.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/206765/ft2_4FGL_J2055.0-5218_daily_bin1403.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/206765/ft1_4FGL_J2055.0-5218_daily_bin1403.fits outfile=/scratch/kocevski/206765/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1403.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=602985601.0 tmax=603244801.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.25
user 2.89
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/206765/ft1_filtered_4FGL_J2055.0-5218_daily_bin1403.fits" evtable="EVENTS" scfile=/scratch/kocevski/206765/ft2_4FGL_J2055.0-5218_daily_bin1403.fits sctable="SC_DATA" outfile=/scratch/kocevski/206765/ltcube_602985601_603244801_4FGL_J2055.0-5218_daily_bin1403.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/206765/ft2_4FGL_J2055.0-5218_daily_bin1403.fits
.....................!
real 17.82
user 17.32
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/206765/ft1_filtered_4FGL_J2055.0-5218_daily_bin1403.fits evtable="EVENTS" scfile=/scratch/kocevski/206765/ft2_4FGL_J2055.0-5218_daily_bin1403.fits sctable="SC_DATA" expcube=/scratch/kocevski/206765/ltcube_602985601_603244801_4FGL_J2055.0-5218_daily_bin1403.fits outfile=/scratch/kocevski/206765/expmap_602985601_603244801_4FGL_J2055.0-5218_daily_bin1403.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/206765/ltcube_602985601_603244801_4FGL_J2055.0-5218_daily_bin1403.fits
.....................!
real 190.79
user 185.45
sys 4.83

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/206765/ft1_filtered_4FGL_J2055.0-5218_daily_bin1403.fits scfile=/scratch/kocevski/206765/ft2_4FGL_J2055.0-5218_daily_bin1403.fits outfile=/scratch/kocevski/206765/cmap_602985601_603244801_4FGL_J2055.0-5218_daily_bin1403.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/206765/ft1_filtered_4FGL_J2055.0-5218_daily_bin1403.fits scfile=/scratch/kocevski/206765/ft2_4FGL_J2055.0-5218_daily_bin1403.fits outfile=/scratch/kocevski/206765/cmap_HighResolution_602985601_603244801_4FGL_J2055.0-5218_daily_bin1403.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.62
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/206765/ft1_filtered_4FGL_J2055.0-5218_daily_bin1403.fits evtable="EVENTS" scfile=/scratch/kocevski/206765/ft2_4FGL_J2055.0-5218_daily_bin1403.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/206765/Model_4FGL_J2055.0-5218_daily_bin1403.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/206765/ft1_filtered_4FGL_J2055.0-5218_daily_bin1403.fits......................!
real 31.00
user 29.76
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    110.98       1.0000         .10000E-03   10000.    
     2 'norm      '    1.3303       1.0000         .10000E-03   10000.    
     3 'norm      '    12.370       1.0000         .10000E-03   10000.    
     4 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10204E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.5401       1.0000         .10000E-03   10000.    
    10 'norm      '    .10108E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.297       1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.009       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10502E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    58.362       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10608E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14709E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .28527E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1588       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0147       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.

 FCN=   2921.796     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2304 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          110.98        43.792        .61510E-06   -.36482E-05
   2  norm          1.3302        2.0393        .18619E-06   -.18761E-03
   3  norm          12.368        9.0186        .75591E-06   -.34170E-04
   4  norm          .10000E-03    50.653        .24958E-04** at limit **
   5  Prefactor     .10000E-03    33.767       -.27512E-04** at limit **
   6  Prefactor     .10000E-03    92.459       -.21266E-04** at limit **
   7  Prefactor     .10000E-03    1.5377       -.65472E-07** at limit **
   8  Prefactor     .10000E-03    27.571        .22164E-04** at limit **
   9  norm          3.5398        4.0251        .93475E-06   -.63013E-04
  10  norm          .10000E-03    1.8574       -.35714E-06** at limit **
  11  Prefactor     .10000E-03    81.377       -.53293E-04** at limit **
  12  Prefactor     29.430        103.72        .18711E-03    .68274E-05
  13  Prefactor     18.917        50.745       -.52771E-04   -.65576E-05
  14  Prefactor     .10000E-03    352.39       -.14459E-03** at limit **
  15  Prefactor     58.358        90.179       -.31762E-05   -.81644E-05
  16  Prefactor     .10000E-03    39.775        .13356E-04** at limit **
  17  Prefactor     .10000E-03    2028.6       -.14867E-02** at limit **
  18  Prefactor     .10000E-03    169.42        .18827E-03** at limit **
  19  Prefactor     .10000E-03    25.969       -.11218E-04** at limit **
  20  Prefactor     .10000E-03    829.59       -.88169E-04** at limit **
  21  Normalizat    1.1587        .38105       -.10528E-04    .66906E-04
  22  Prefactor     1.0147        .19327        .87450E-06   -.19585E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 110.983
  norm       = 1.33022
  norm       = 12.3684
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.5398
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 29.4296
  Prefactor  = 18.9174
  Prefactor  = 0.0001
  Prefactor  = 58.3577
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.15874
  Prefactor  = 1.01472
 **********
 **   18 **HESSE 
 **********

 FCN=   2921.796     FROM HESSE     STATUS=OK           332 CALLS     2636 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          110.98        43.778        .38182E-04   -1.3597    
   2  norm          1.3302        2.0046        .92452E-04   -1.5477    
   3  norm          12.368        9.0165        .11389E-03   -1.5004    
   4  norm          .10000E-03    50.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    33.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    92.477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.5417        .65450E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    27.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.5398        4.0212        .11146E-03   -1.5332    
  10  norm          .10000E-03    1.9364        .14380E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    81.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     29.430        103.66        .74020E-04   -1.4622    
  13  Prefactor     18.917        50.767        .91865E-04   -1.4838    
  14  Prefactor     .10000E-03    352.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     58.358        90.304        .52515E-04   -1.4179    
  16  Prefactor     .10000E-03    40.059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2027.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    169.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    25.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    829.58        .21411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1587        .46342        .34713E-03   -.87887    
  22  Prefactor     1.0147        .23591        .18747E-03   -.92240    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.62276e-10
Minuit parameter uncertainties:
  1  43.7903
  2  2.00472
  3  9.01744
  4  2.37163e-05
  5  2.78889e-05
  6  0.000116952
  7  2.30518e-06
  8  9.65939e-05
  9  4.02148
  10  6.61204e-05
  11  8.53786e-05
  12  104.3
  13  50.8828
  14  0.000709379
  15  90.5173
  16  0.00066155
  17  0.00178932
  18  9.80682e-05
  19  1.13603e-05
  20  3.95157e-05
  21  0.465073
  22  0.236152
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.000e-04  9.659e-05  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.015e+00  2.362e-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:  1.159e+00  4.651e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/206765/likelihoodResults_602985601_603244801_4FGL_J2055.0-5218_daily_bin1403.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) = 2921.79625671
delta logL = -0.000172299297446

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2921.79608443
delta logL = -1.58806869877e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5415       1.0000          .0000       10.000    
     3 'Normalizat'    1.1587       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0147       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.

 FCN=   2921.796     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      230 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6846.7        .90712E-02** at limit **
   2  Index         2.5414        5.1246        .50000       -.50237E-06
   3  Normalizat    1.1587        .15293        .78422E-01   -.14259E-05
   4  Prefactor     1.0147        .78045E-01    .42710E-01   -.43590E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.5414
  Normalizat = 1.15873
  Prefactor  = 1.01473
 **********
 **   18 **HESSE 
 **********

 FCN=   2921.796     FROM HESSE     STATUS=OK            31 CALLS      261 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5414        6.2679        .50000       -.51406    
   3  Normalizat    1.1587        .44920        .34713E-03   -.87888    
   4  Prefactor     1.0147        .23109        .18747E-03   -.92240    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8678e-12
Minuit parameter uncertainties:
  1  4.85081e-05
  2  4.39646
  3  0.450696
  4  0.23132
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/206765': 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) = 2921.79608441
delta logL = -2.21461959882e-10

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.000e-04  4.851e-05  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  2.541e+00  4.396e+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.015e+00  2.313e-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:  1.159e+00  4.507e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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/206765/cmap_HighResolution_602985601_603244801_4FGL_J2055.0-5218_daily_bin1403.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-02', job_status='DONE', photon_flux_upper_limit='1.80e-07', time_completed='2021-09-25 21:31:31.678286', job_id='206765', GAL2='1.01', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1632630691.68', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-2.21e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1403' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:31:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0181>
Subject: Job 206765: <4FGL_J2055.0-5218_daily_bin1403> in cluster <slac> Done

Job <4FGL_J2055.0-5218_daily_bin1403> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 25 21:20:13 2021
Job was executed on host(s) <bullet0181>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:20:57 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:20:57 2021
Terminated at Sat Sep 25 21:31:32 2021
Results reported at Sat Sep 25 21:31:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2055.0-5218_daily_bin1403 313.764 -52.3099 602985601 603244801 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 :                                   468.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             251.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   634 sec.
    Turnaround time :                            679 sec.

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

