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


Performing analysis on: 4FGL_J2055.0-5218_daily_bin1000
RA = 313.764, Dec = -52.3099
tmin = 498528001, tmax = 498787201
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='204036', job_status='RUN', time_executed='2021-09-25 21:11:40.058164', time_epoch_executed='1632629500.06' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='1000'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/204036

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/204036/ft1_4FGL_J2055.0-5218_daily_bin1000.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/204036/ft2_4FGL_J2055.0-5218_daily_bin1000.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/204036/ft1_4FGL_J2055.0-5218_daily_bin1000.fits outfile=/scratch/kocevski/204036/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1000.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=498528001.0 tmax=498787201.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 5.01
user 4.76
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/204036/ft1_filtered_4FGL_J2055.0-5218_daily_bin1000.fits" evtable="EVENTS" scfile=/scratch/kocevski/204036/ft2_4FGL_J2055.0-5218_daily_bin1000.fits sctable="SC_DATA" outfile=/scratch/kocevski/204036/ltcube_498528001_498787201_4FGL_J2055.0-5218_daily_bin1000.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/204036/ft2_4FGL_J2055.0-5218_daily_bin1000.fits
.....................!
real 14.45
user 14.07
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/204036/ft1_filtered_4FGL_J2055.0-5218_daily_bin1000.fits evtable="EVENTS" scfile=/scratch/kocevski/204036/ft2_4FGL_J2055.0-5218_daily_bin1000.fits sctable="SC_DATA" expcube=/scratch/kocevski/204036/ltcube_498528001_498787201_4FGL_J2055.0-5218_daily_bin1000.fits outfile=/scratch/kocevski/204036/expmap_498528001_498787201_4FGL_J2055.0-5218_daily_bin1000.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/204036/ltcube_498528001_498787201_4FGL_J2055.0-5218_daily_bin1000.fits
.....................!
real 192.37
user 187.45
sys 4.45

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

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.827       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.562       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .94402       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    91.469       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.3011       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.7537       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    26.752       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14377E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .84450       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0550       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=   6727.249     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2367 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.826        12.183        .23071E-06    .30055E-04
   2  norm          .10000E-03    .38412       -.36215E-07** at limit **
   3  norm          .10000E-03    1.5246       -.90290E-07** at limit **
   4  norm          .10000E-03    5.2095        .52725E-10** at limit **
   5  Prefactor     .10000E-03    7.4417        .25604E-07** at limit **
   6  Prefactor     14.574        69.405        .25804E-05    .69357E-05
   7  Prefactor     .94388        2.5639        .13317E-05    .48155E-03
   8  Prefactor     .10000E-03    10.538       -.27339E-06** at limit **
   9  norm          .10000E-03    .64128        .81671E-07** at limit **
  10  norm          .10000E-03    1.2967       -.36732E-07** at limit **
  11  Prefactor     .10000E-03    15.619        .46720E-07** at limit **
  12  Prefactor     91.474        127.85        .15076E-05   -.54674E-05
  13  Prefactor     5.3013        5.1137        .14563E-06   -.13835E-03
  14  Prefactor     .10000E-03    19.062       -.22679E-06** at limit **
  15  Prefactor     6.7572        21.442        .77062E-06   -.41034E-04
  16  Prefactor     .10000E-03    3.2617        .59935E-06** at limit **
  17  Prefactor     26.823        38.930       -.17997E-05   -.20943E-03
  18  Prefactor     .10024E-03    9.8138        .36781E-05** at limit **
  19  Prefactor     .10000E-03    1.6451        .32788E-07** at limit **
  20  Prefactor     .10000E-03    53.076        .47422E-06** at limit **
  21  Normalizat    .84442        .23251       -.68494E-05   -.48985E-03
  22  Prefactor     1.0550        .12719        .24291E-05   -.85082E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.8256
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.5744
  Prefactor  = 0.943884
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 91.4744
  Prefactor  = 5.30133
  Prefactor  = 0.0001
  Prefactor  = 6.75717
  Prefactor  = 0.0001
  Prefactor  = 26.8229
  Prefactor  = 0.000100243
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.844424
  Prefactor  = 1.05503
 **********
 **   18 **HESSE 
 **********

 FCN=   6727.249     FROM HESSE     STATUS=OK           334 CALLS     2701 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.826        12.199        .12176E-03   -1.5050    
   2  norm          .10000E-03    .39525        .99250E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.5875        .19762E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    5.2104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.4458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.574        69.491        .10496E-03   -1.4944    
   7  Prefactor     .94388        2.6178        .21019E-03   -1.5514    
   8  Prefactor     .10000E-03    10.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.7264        .12691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.3061        .91163E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     91.474        127.88        .42017E-04   -1.3792    
  13  Prefactor     5.3013        5.1159        .17456E-03   -1.5247    
  14  Prefactor     .10000E-03    19.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.7572        21.430        .15440E-03   -1.5188    
  16  Prefactor     .10000E-03    3.3586        .14532E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     26.823        39.126        .77453E-04   -1.4672    
  18  Prefactor     .10024E-03    36.882        .38734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.6608        .10273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    53.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .84442        .24616        .32726E-03   -.98441    
  22  Prefactor     1.0550        .13518        .16708E-03   -.90917    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.17548e-09
