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


Performing analysis on: 4FGL_J2055.0-5218_daily_bin932
RA = 313.764, Dec = -52.3099
tmin = 480902401, tmax = 481161601
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='202860', job_status='RUN', time_executed='2021-09-25 21:09:06.252921', time_epoch_executed='1632629346.25' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='932'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/202860

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/202860/ft1_4FGL_J2055.0-5218_daily_bin932.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/202860/ft2_4FGL_J2055.0-5218_daily_bin932.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/202860/ft1_4FGL_J2055.0-5218_daily_bin932.fits outfile=/scratch/kocevski/202860/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin932.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=480902401.0 tmax=481161601.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.76
user 3.51
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/202860/ft1_filtered_4FGL_J2055.0-5218_daily_bin932.fits" evtable="EVENTS" scfile=/scratch/kocevski/202860/ft2_4FGL_J2055.0-5218_daily_bin932.fits sctable="SC_DATA" outfile=/scratch/kocevski/202860/ltcube_480902401_481161601_4FGL_J2055.0-5218_daily_bin932.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/202860/ft2_4FGL_J2055.0-5218_daily_bin932.fits
.....................!
real 13.99
user 13.59
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/202860/ft1_filtered_4FGL_J2055.0-5218_daily_bin932.fits evtable="EVENTS" scfile=/scratch/kocevski/202860/ft2_4FGL_J2055.0-5218_daily_bin932.fits sctable="SC_DATA" expcube=/scratch/kocevski/202860/ltcube_480902401_481161601_4FGL_J2055.0-5218_daily_bin932.fits outfile=/scratch/kocevski/202860/expmap_480902401_481161601_4FGL_J2055.0-5218_daily_bin932.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/202860/ltcube_480902401_481161601_4FGL_J2055.0-5218_daily_bin932.fits
.....................!
real 194.56
user 189.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 J2055.0-5218 @ 313.764 -52.3099

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/202860/ft1_filtered_4FGL_J2055.0-5218_daily_bin932.fits scfile=/scratch/kocevski/202860/ft2_4FGL_J2055.0-5218_daily_bin932.fits outfile=/scratch/kocevski/202860/cmap_480902401_481161601_4FGL_J2055.0-5218_daily_bin932.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/202860/ft1_filtered_4FGL_J2055.0-5218_daily_bin932.fits scfile=/scratch/kocevski/202860/ft2_4FGL_J2055.0-5218_daily_bin932.fits outfile=/scratch/kocevski/202860/cmap_HighResolution_480902401_481161601_4FGL_J2055.0-5218_daily_bin932.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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/202860/ft1_filtered_4FGL_J2055.0-5218_daily_bin932.fits evtable="EVENTS" scfile=/scratch/kocevski/202860/ft2_4FGL_J2055.0-5218_daily_bin932.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/202860/Model_4FGL_J2055.0-5218_daily_bin932.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/202860/ft1_filtered_4FGL_J2055.0-5218_daily_bin932.fits.....................!
real 62.49
user 60.80
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14684E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.7036       1.0000         .10000E-03   10000.    
     4 'norm      '    9.3432       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    70.831       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7745       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.6122       1.0000         .10000E-03   10000.    
     9 'norm      '    .18351       1.0000         .10000E-03   10000.    
    10 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10584E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.0017       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10671E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .21096       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.0556       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.410       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.3420       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2392       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94947       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=   8029.644     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2428 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10018E-03    4.8534        .43424E-06** at limit **
   2  norm          .10000E-03    .33633        .19435E-08** at limit **
   3  norm          3.7028        3.1062       -.12269E-06   -.49395E-03
   4  norm          9.3390        12.135       -.50873E-06   -.14128E-03
   5  Prefactor     .10000E-03    21.825        .11315E-04** at limit **
   6  Prefactor     70.796        59.312       -.27440E-04   -.30457E-04
   7  Prefactor     2.7756        3.3733       -.82241E-06   -.85848E-03
   8  Prefactor     3.6045        35.143        .16771E-05   -.28401E-04
   9  norm          .18255        .82760        .25833E-06   -.37711E-03
  10  norm          .10000E-03    1.1056       -.36618E-07** at limit **
  11  Prefactor     .10000E-03    23.644       -.10662E-04** at limit **
  12  Prefactor     .10000E-03    72.856       -.12883E-05** at limit **
  13  Prefactor     6.0078        7.9852       -.78377E-05   -.14040E-03
  14  Prefactor     .10000E-03    70.925       -.21724E-05** at limit **
  15  Prefactor     .10000E-03    13.939       -.83906E-06** at limit **
  16  Prefactor     .21259        2.1771       -.81456E-06   -.50245E-03
  17  Prefactor     1.1758        29.224       -.12375E-06   -.31075E-03
  18  Prefactor     10.424        13.159       -.14390E-05   -.11769E-03
  19  Prefactor     .10000E-03    2.3014       -.18019E-06** at limit **
  20  Prefactor     6.3718        1121.6        .11192E-03    .44433E-05
  21  Normalizat    1.2390        .20917        .27974E-05   -.44501E-04
  22  Prefactor     .94969        .10845        .44045E-06    .94546E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010018
  norm       = 0.0001
  norm       = 3.70284
  norm       = 9.33901
  Prefactor  = 0.0001
  Prefactor  = 70.7962
  Prefactor  = 2.77563
  Prefactor  = 3.60452
  norm       = 0.182552
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.00782
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.212587
  Prefactor  = 1.17576
  Prefactor  = 10.4241
  Prefactor  = 0.0001
  Prefactor  = 6.37179
  Normalizat = 1.23896
  Prefactor  = 0.949691
 **********
 **   18 **HESSE 
 **********

 FCN=   8029.644     FROM HESSE     STATUS=OK           362 CALLS     2790 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10018E-03    5.7767        .74712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .33852        .50743E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.7028        3.1015        .13934E-03   -1.5323    
   4  norm          9.3390        12.130        .13111E-03   -1.5097    
   5  Prefactor     .10000E-03    22.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     70.796        59.223        .23849E-03   -1.4023    
   7  Prefactor     2.7756        3.3527        .16447E-03   -1.5375    
   8  Prefactor     3.6045        34.701        .21259E-03   -1.5328    
   9  norm          .18255        4.0196        .15169E-02   -1.5623    
  10  norm          .10000E-03    1.1410        .18399E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    73.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.0078        7.9886        .16390E-03   -1.5218    
  14  Prefactor     .10000E-03    72.843        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .21259        6.4096        .25425E-02   -1.5616    
  17  Prefactor     1.1758        230.21        .90079E-02   -1.5491    
  18  Prefactor     10.424        12.856        .12419E-03   -1.5062    
  19  Prefactor     .10000E-03    2.3465        .13271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.3718        1070.7        .15939E-03   -1.5203    
  21  Normalizat    1.2390        .25281        .30042E-03   -.85407    
  22  Prefactor     .94969        .13146        .18718E-03   -.94426    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.1127e-09
