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


Performing analysis on: 4FGL_J2055.0-5218_daily_bin1150
RA = 313.764, Dec = -52.3099
tmin = 537408001, tmax = 537667201
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='204271', job_status='RUN', time_executed='2021-09-25 21:13:10.905355', time_epoch_executed='1632629590.91' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='1150'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/204271

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/204271/ft1_4FGL_J2055.0-5218_daily_bin1150.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/204271/ft2_4FGL_J2055.0-5218_daily_bin1150.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/204271/ft1_4FGL_J2055.0-5218_daily_bin1150.fits outfile=/scratch/kocevski/204271/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1150.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=537408001.0 tmax=537667201.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/204271/ft2_4FGL_J2055.0-5218_daily_bin1150.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/204271/ft2_4FGL_J2055.0-5218_daily_bin1150.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/204271/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1150.fits evtable="EVENTS" outfile="/scratch/kocevski/204271/ft1_filtered_4FGL_J2055.0-5218_daily_bin1150.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.56
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/204271/ft1_filtered_4FGL_J2055.0-5218_daily_bin1150.fits" evtable="EVENTS" scfile=/scratch/kocevski/204271/ft2_4FGL_J2055.0-5218_daily_bin1150.fits sctable="SC_DATA" outfile=/scratch/kocevski/204271/ltcube_537408001_537667201_4FGL_J2055.0-5218_daily_bin1150.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/204271/ft2_4FGL_J2055.0-5218_daily_bin1150.fits
.....................!
real 13.75
user 13.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/204271/ft1_filtered_4FGL_J2055.0-5218_daily_bin1150.fits evtable="EVENTS" scfile=/scratch/kocevski/204271/ft2_4FGL_J2055.0-5218_daily_bin1150.fits sctable="SC_DATA" expcube=/scratch/kocevski/204271/ltcube_537408001_537667201_4FGL_J2055.0-5218_daily_bin1150.fits outfile=/scratch/kocevski/204271/expmap_537408001_537667201_4FGL_J2055.0-5218_daily_bin1150.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/204271/ltcube_537408001_537667201_4FGL_J2055.0-5218_daily_bin1150.fits
.....................!
real 190.99
user 185.91
sys 4.68

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/204271/ft1_filtered_4FGL_J2055.0-5218_daily_bin1150.fits scfile=/scratch/kocevski/204271/ft2_4FGL_J2055.0-5218_daily_bin1150.fits outfile=/scratch/kocevski/204271/cmap_537408001_537667201_4FGL_J2055.0-5218_daily_bin1150.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/204271/ft1_filtered_4FGL_J2055.0-5218_daily_bin1150.fits scfile=/scratch/kocevski/204271/ft2_4FGL_J2055.0-5218_daily_bin1150.fits outfile=/scratch/kocevski/204271/cmap_HighResolution_537408001_537667201_4FGL_J2055.0-5218_daily_bin1150.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/204271/ft1_filtered_4FGL_J2055.0-5218_daily_bin1150.fits evtable="EVENTS" scfile=/scratch/kocevski/204271/ft2_4FGL_J2055.0-5218_daily_bin1150.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/204271/Model_4FGL_J2055.0-5218_daily_bin1150.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/204271/ft1_filtered_4FGL_J2055.0-5218_daily_bin1150.fits.....................!
real 52.02
user 50.69
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.050       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .19794E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    13.838       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3952       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.6279       1.0000         .10000E-03   10000.    
    10 'norm      '    .91043       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.9190       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.588       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .90310       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.4755       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.0004       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .19894E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .88469       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1862       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=   6387.234     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2397 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.046        22.373        .23207E-06   -.19449E-04
   2  norm          .10000E-03    .36996        .49039E-08** at limit **
   3  norm          .10000E-03    2.8057       -.45097E-07** at limit **
   4  norm          13.841        29.589        .39777E-06   -.12765E-04
   5  Prefactor     .10000E-03    46.007        .18573E-05** at limit **
   6  Prefactor     .10000E-03    60.054       -.11449E-04** at limit **
   7  Prefactor     4.3944        3.1743       -.24251E-06   -.99726E-03
   8  Prefactor     .10002E-03    109.01        .76425E-04** at limit **
   9  norm          6.6270        3.0669       -.10260E-06   -.88643E-03
  10  norm          .91071        2.1755       -.57279E-06   -.11305E-02
  11  Prefactor     7.9211        54.386        .21800E-05   -.31489E-04
  12  Prefactor     .10000E-03    31.851       -.15567E-04** at limit **
  13  Prefactor     .10000E-03    7.5647        .20986E-06** at limit **
  14  Prefactor     16.578        36.755       -.60616E-05   -.80832E-05
  15  Prefactor     .10000E-03    57.974       -.13504E-04** at limit **
  16  Prefactor     .90237        2.6811       -.90568E-06   -.11936E-02
  17  Prefactor     .10000E-03    33.507        .20330E-04** at limit **
  18  Prefactor     8.4704        7.5929        .44892E-06    .18309E-03
  19  Prefactor     4.0003        4.4996       -.18284E-06   -.31898E-03
  20  Prefactor     .10000E-03    173.99       -.86378E-04** at limit **
  21  Normalizat    .88460        .24943       -.18691E-06   -.28012E-03
  22  Prefactor     1.1862        .13658        .23355E-06   -.45885E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.0456
  norm       = 0.0001
  norm       = 0.0001
  norm       = 13.841
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.39443
  Prefactor  = 0.000100018
  norm       = 6.62702
  norm       = 0.910706
  Prefactor  = 7.92108
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.5777
  Prefactor  = 0.0001
  Prefactor  = 0.90237
  Prefactor  = 0.0001
  Prefactor  = 8.47038
  Prefactor  = 4.00029
  Prefactor  = 0.0001
  Normalizat = 0.884604
  Prefactor  = 1.18621
 **********
 **   18 **HESSE 
 **********

 FCN=   6387.234     FROM HESSE     STATUS=OK           346 CALLS     2743 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.046        22.268        .10686E-03   -1.4958    
   2  norm          .10000E-03    .37017        .47472E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    8.7980        .25867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          13.841        29.575        .10767E-03   -1.4964    
   5  Prefactor     .10000E-03    46.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    60.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.3944        3.1702        .11572E-03   -1.5289    
   8  Prefactor     .10002E-03    109.73        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.6270        3.0694        .89469E-04   -1.5193    
  10  norm          .91071        2.1243        .17650E-03   -1.5517    
  11  Prefactor     7.9211        54.282        .14249E-03   -1.5145    
  12  Prefactor     .10000E-03    31.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.6257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.578        36.763        .98337E-04   -1.4893    
  15  Prefactor     .10000E-03    58.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .90237        2.5330        .21682E-02   -1.5518    
  17  Prefactor     .10000E-03    33.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.4704        7.5963        .13770E-03   -1.5126    
  19  Prefactor     4.0003        4.5055        .17167E-03   -1.5308    
  20  Prefactor     .10000E-03    174.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .88460        .28481        .36472E-03   -.97003    
  22  Prefactor     1.1862        .15764        .18190E-03   -.86757    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92434e-09