Minuit parameter uncertainties:
  1  12.2022
  2  4.77655e-07
  3  1.12592e-06
  4  1.53021e-07
  5  3.92027e-06
  6  63.7689
  7  2.6181
  8  2.2388e-05
  9  5.33964e-05
  10  9.43064e-07
  11  3.26536e-05
  12  128.263
  13  5.11632
  14  3.39549e-05
  15  21.4542
  16  4.11776e-05
  17  39.1631
  18  0.00599033
  19  2.17953e-06
  20  0.000132364
  21  0.246482
  22  0.135223
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.000e-04  2.239e-05  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.055e+00  1.352e-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.444e-01  2.465e-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: 7.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/204036/likelihoodResults_498528001_498787201_4FGL_J2055.0-5218_daily_bin1000.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) = 6727.24947125
delta logL = -0.000450677600384

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6727.24902055
delta logL = 1.79506969289e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4491       1.0000          .0000       10.000    
     3 'Normalizat'    .84441       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0550       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=   6727.249     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      243 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10067E-03    134.00        .18142E-02** at limit **
   2  Index         2.4014        5.8708        .50000        .74344E-05
   3  Normalizat    .84442        .17977E-01    .32727E-03   -.11634E-03
   4  Prefactor     1.0550        .10219E-01    .16708E-03   -.42759E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100667
  Index      = 2.40138
  Normalizat = 0.844424
  Prefactor  = 1.05504
 **********
 **   18 **HESSE 
 **********

 FCN=   6727.249     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10067E-03    575.53        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4014        6.1770        .50000       -.54653    
   3  Normalizat    .84442        .39468E-01    .13091E-04   -.98441    
   4  Prefactor     1.0550        .22435E-01    .33416E-04   -.90917    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.02512e-08
Minuit parameter uncertainties:
  1  0.0395861
  2  1078.55
  3  0.0394694
  4  0.022435
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/204036': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6727.24902049
delta logL = 8.10687197372e-08

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.007e-04  3.959e-02  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  2.401e+00  1.079e+03  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.055e+00  2.244e-02  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.444e-01  3.947e-02  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/204036/cmap_HighResolution_498528001_498787201_4FGL_J2055.0-5218_daily_bin1000.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.67e-03', job_status='DONE', photon_flux_upper_limit='7.31e-08', time_completed='2021-09-25 21:22:59.407672', job_id='204036', GAL2='1.06', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1632630179.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='8.11e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1000' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:22:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 204036: <4FGL_J2055.0-5218_daily_bin1000> in cluster <slac> Done

Job <4FGL_J2055.0-5218_daily_bin1000> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep 25 21:10:17 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:10:35 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:10:35 2021
Terminated at Sat Sep 25 21:23:00 2021
Results reported at Sat Sep 25 21:23:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2055.0-5218_daily_bin1000 313.764 -52.3099 498528001 498787201 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 :                                   676.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            763 sec.

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

