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


Performing analysis on: 4FGL_J2055.0-5218_daily_bin1603
RA = 313.764, Dec = -52.3099
tmin = 654825601, tmax = 655084801
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='917271', job_status='RUN', time_executed='2021-10-05 00:16:46.948458', time_epoch_executed='1633418206.95' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='1603'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917271

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917271/ft1_4FGL_J2055.0-5218_daily_bin1603.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917271/ft2_4FGL_J2055.0-5218_daily_bin1603.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917271/ft1_4FGL_J2055.0-5218_daily_bin1603.fits outfile=/scratch/kocevski/917271/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1603.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=654825601.0 tmax=655084801.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.40
user 2.22
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917271/ft1_filtered_4FGL_J2055.0-5218_daily_bin1603.fits" evtable="EVENTS" scfile=/scratch/kocevski/917271/ft2_4FGL_J2055.0-5218_daily_bin1603.fits sctable="SC_DATA" outfile=/scratch/kocevski/917271/ltcube_654825601_655084801_4FGL_J2055.0-5218_daily_bin1603.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/917271/ft2_4FGL_J2055.0-5218_daily_bin1603.fits
.....................!
real 9.89
user 9.57
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917271/ft1_filtered_4FGL_J2055.0-5218_daily_bin1603.fits evtable="EVENTS" scfile=/scratch/kocevski/917271/ft2_4FGL_J2055.0-5218_daily_bin1603.fits sctable="SC_DATA" expcube=/scratch/kocevski/917271/ltcube_654825601_655084801_4FGL_J2055.0-5218_daily_bin1603.fits outfile=/scratch/kocevski/917271/expmap_654825601_655084801_4FGL_J2055.0-5218_daily_bin1603.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/917271/ltcube_654825601_655084801_4FGL_J2055.0-5218_daily_bin1603.fits
.....................!
real 151.12
user 146.26
sys 4.51

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/917271/ft1_filtered_4FGL_J2055.0-5218_daily_bin1603.fits scfile=/scratch/kocevski/917271/ft2_4FGL_J2055.0-5218_daily_bin1603.fits outfile=/scratch/kocevski/917271/cmap_654825601_655084801_4FGL_J2055.0-5218_daily_bin1603.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.45
user 0.28
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/917271/ft1_filtered_4FGL_J2055.0-5218_daily_bin1603.fits scfile=/scratch/kocevski/917271/ft2_4FGL_J2055.0-5218_daily_bin1603.fits outfile=/scratch/kocevski/917271/cmap_HighResolution_654825601_655084801_4FGL_J2055.0-5218_daily_bin1603.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.46
user 0.30
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/917271/ft1_filtered_4FGL_J2055.0-5218_daily_bin1603.fits evtable="EVENTS" scfile=/scratch/kocevski/917271/ft2_4FGL_J2055.0-5218_daily_bin1603.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917271/Model_4FGL_J2055.0-5218_daily_bin1603.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/917271/ft1_filtered_4FGL_J2055.0-5218_daily_bin1603.fits.....................!
real 73.05
user 71.89
sys 1.03

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .76587       1.0000         .10000E-03   10000.    
     2 'norm      '    .55713       1.0000         .10000E-03   10000.    
     3 'norm      '    2.4743       1.0000         .10000E-03   10000.    
     4 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    60.078       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .78989       1.0000         .10000E-03   10000.    
    10 'norm      '    3.1134       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11016E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.365       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.1148       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11252E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.6846       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6631       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .14905E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0976       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0648       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=   12928.39     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2382 TOTAL
                     EDM=   .81E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68513        5.8998        .10412E-06   -.58378E-04
   2  norm          .55712        .60569       -.11372E-08   -.11063E-04
   3  norm          2.4748        1.9574        .18822E-07   -.84452E-05
   4  norm          .10000E-03    3.4541       -.55391E-07** at limit **
   5  Prefactor     .10000E-03    5.0711       -.65484E-07** at limit **
   6  Prefactor     60.062        48.298       -.64881E-05   -.94339E-06
   7  Prefactor     .10000E-03    .61978        .66344E-09** at limit **
   8  Prefactor     .10000E-03    4.4926       -.12520E-07** at limit **
   9  norm          .78964        1.1864        .14993E-07   -.74981E-05
  10  norm          3.1133        1.5462        .15496E-07    .28954E-05
  11  Prefactor     .10000E-03    60.777       -.11395E-06** at limit **
  12  Prefactor     .10000E-03    15.641       -.27027E-06** at limit **
  13  Prefactor     .10000E-03    1.1486       -.24155E-09** at limit **
  14  Prefactor     .10000E-03    9.7785        .11931E-07** at limit **
  15  Prefactor     12.368        16.359       -.22385E-06    .12905E-05
  16  Prefactor     7.1140        3.7709        .58740E-08   -.26420E-03
  17  Prefactor     .10000E-03    99.977       -.12914E-05** at limit **
  18  Prefactor     2.6916        5.8037       -.29245E-07   -.26681E-03
  19  Prefactor     3.6622        2.8037        .18920E-07   -.63104E-03
  20  Prefactor     .10000E-03    208.50        .16709E-05** at limit **
  21  Normalizat    1.0976        .16392        .45561E-06   -.14939E-04
  22  Prefactor     1.0648        .90938E-01    .16356E-08    .20080E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.685133
  norm       = 0.557122
  norm       = 2.47475
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 60.0624
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.789642
  norm       = 3.11329
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.3682
  Prefactor  = 7.11399
  Prefactor  = 0.0001
  Prefactor  = 2.69159
  Prefactor  = 3.66215
  Prefactor  = 0.0001
  Normalizat = 1.0976
  Prefactor  = 1.0648
 **********
 **   18 **HESSE 
 **********

 FCN=   12928.39     FROM HESSE     STATUS=OK           344 CALLS     2726 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68513        48.353        .53022E-02   -1.5542    
   2  norm          .55712        .59843        .89884E-04   -1.5559    
   3  norm          2.4748        1.9574        .13705E-03   -1.5393    
   4  norm          .10000E-03    3.4543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.0735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     60.062        48.347        .51764E-04   -1.4156    
   7  Prefactor     .10000E-03    .64174        .17474E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.5005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .78964        1.1640        .14476E-03   -1.5530    
  10  norm          3.1133        1.5486        .97013E-04   -1.5355    
  11  Prefactor     .10000E-03    61.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.1507        .11900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.8076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.368        16.384        .11392E-03   -1.5004    
  16  Prefactor     7.1140        3.8580        .75195E-03   -1.5174    
  17  Prefactor     .10000E-03    101.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.6916        7.3125        .12434E-02   -1.5380    
  19  Prefactor     3.6622        3.6789        .10295E-02   -1.5325    
  20  Prefactor     .10000E-03    209.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0976        .20440        .32166E-03   -.89829    
  22  Prefactor     1.0648        .11042        .18382E-03   -.90600    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43976e-08