Minuit parameter uncertainties:
  1  0.00203685
  2  8.25625e-07
  3  3.10165
  4  12.1333
  5  0.000118887
  6  59.2719
  7  3.35289
  8  22.3846
  9  1.71288
  10  4.11047e-06
  11  1.55685e-05
  12  9.54921e-05
  13  7.98997
  14  0.000458742
  15  2.64865e-05
  16  2.33432
  17  33.0322
  18  12.8597
  19  2.29634e-05
  20  168.351
  21  0.253065
  22  0.131502
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  3.605e+00  2.238e+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:  9.497e-01  1.315e-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.239e+00  2.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 313.764 -52.310
Photon Flux Upper Limit: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/202860/likelihoodResults_480902401_481161601_4FGL_J2055.0-5218_daily_bin932.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) = 8028.2694336
delta logL = 1.37457902412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8028.19990424
delta logL = 1.44410838088

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92077       1.0000         .10000E-03   10000.    
     2 'Index     '    4.5713       1.0000          .0000       10.000    
     3 'Normalizat'    1.1088       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99162       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=   8028.200     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      300 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91771        6.7897        .11886E-01    .17724E-02
   2  Index         4.5727        2.0050        .11926        .25921E-03
   3  Normalizat    1.1088        .47121E-01    .71144E-01   -.40805E-04
   4  Prefactor     .99160        .26173E-01    .46162E-01   -.13878E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.917705
  Index      = 4.57273
  Normalizat = 1.10885
  Prefactor  = 0.991599
 **********
 **   18 **HESSE 
 **********

 FCN=   8028.200     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      331 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91771        18.111        .53624E-04   -1.5516    
   2  Index         4.5727        3.7743        .42605E-02   -.85559E-01
   3  Normalizat    1.1088        .21606        .31481E-03   -.89468    
   4  Prefactor     .99160        .11723        .18347E-03   -.93010    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.50878e-10
Minuit parameter uncertainties:
  1  8.15611
  2  4.2827
  3  0.216237
  4  0.117264
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/202860': 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): 102
logL (Free Index) = 8028.19990347
delta logL = 1.44410915074

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  9.177e-01  8.156e+00  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  4.573e+00  4.283e+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:  9.916e-01  1.173e-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.109e+00  2.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.18
Ra Dec: 313.764 -52.310
Photon Index (Free Index): 4.57 +/- 4.28
Photon Flux (Free Index): 1.07e-07 +/- 7.08e-08
Energy Flux (Free Index): 1.48e-05 +/- 1.29e-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/202860/cmap_HighResolution_480902401_481161601_4FGL_J2055.0-5218_daily_bin932.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.64e-03', comment='SUCCESS', energy_flux2='1.48e-05', dlogl='1.44e+00', photon_flux2='1.07e-07', job_status='DONE', time_completed='2021-09-25 21:21:49.615903', photon_index_error2='4.28', photon_index2='4.57', ts='0.03', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.11e-07', energy_flux_error2='1.29e-05', EG='1.24', time_epoch_completed='1632630109.62', return_code='0', job_id='202860', GAL2='0.99', EG2='1.11', return_code2='102', photon_flux_error2='7.08e-08', ts2='3.18', photon_index='2.46' WHERE bin_id='932' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:21:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0302>
Subject: Job 202860: <4FGL_J2055.0-5218_daily_bin932> in cluster <slac> Done

Job <4FGL_J2055.0-5218_daily_bin932> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 25 21:05:40 2021
Job was executed on host(s) <bullet0302>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:07:04 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:07:04 2021
Terminated at Sat Sep 25 21:21:50 2021
Results reported at Sat Sep 25 21:21:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2055.0-5218_daily_bin932 313.764 -52.3099 480902401 481161601 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 :                                   760.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            970 sec.

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

