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


Performing analysis on: 4FGL_J2055.0-5218_daily_bin1568
RA = 313.764, Dec = -52.3099
tmin = 645753601, tmax = 646012801
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='208122', job_status='RUN', time_executed='2021-09-25 21:26:55.044853', time_epoch_executed='1632630415.04' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='1568'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/208122

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/208122/ft1_4FGL_J2055.0-5218_daily_bin1568.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/208122/ft2_4FGL_J2055.0-5218_daily_bin1568.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/208122/ft1_4FGL_J2055.0-5218_daily_bin1568.fits outfile=/scratch/kocevski/208122/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1568.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=645753601.0 tmax=646012801.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 1.93
user 1.74
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/208122/ft2_4FGL_J2055.0-5218_daily_bin1568.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/208122/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1568.fits evtable="EVENTS" outfile="/scratch/kocevski/208122/ft1_filtered_4FGL_J2055.0-5218_daily_bin1568.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.44
user 0.29
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/208122/ft1_filtered_4FGL_J2055.0-5218_daily_bin1568.fits" evtable="EVENTS" scfile=/scratch/kocevski/208122/ft2_4FGL_J2055.0-5218_daily_bin1568.fits sctable="SC_DATA" outfile=/scratch/kocevski/208122/ltcube_645753601_646012801_4FGL_J2055.0-5218_daily_bin1568.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/208122/ft2_4FGL_J2055.0-5218_daily_bin1568.fits
.....................!
real 14.02
user 13.68
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/208122/ft1_filtered_4FGL_J2055.0-5218_daily_bin1568.fits evtable="EVENTS" scfile=/scratch/kocevski/208122/ft2_4FGL_J2055.0-5218_daily_bin1568.fits sctable="SC_DATA" expcube=/scratch/kocevski/208122/ltcube_645753601_646012801_4FGL_J2055.0-5218_daily_bin1568.fits outfile=/scratch/kocevski/208122/expmap_645753601_646012801_4FGL_J2055.0-5218_daily_bin1568.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/208122/ltcube_645753601_646012801_4FGL_J2055.0-5218_daily_bin1568.fits
.....................!
real 156.11
user 151.63
sys 3.64

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/208122/ft1_filtered_4FGL_J2055.0-5218_daily_bin1568.fits scfile=/scratch/kocevski/208122/ft2_4FGL_J2055.0-5218_daily_bin1568.fits outfile=/scratch/kocevski/208122/cmap_645753601_646012801_4FGL_J2055.0-5218_daily_bin1568.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.34
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/208122/ft1_filtered_4FGL_J2055.0-5218_daily_bin1568.fits scfile=/scratch/kocevski/208122/ft2_4FGL_J2055.0-5218_daily_bin1568.fits outfile=/scratch/kocevski/208122/cmap_HighResolution_645753601_646012801_4FGL_J2055.0-5218_daily_bin1568.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.49
user 0.33
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/208122/ft1_filtered_4FGL_J2055.0-5218_daily_bin1568.fits evtable="EVENTS" scfile=/scratch/kocevski/208122/ft2_4FGL_J2055.0-5218_daily_bin1568.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/208122/Model_4FGL_J2055.0-5218_daily_bin1568.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/208122/ft1_filtered_4FGL_J2055.0-5218_daily_bin1568.fits......................!
real 28.50
user 27.41
sys 1.01

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    115.79       1.0000         .10000E-03   10000.    
     2 'norm      '    6.0267       1.0000         .10000E-03   10000.    
     3 'norm      '    4.2225       1.0000         .10000E-03   10000.    
     4 'norm      '    .10938E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10544E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    230.54       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    36.284       1.0000         .10000E-03   10000.    
     9 'norm      '    13.836       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1126       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .19086E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10378E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.2910       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.3994       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11096E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    2.2991       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .62333       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=   3236.278     FROM MIGRAD    STATUS=CONVERGED    861 CALLS     2767 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          115.71        95.619        .18695E-03    .80878E-05
   2  norm          6.0249        5.5229        .12352E-03    .18317E-04
   3  norm          4.2177        10.743        .19610E-03   -.37683E-05
   4  norm          .10000E-03    54.689        .18142E-02** at limit **
   5  Prefactor     .10001E-03    95.676        .17364    ** at limit **
   6  Prefactor     230.71        200.53        .13327E-03   -.92984E-06
   7  Prefactor     .10000E-03    2.6950        .90665E-03** at limit **
   8  Prefactor     36.277        48.209        .66532E-04    .85437E-05
   9  norm          13.837        6.2713        .90683E-04    .49959E-04
  10  norm          .10000E-03    1.7749        .73883E-03** at limit **
  11  Prefactor     .10000E-03    30.286        .18142E-02** at limit **
  12  Prefactor     .10000E-03    106.76        .18142E-02** at limit **
  13  Prefactor     1.1584        79.327        .39927E-02   -.21625E-03
  14  Prefactor     .10000E-03    157.48        .18142E-02** at limit **
  15  Prefactor     .10000E-03    21.763        .18142E-02** at limit **
  16  Prefactor     5.2903        7.7094        .17473E-03    .48862E-04
  17  Prefactor     .10000E-03    34.163        .18142E-02** at limit **
  18  Prefactor     .10000E-03    7.1469        .14842E-02** at limit **
  19  Prefactor     6.3997        5.7564        .12456E-03   -.17386E-04
  20  Prefactor     .10000E-03    125.15        .18142E-02** at limit **
  21  Normalizat    2.2996        .46935        .30156E-03    .25798E-03
  22  Prefactor     .62309        .23871        .27841E-03    .24746E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 115.712
  norm       = 6.02491
  norm       = 4.21773
  norm       = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 230.714
  Prefactor  = 0.0001
  Prefactor  = 36.2771
  norm       = 13.8367
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.15841
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.2903
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.3997
  Prefactor  = 0.0001
  Normalizat = 2.29956
  Prefactor  = 0.623089
 **********
 **   18 **HESSE 
 **********

 FCN=   3236.278     FROM HESSE     STATUS=OK           332 CALLS     3099 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          115.71        95.596        .74781E-05   -1.3552    
   2  norm          6.0249        5.5227        .49406E-05   -1.5217    
   3  norm          4.2177        10.741        .78440E-05   -1.5297    
   4  norm          .10000E-03    54.690        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    96.995        .17177       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     230.71        200.52        .26654E-04   -1.2658    
   7  Prefactor     .10000E-03    2.6953        .18133E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     36.277        48.204        .26613E-05   -1.4503    
   9  norm          13.837        6.2701        .36273E-05   -1.4964    
  10  norm          .10000E-03    1.7750        .14777E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    30.286        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    106.76        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1584        78.264        .15971E-03   -1.5493    
  14  Prefactor     .10000E-03    157.51        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    21.764        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.2903        7.7062        .69893E-05   -1.5248    
  17  Prefactor     .10000E-03    34.163        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.1472        .29683E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.3997        5.7555        .49826E-05   -1.5202    
  20  Prefactor     .10000E-03    125.15        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    2.2996        .46751        .60313E-04   -.57238    
  22  Prefactor     .62309        .23876        .11136E-04   -1.0662    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.04454e-09
