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


Performing analysis on: 4FGL_J2055.0-5218_daily_bin1455
RA = 313.764, Dec = -52.3099
tmin = 616464001, tmax = 616723201
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='206840', job_status='RUN', time_executed='2021-09-25 21:23:19.288189', time_epoch_executed='1632630199.29' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='1455'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/206840

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/206840/ft1_4FGL_J2055.0-5218_daily_bin1455.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/206840/ft2_4FGL_J2055.0-5218_daily_bin1455.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/206840/ft1_4FGL_J2055.0-5218_daily_bin1455.fits outfile=/scratch/kocevski/206840/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1455.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=616464001.0 tmax=616723201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.92
user 2.70
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/206840/ft2_4FGL_J2055.0-5218_daily_bin1455.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/206840/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1455.fits evtable="EVENTS" outfile="/scratch/kocevski/206840/ft1_filtered_4FGL_J2055.0-5218_daily_bin1455.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/206840/ft1_filtered_4FGL_J2055.0-5218_daily_bin1455.fits" evtable="EVENTS" scfile=/scratch/kocevski/206840/ft2_4FGL_J2055.0-5218_daily_bin1455.fits sctable="SC_DATA" outfile=/scratch/kocevski/206840/ltcube_616464001_616723201_4FGL_J2055.0-5218_daily_bin1455.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/206840/ft2_4FGL_J2055.0-5218_daily_bin1455.fits
.....................!
real 15.45
user 15.06
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/206840/ft1_filtered_4FGL_J2055.0-5218_daily_bin1455.fits evtable="EVENTS" scfile=/scratch/kocevski/206840/ft2_4FGL_J2055.0-5218_daily_bin1455.fits sctable="SC_DATA" expcube=/scratch/kocevski/206840/ltcube_616464001_616723201_4FGL_J2055.0-5218_daily_bin1455.fits outfile=/scratch/kocevski/206840/expmap_616464001_616723201_4FGL_J2055.0-5218_daily_bin1455.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/206840/ltcube_616464001_616723201_4FGL_J2055.0-5218_daily_bin1455.fits
.....................!
real 190.76
user 186.04
sys 4.04

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/206840/ft1_filtered_4FGL_J2055.0-5218_daily_bin1455.fits scfile=/scratch/kocevski/206840/ft2_4FGL_J2055.0-5218_daily_bin1455.fits outfile=/scratch/kocevski/206840/cmap_616464001_616723201_4FGL_J2055.0-5218_daily_bin1455.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/206840/ft1_filtered_4FGL_J2055.0-5218_daily_bin1455.fits scfile=/scratch/kocevski/206840/ft2_4FGL_J2055.0-5218_daily_bin1455.fits outfile=/scratch/kocevski/206840/cmap_HighResolution_616464001_616723201_4FGL_J2055.0-5218_daily_bin1455.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.9212       1.0000         .10000E-03   10000.    
     2 'norm      '    .24545E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.0235       1.0000         .10000E-03   10000.    
     4 'norm      '    1.6676       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.8214       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5886       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.3726       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6780       1.0000         .10000E-03   10000.    
     9 'norm      '    5.4566       1.0000         .10000E-03   10000.    
    10 'norm      '    .10216E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.2609       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.7081       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.3517       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.6967       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.3371       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.6484       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.6627       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.3542       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8588       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.2514       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    .70171       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=   115.5553     FROM MIGRAD    STATUS=CONVERGED    244 CALLS      355 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1501.3        .35616E-02** at limit **
   2  norm          .10000E-03    18.486        .90712E-02** at limit **
   3  norm          .10046E-03    9326.5        .12696E-01** at limit **
   4  norm          1.6676        1.0540         .0000         .0000    
   5  Prefactor     2.8214        1.0166         .0000         .0000    
   6  Prefactor     5.5886        1.0041         .0000         .0000    
   7  Prefactor     .10000E-03    .21624       -.29208E-05** at limit **
   8  Prefactor     .10006E-03    .16530        .10320E-02** at limit **
   9  norm         10000.0        .46233E-01   -.65330E-04** at limit **
  10  norm          .10000E-03    .20571        .10821E-08** at limit **
  11  Prefactor    10000.0        .47984E-01    .73598E-06** at limit **
  12  Prefactor     .10000E-03    .37503E-01    .13093E-05** at limit **
  13  Prefactor     5.3517        1.0044         .0000         .0000    
  14  Prefactor     3.6967        1.0094         .0000         .0000    
  15  Prefactor    10000.0        .39725E-01    .34095E-04** at limit **
  16  Prefactor    10000.0        .98054E-01   -.14689E-05** at limit **
  17  Prefactor     .10000E-03    .37762E-01    .90391E-06** at limit **
  18  Prefactor     .10000E-03    .22058       -.36076E-06** at limit **
  19  Prefactor     .10000E-03    .14599        .15091E-05** at limit **
  20  Prefactor     .10000E-03    .34667E-01   -.17957E-05** at limit **
  21  Normalizat    .10000E-01    .25713       -.30324E-05** at limit **
  22  Prefactor     .61779        .99101       -.23999E-05    .11801E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100003
  norm       = 0.0001
  norm       = 0.000100461
  norm       = 1.66756
  Prefactor  = 2.82136
  Prefactor  = 5.58861
  Prefactor  = 0.0001
  Prefactor  = 0.000100056
  norm       = 10000
  norm       = 0.0001
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 5.35166
  Prefactor  = 3.69667
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Normalizat = 0.01
  Prefactor  = 0.617788
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   115.5553     FROM HESSE     STATUS=FAILED        15 CALLS      370 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1501.3        .35616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    18.486        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10046E-03    9326.5        .12696E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          574.70        572.87         .0000       -1.5450    
   5  Prefactor     2.8214        1.0166         .0000       -1.5372    
   6  Prefactor     5.5886        1.0041         .0000       -1.5235    
   7  Prefactor     .10000E-03    .21624       -.29208E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10006E-03    .16530        .10320E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm         10000.0        .46233E-01   -.65330E-04   -4.7124    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .20571        .10821E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor    10000.0        .47984E-01    .73598E-06    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    .37503E-01    .13093E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.3517        1.0044         .0000       -1.5245    
  14  Prefactor     3.6967        1.0094         .0000       -1.5323    
  15  Prefactor    10000.0        .39725E-01    .34095E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor    10000.0        .98054E-01   -.14689E-05    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .37762E-01    .90391E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .22058       -.36076E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    .14599        .15091E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .34667E-01   -.17957E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .10000E-01    .25713       -.30324E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .61779        .99101       -.23999E-05   -1.0684    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.83704e-11