Minuit parameter uncertainties:
  1  11.5203
  2  0.598439
  3  1.95741
  4  7.78031e-07
  5  5.07837e-06
  6  48.3782
  7  5.60545e-07
  8  1.39245e-06
  9  1.16408
  10  1.54867
  11  2.33711e-05
  12  2.15832e-06
  13  2.14938e-07
  14  1.48348e-06
  15  16.3898
  16  3.85818
  17  4.08796e-05
  18  7.31496
  19  3.67913
  20  5.0415e-05
  21  0.204542
  22  0.110443
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.000e-04  1.392e-06  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.065e+00  1.104e-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.098e+00  2.045e-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: 4.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/917271/likelihoodResults_654825601_655084801_4FGL_J2055.0-5218_daily_bin1603.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) = 12928.394921
delta logL = -0.00105882443859

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12928.3938639
delta logL = -1.78590380528e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11028E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4406       1.0000          .0000       10.000    
     3 'Normalizat'    1.0975       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0648       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=   12928.39     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      247 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10273E-03    3.3494        .18142E-01** at limit **
   2  Index         2.3387        8.1337        .50000        .27731E-04
   3  Normalizat    1.0976        .33363E-02    .32166E-03    .77757E-05
   4  Prefactor     1.0648        .18927E-02    .18382E-03    .14472E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102727
  Index      = 2.3387
  Normalizat = 1.0976
  Prefactor  = 1.0648
 **********
 **   18 **HESSE 
 **********

 FCN=   12928.39     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      276 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10273E-03    53.694        .24509E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3387        6.1458        .50000       -.56127    
   3  Normalizat    1.0976        .13471E-01    .12866E-04   -.89829    
   4  Prefactor     1.0648        .76423E-02    .73528E-05   -.90600    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.24929e-08
Minuit parameter uncertainties:
  1  0.0242242
  2  376.037
  3  0.0134711
  4  0.00764233
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917271': 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) = 12928.3938615
delta logL = 6.28318957752e-07

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.027e-04  2.422e-02  1.000e-04  1.000e+04 ( 1.000e-13)
314        Index:  2.339e+00  3.760e+02  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.065e+00  7.642e-03  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.098e+00  1.347e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/917271/cmap_HighResolution_654825601_655084801_4FGL_J2055.0-5218_daily_bin1603.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.42e-03', job_status='DONE', photon_flux_upper_limit='4.40e-08', time_completed='2021-10-05 00:29:37.219414', job_id='917271', GAL2='1.06', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1633418977.22', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='6.28e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1603' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  5 00:29:37 PDT 2021


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

Job <4FGL_J2055.0-5218_daily_bin1603> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Oct  5 00:15:15 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct  5 00:15:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct  5 00:15:17 2021
Terminated at Tue Oct  5 00:29:37 2021
Results reported at Tue Oct  5 00:29:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2055.0-5218_daily_bin1603 313.764 -52.3099 654825601 655084801 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 :                                   772.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            862 sec.

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