Minuit parameter uncertainties:
  1  95.7242
  2  5.5232
  3  10.7464
  4  2.7258e-05
  5  0.00159086
  6  201.123
  7  2.76809e-05
  8  48.2553
  9  6.27037
  10  1.24591e-05
  11  3.42161e-05
  12  0.000225357
  13  19.0686
  14  8.00721e-05
  15  5.99263e-05
  16  7.70761
  17  4.41386e-05
  18  2.5256e-05
  19  5.756
  20  0.000121635
  21  0.468481
  22  0.239151
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  3.628e+01  4.826e+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:  6.231e-01  2.392e-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:  2.300e+00  4.685e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/208122/likelihoodResults_645753601_646012801_4FGL_J2055.0-5218_daily_bin1568.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) = 3236.27500015
delta logL = 0.0027905919942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3236.27244281
delta logL = 0.00534793207089

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.832       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3447       1.0000          .0000       10.000    
     3 'Normalizat'    2.3059       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62027       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=   3236.272     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      273 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.829        70.846        .62731E-04    .17226E-03
   2  Index         2.3444        1.1318        .90077E-02    .70461E-04
   3  Normalizat    2.3066        .44741        .30125E-03   -.98721E-04
   4  Prefactor     .61990        .23604        .27908E-03   -.15297E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.8288
  Index      = 2.34435
  Normalizat = 2.30664
  Prefactor  = 0.619898
 **********
 **   18 **HESSE 
 **********

 FCN=   3236.272     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.829        66.889        .12546E-04   -1.4429    
   2  Index         2.3444        1.0689        .36031E-03   -.55993    
   3  Normalizat    2.3066        .44697        .60249E-04   -.57069    
   4  Prefactor     .61990        .23577        .11163E-04   -1.0675    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50731e-10
Minuit parameter uncertainties:
  1  67.012
  2  1.08059
  3  0.447812
  4  0.236152
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/208122': 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) = 3236.27244142
delta logL = 0.00534932411165

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  4.083e+01  6.701e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  2.344e+00  1.081e+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:  6.199e-01  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:  2.307e+00  4.478e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.80
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/208122/cmap_HighResolution_645753601_646012801_4FGL_J2055.0-5218_daily_bin1568.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.44e-02', job_status='DONE', photon_flux_upper_limit='3.14e-07', time_completed='2021-09-25 21:33:49.003383', job_id='208122', GAL2='0.62', fit_tolerance='1e-08', EG2='2.31', EG='2.30', time_epoch_completed='1632630829.0', return_code2='0', ts='0.80', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='5.35e-03', ts2='0.81', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1568' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:33:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 208122: <4FGL_J2055.0-5218_daily_bin1568> in cluster <slac> Done

Job <4FGL_J2055.0-5218_daily_bin1568> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 25 21:25:21 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:25:38 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:25:38 2021
Terminated at Sat Sep 25 21:33:49 2021
Results reported at Sat Sep 25 21:33:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2055.0-5218_daily_bin1568 313.764 -52.3099 645753601 646012801 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 :                                   411.08 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   491 sec.
    Turnaround time :                            508 sec.

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

