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


Performing analysis on: 4FGL_J2055.0-5218_daily_bin531
RA = 313.764, Dec = -52.3099
tmin = 376963201, tmax = 377222401
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='199970', job_status='RUN', time_executed='2021-09-25 20:57:02.513830', time_epoch_executed='1632628622.51' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='531'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/199970

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/199970/ft1_4FGL_J2055.0-5218_daily_bin531.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/199970/ft2_4FGL_J2055.0-5218_daily_bin531.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/199970/ft1_4FGL_J2055.0-5218_daily_bin531.fits outfile=/scratch/kocevski/199970/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin531.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=376963201.0 tmax=377222401.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 4.58
user 4.30
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/199970/ft1_filtered_4FGL_J2055.0-5218_daily_bin531.fits" evtable="EVENTS" scfile=/scratch/kocevski/199970/ft2_4FGL_J2055.0-5218_daily_bin531.fits sctable="SC_DATA" outfile=/scratch/kocevski/199970/ltcube_376963201_377222401_4FGL_J2055.0-5218_daily_bin531.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/199970/ft2_4FGL_J2055.0-5218_daily_bin531.fits
.....................!
real 12.10
user 11.72
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/199970/ft1_filtered_4FGL_J2055.0-5218_daily_bin531.fits evtable="EVENTS" scfile=/scratch/kocevski/199970/ft2_4FGL_J2055.0-5218_daily_bin531.fits sctable="SC_DATA" expcube=/scratch/kocevski/199970/ltcube_376963201_377222401_4FGL_J2055.0-5218_daily_bin531.fits outfile=/scratch/kocevski/199970/expmap_376963201_377222401_4FGL_J2055.0-5218_daily_bin531.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/199970/ltcube_376963201_377222401_4FGL_J2055.0-5218_daily_bin531.fits
.....................!
real 191.16
user 185.41
sys 4.58

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/199970/ft1_filtered_4FGL_J2055.0-5218_daily_bin531.fits scfile=/scratch/kocevski/199970/ft2_4FGL_J2055.0-5218_daily_bin531.fits outfile=/scratch/kocevski/199970/cmap_376963201_377222401_4FGL_J2055.0-5218_daily_bin531.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=313.764 yref=-52.3099 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/199970/ft1_filtered_4FGL_J2055.0-5218_daily_bin531.fits scfile=/scratch/kocevski/199970/ft2_4FGL_J2055.0-5218_daily_bin531.fits outfile=/scratch/kocevski/199970/cmap_HighResolution_376963201_377222401_4FGL_J2055.0-5218_daily_bin531.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/199970/ft1_filtered_4FGL_J2055.0-5218_daily_bin531.fits evtable="EVENTS" scfile=/scratch/kocevski/199970/ft2_4FGL_J2055.0-5218_daily_bin531.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/199970/Model_4FGL_J2055.0-5218_daily_bin531.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/199970/ft1_filtered_4FGL_J2055.0-5218_daily_bin531.fits.....................!
real 52.27
user 50.86
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.478       1.0000         .10000E-03   10000.    
     2 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.6886       1.0000         .10000E-03   10000.    
     4 'norm      '    12.164       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .18044E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    106.00       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.434       1.0000         .10000E-03   10000.    
     9 'norm      '    4.9912       1.0000         .10000E-03   10000.    
    10 'norm      '    .11378E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    28.193       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11034E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.5225       1.0000         .10000E-03   10000.    
    17 'Prefactor '    46.762       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .87221E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .67992       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2183       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91020       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=   6240.099     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2439 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.472        23.760       -.57671E-06   -.74781E-05
   2  norm          .10000E-03    1.5812        .70179E-07** at limit **
   3  norm          6.6876        5.0299        .14399E-05    .74650E-04
   4  norm          12.115        24.887        .21883E-05    .86852E-05
   5  Prefactor     .10000E-03    146.37        .22803E-05** at limit **
   6  Prefactor     105.98        86.954        .17981E-06   -.30753E-04
   7  Prefactor     .10000E-03    1.6866       -.22399E-07** at limit **
   8  Prefactor     16.424        24.004        .26130E-06   -.26711E-05
   9  norm          4.9906        2.5166        .54372E-07   -.41055E-04
  10  norm          .10000E-03    1.7415        .16051E-06** at limit **
  11  Prefactor     28.137        54.929       -.36932E-06   -.67989E-04
  12  Prefactor     .10000E-03    38.976        .16749E-07** at limit **
  13  Prefactor     .10000E-03    3.4633        .90893E-07** at limit **
  14  Prefactor     .10000E-03    14.464        .69566E-07** at limit **
  15  Prefactor     .10000E-03    25.842       -.11360E-05** at limit **
  16  Prefactor     1.5217        3.1471        .30518E-06   -.35731E-04
  17  Prefactor     46.818        39.874       -.62590E-06    .28230E-04
  18  Prefactor     .10109E-03    5.3274        .84891E-06** at limit **
  19  Prefactor     .68014        3.0048        .16932E-05    .37208E-04
  20  Prefactor     .10000E-03    142.20        .73405E-07** at limit **
  21  Normalizat    1.2188        .23293       -.13485E-05   -.11976E-03
  22  Prefactor     .90998        .12404        .30765E-07   -.20518E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 18.4718
  norm       = 0.0001
  norm       = 6.68756
  norm       = 12.1155
  Prefactor  = 0.000100001
  Prefactor  = 105.977
  Prefactor  = 0.0001
  Prefactor  = 16.4245
  norm       = 4.99064
  norm       = 0.0001
  Prefactor  = 28.1372
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.52171
  Prefactor  = 46.8179
  Prefactor  = 0.000101087
  Prefactor  = 0.680141
  Prefactor  = 0.0001
  Normalizat = 1.21881
  Prefactor  = 0.909984
 **********
 **   18 **HESSE 
 **********

 FCN=   6240.099     FROM HESSE     STATUS=OK           354 CALLS     2793 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.472        23.741        .93174E-04   -1.4848    
   2  norm          .10000E-03    1.6573        .19384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.6876        5.0262        .72763E-03   -1.5191    
   4  norm          12.115        24.657        .11485E-03   -1.5012    
   5  Prefactor     .10000E-03    146.72        .40638E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     105.98        86.965        .19529E-03   -1.3645    
   7  Prefactor     .10000E-03    1.7213        .10008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.424        24.010        .98797E-04   -1.4897    
   9  norm          4.9906        2.5155        .85086E-04   -1.5261    
  10  norm          .10000E-03    4.2575        .20216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     28.137        54.994        .75453E-04   -1.4647    
  12  Prefactor     .10000E-03    38.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.4846        .14357E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    25.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.5217        3.1073        .19418E-03   -1.5461    
  17  Prefactor     46.818        39.952        .29318E-03   -1.4338    
  18  Prefactor     .10109E-03    8.2204        .60832E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .68014        2.9704        .26517E-03   -1.5543    
  20  Prefactor     .10000E-03    142.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2188        .27863        .30572E-03   -.86024    
  22  Prefactor     .90998        .14896        .19158E-03   -.95793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40755e-10