Minuit parameter uncertainties:
  1  22.2815
  2  8.01239e-08
  3  1.00426e-05
  4  29.6065
  5  2.33072e-05
  6  1.11996e-05
  7  3.17028
  8  0.00281187
  9  3.06947
  10  2.12452
  11  41.5255
  12  5.98954e-06
  13  2.80665e-05
  14  36.8128
  15  0.000126881
  16  2.53333
  17  1.45726e-05
  18  7.59716
  19  4.50592
  20  0.000231913
  21  0.28529
  22  0.157704
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.000e-04  2.812e-03  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  2.460e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  1.023e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.186e+00  1.577e-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:  8.846e-01  2.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/204271/likelihoodResults_537408001_537667201_4FGL_J2055.0-5218_daily_bin1150.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): 102
logL (Free Index) = 6387.23362372
delta logL = -4.33636778325e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6387.23358051
delta logL = -1.56473106472e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4184       1.0000          .0000       10.000    
     3 'Normalizat'    .88461       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1862       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=   6386.842     FROM MIGRAD    STATUS=CONVERGED    149 CALLS      337 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45383E-01    .77366E-01    .44131E-02   -.46073E-02
   2  Index         5.7406        .63077        .11672        .15517E-03
   3  Normalizat    .80843        .25244        .85770E-01    .49297E-04
   4  Prefactor     1.2123        .13885        .34965E-01   -.13529E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0453827
  Index      = 5.74058
  Normalizat = 0.808432
  Prefactor  = 1.21227
 **********
 **   18 **HESSE 
 **********

 FCN=   6386.842     FROM HESSE     STATUS=OK            35 CALLS      372 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45383E-01    1.1010        .20103E-03   -1.5751    
   2  Index         5.7406        3.9128        .67265E-02    .14866    
   3  Normalizat    .80843        .28429        .37981E-03   -.99757    
   4  Prefactor     1.2123        .15888        .18013E-03   -.85954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.81825e-08
Minuit parameter uncertainties:
  1  0.446589
  2  4.51416
  3  0.284812
  4  0.158941
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/204271': 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) = 6386.84237525
delta logL = 0.391205101046

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  4.538e-02  4.466e-01  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  5.741e+00  4.514e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  1.023e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.212e+00  1.589e-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:  8.084e-01  2.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 313.764 -52.310

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/204271/cmap_HighResolution_537408001_537667201_4FGL_J2055.0-5218_daily_bin1150.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.38e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-09-25 21:24:28.993471', job_id='204271', GAL2='1.21', fit_tolerance='1e-08', EG2='0.81', EG='0.88', time_epoch_completed='1632630268.99', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='3.91e-01', ts2='0.85', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1150' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:24:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 204271: <4FGL_J2055.0-5218_daily_bin1150> in cluster <slac> Done

Job <4FGL_J2055.0-5218_daily_bin1150> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep 25 21:10:37 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:11:39 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:11:39 2021
Terminated at Sat Sep 25 21:24:29 2021
Results reported at Sat Sep 25 21:24:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2055.0-5218_daily_bin1150 313.764 -52.3099 537408001 537667201 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 :                                   659.41 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            832 sec.

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