Minuit parameter uncertainties:
  1  0.0043143
  2  3.40431e-05
  3  0.264296
  4  1.05402
  5  1.01663
  6  1.00406
  7  1.03053e-05
  8  0.000191619
  9  0.000161351
  10  1.03824e-08
  11  6.29511e-05
  12  3.5749e-06
  13  1.00443
  14  1.00945
  15  0.000197178
  16  0.000241542
  17  2.24136e-05
  18  1.81609e-05
  19  1.94315e-05
  20  1.19238e-05
  21  5.27667e-07
  22  1.02137
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.001e-04  1.916e-04  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.178e-01  1.021e+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.277e-07  1.000e-02  1.000e+01 ( 1.000e+00)

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

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/206840/likelihoodResults_616464001_616723201_4FGL_J2055.0-5218_daily_bin1455.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) = 115.555590511
delta logL = -0.000249655180312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 115.555590511
delta logL = -0.000249655006783

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.4606       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=   115.5556     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       80 TOTAL
                     EDM=   .31E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.4606        3.6243        .50000       -.17695E-05
                               ERR DEF=  .500    
Final values: 
  Index      = 2.46056
 **********
 **   18 **HESSE 
 **********

 FCN=   115.5556     FROM HESSE     STATUS=OK            11 CALLS       91 TOTAL
                     EDM=   .31E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       2.4606        3.6243        .50000       -.53273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1312e-12
Minuit parameter uncertainties:
  1  4.30711
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/206840': 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) = 115.555590511
delta logL = -0.000249655005916

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  9.637e-03  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
314        Index:  2.461e+00  4.307e+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.178e-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/206840/cmap_HighResolution_616464001_616723201_4FGL_J2055.0-5218_daily_bin1455.png

Cleaning up...

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

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:28:46.010645', job_id='206840', GAL2='0.62', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632630526.01', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.62', dlogl='-2.50e-04', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1455' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:28:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 206840: <4FGL_J2055.0-5218_daily_bin1455> in cluster <slac> Done

Job <4FGL_J2055.0-5218_daily_bin1455> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 25 21:20:18 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:21:53 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:21:53 2021
Terminated at Sat Sep 25 21:28:46 2021
Results reported at Sat Sep 25 21:28:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2055.0-5218_daily_bin1455 313.764 -52.3099 616464001 616723201 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.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             348.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   413 sec.
    Turnaround time :                            508 sec.

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