Minuit parameter uncertainties:
  1  23.7531
  2  1.01602e-06
  3  5.02652
  4  24.6782
  5  0.000577167
  6  87.07
  7  3.34866e-06
  8  24.0239
  9  2.51556
  10  3.94189e-06
  11  55.0929
  12  7.98162e-06
  13  2.85793e-06
  14  5.69558e-06
  15  1.03149e-05
  16  3.1076
  17  39.9748
  18  0.00597902
  19  2.84275
  20  0.000317026
  21  0.278968
  22  0.149026
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.642e+01  2.402e+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.100e-01  1.490e-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.219e+00  2.790e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/199970/likelihoodResults_376963201_377222401_4FGL_J2055.0-5218_daily_bin531.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) = 6240.09546146
delta logL = 0.00357728245581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6240.0938928
delta logL = 0.00514594536071

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.086       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5733       1.0000          .0000       10.000    
     3 'Normalizat'    1.2142       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91147       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=   6240.094     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      226 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.086        582.41        .25780E-02   -.48446E-04
   2  Index         2.5732        6.2866        .23285        .51311E-04
   3  Normalizat    1.2142        .67915E-01    .69209E-01    .11229E-04
   4  Prefactor     .91149        .32905E-01    .45151E-01    .54803E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.0855
  Index      = 2.57319
  Normalizat = 1.21417
  Prefactor  = 0.911494
 **********
 **   18 **HESSE 
 **********

 FCN=   6240.094     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.086        28.357        .10312E-03   -1.4931    
   2  Index         2.5732        1.2070        .89708E-02   -.50678    
   3  Normalizat    1.2142        .27139        .30621E-03   -.86166    
   4  Prefactor     .91149        .14759        .19143E-03   -.95741    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11352e-11
Minuit parameter uncertainties:
  1  28.3827
  2  1.2229
  3  0.271703
  4  0.147652
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/199970': 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) = 6240.09389277
delta logL = 0.00514597641723

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.509e+01  2.838e+01  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  2.573e+00  1.223e+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.115e-01  1.477e-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.214e+00  2.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.61
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/199970/cmap_HighResolution_376963201_377222401_4FGL_J2055.0-5218_daily_bin531.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-02', job_status='DONE', photon_flux_upper_limit='1.49e-07', time_completed='2021-09-25 21:07:55.332700', job_id='199970', GAL2='0.91', fit_tolerance='1e-08', EG2='1.21', EG='1.22', time_epoch_completed='1632629275.33', return_code2='0', ts='0.61', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='5.15e-03', ts2='0.62', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='531' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:07:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 199970: <4FGL_J2055.0-5218_daily_bin531> in cluster <slac> Done

Job <4FGL_J2055.0-5218_daily_bin531> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 25 20:55:17 2021
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 20:56:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 20:56:46 2021
Terminated at Sat Sep 25 21:07:55 2021
Results reported at Sat Sep 25 21:07:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2055.0-5218_daily_bin531 313.764 -52.3099 376963201 377222401 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 :                                   648.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             326.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   670 sec.
    Turnaround time :                            758 sec.

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

