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


Performing analysis on: 4FGL_J1054.5+2211_daily_bin1274
RA = 163.628, Dec = 22.1913
tmin = 569548801, tmax = 569808001
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='275783', job_status='RUN', time_executed='2021-09-02 19:44:41.887359', time_epoch_executed='1630637081.89' WHERE source_name='4FGL J1054.5+2211' and cadence='daily' and bin_id='1274'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/275783

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/275783/ft1_4FGL_J1054.5+2211_daily_bin1274.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/275783/ft2_4FGL_J1054.5+2211_daily_bin1274.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/275783/ft1_4FGL_J1054.5+2211_daily_bin1274.fits outfile=/scratch/kocevski/275783/ft1_filteredMKT_4FGL_J1054.5+2211_daily_bin1274.fits ra=163.628 dec=22.1913 rad=12.0 tmin=569548801.0 tmax=569808001.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 3.74
user 3.49
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/275783/ft2_4FGL_J1054.5+2211_daily_bin1274.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/275783/ft2_4FGL_J1054.5+2211_daily_bin1274.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/275783/ft1_filteredMKT_4FGL_J1054.5+2211_daily_bin1274.fits evtable="EVENTS" outfile="/scratch/kocevski/275783/ft1_filtered_4FGL_J1054.5+2211_daily_bin1274.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.65
user 0.36
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/275783/ft1_filtered_4FGL_J1054.5+2211_daily_bin1274.fits" evtable="EVENTS" scfile=/scratch/kocevski/275783/ft2_4FGL_J1054.5+2211_daily_bin1274.fits sctable="SC_DATA" outfile=/scratch/kocevski/275783/ltcube_569548801_569808001_4FGL_J1054.5+2211_daily_bin1274.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/275783/ft2_4FGL_J1054.5+2211_daily_bin1274.fits
.....................!
real 17.73
user 17.13
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/275783/ft1_filtered_4FGL_J1054.5+2211_daily_bin1274.fits evtable="EVENTS" scfile=/scratch/kocevski/275783/ft2_4FGL_J1054.5+2211_daily_bin1274.fits sctable="SC_DATA" expcube=/scratch/kocevski/275783/ltcube_569548801_569808001_4FGL_J1054.5+2211_daily_bin1274.fits outfile=/scratch/kocevski/275783/expmap_569548801_569808001_4FGL_J1054.5+2211_daily_bin1274.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/275783/ltcube_569548801_569808001_4FGL_J1054.5+2211_daily_bin1274.fits
.....................!
real 194.26
user 188.46
sys 4.39

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J1054.5+2211 @ 163.628 22.1913

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/275783/ft1_filtered_4FGL_J1054.5+2211_daily_bin1274.fits scfile=/scratch/kocevski/275783/ft2_4FGL_J1054.5+2211_daily_bin1274.fits outfile=/scratch/kocevski/275783/cmap_569548801_569808001_4FGL_J1054.5+2211_daily_bin1274.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=163.628 yref=22.1913 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.60
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/275783/ft1_filtered_4FGL_J1054.5+2211_daily_bin1274.fits scfile=/scratch/kocevski/275783/ft2_4FGL_J1054.5+2211_daily_bin1274.fits outfile=/scratch/kocevski/275783/cmap_HighResolution_569548801_569808001_4FGL_J1054.5+2211_daily_bin1274.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=163.628 yref=22.1913 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/275783/ft1_filtered_4FGL_J1054.5+2211_daily_bin1274.fits evtable="EVENTS" scfile=/scratch/kocevski/275783/ft2_4FGL_J1054.5+2211_daily_bin1274.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/275783/Model_4FGL_J1054.5+2211_daily_bin1274.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/275783/ft1_filtered_4FGL_J1054.5+2211_daily_bin1274.fits.....................!
real 54.03
user 52.43
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/275783/ft1_filtered_4FGL_J1054.5+2211_daily_bin1274.fits', '/scratch/kocevski/275783/ft2_4FGL_J1054.5+2211_daily_bin1274.fits', expMap='/scratch/kocevski/275783/expmap_569548801_569808001_4FGL_J1054.5+2211_daily_bin1274.fits', expCube='/scratch/kocevski/275783/ltcube_569548801_569808001_4FGL_J1054.5+2211_daily_bin1274.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/275783/Model_4FGL_J1054.5+2211_daily_bin1274.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1054.5+2211'

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  5.931e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.471e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/275783/ft1_filtered_4FGL_J1054.5+2211_daily_bin1274.fits
Spacecraft file(s): /scratch/kocevski/275783/ft2_4FGL_J1054.5+2211_daily_bin1274.fits
Exposure map: /scratch/kocevski/275783/expmap_569548801_569808001_4FGL_J1054.5+2211_daily_bin1274.fits
Exposure cube: /scratch/kocevski/275783/ltcube_569548801_569808001_4FGL_J1054.5+2211_daily_bin1274.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/275783/Model_4FGL_J1054.5+2211_daily_bin1274.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) = 5924.39976736

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.458       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.4320       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.5473       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10480E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.824       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11888E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.799       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    63.203       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2056       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .87107       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5924.381     FROM MIGRAD    STATUS=CONVERGED    442 CALLS     2224 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.457        9.4874        .34259E-07    .69964E-06
   2  Prefactor     .10000E-03    13.450        .38408E-05** at limit **
   3  Prefactor     .10000E-03    32.082        .38353E-05** at limit **
   4  Prefactor     8.4310        8.1395       -.11176E-06    .68762E-05
   5  Prefactor     5.5468        3.2059       -.48366E-07    .12395E-03
   6  Prefactor     .10000E-03    11.129       -.47160E-05** at limit **
   7  Prefactor     .10004E-03    4.6910       -.58676E-06** at limit **
   8  Prefactor     .10000E-03    8.9802        .72516E-07** at limit **
   9  Prefactor     .10000E-03    6.4033       -.26540E-05** at limit **
  10  Prefactor     21.834        13.736        .54715E-06    .38106E-04
  11  Prefactor     .10000E-03    7.4525        .18753E-05** at limit **
  12  norm          .10000E-03    .64754        .15076E-07** at limit **
  13  Prefactor     .10000E-03    1.8104       -.75817E-07** at limit **
  14  Prefactor     .10000E-03    4.2691       -.11268E-05** at limit **
  15  norm          10.798        12.377        .68846E-06   -.20682E-04
  16  norm          .10000E-03    2.9675       -.17326E-06** at limit **
  17  Prefactor     .10000E-03    7.3249        .16530E-05** at limit **
  18  Prefactor     .10000E-03    4.5105        .15079E-05** at limit **
  19  Prefactor     63.197        59.884       -.72446E-05    .61834E-05
  20  Normalizat    1.2057        .17907        .51044E-06    .21131E-03
  21  Prefactor     .87103        .18369        .10960E-06    .15742E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 19.4572
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.43095
  Prefactor  = 5.54681
  Prefactor  = 0.0001
  Prefactor  = 0.000100039
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.8345
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.7981
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 63.1968
  Normalizat = 1.20572
  Prefactor  = 0.871026
 **********
 **   18 **HESSE 
 **********

 FCN=   5924.381     FROM HESSE     STATUS=OK           311 CALLS     2535 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.457        9.4855        .90799E-04   -1.4825    
   2  Prefactor     .10000E-03    13.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    32.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.4310        8.0954        .13805E-03   -1.5127    
   5  Prefactor     5.5468        3.1831        .95850E-04   -1.5237    
   6  Prefactor     .10000E-03    11.374        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10004E-03    32.488        .31066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.9869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.4261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.834        13.446        .85739E-04   -1.4773    
  11  Prefactor     .10000E-03    7.4674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .67100        .12082E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.9959        .19548E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.3061        .15529E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.798        12.351        .12192E-03   -1.5051    
  16  norm          .10000E-03    2.9709        .12949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.3792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.5120        .15963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     63.197        59.995        .50476E-04   -1.4116    
  20  Normalizat    1.2057        .20769        .23224E-03   -.86426    
  21  Prefactor     .87103        .21357        .28146E-03   -.97161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2476e-09
Minuit parameter uncertainties:
  1  9.48621
  2  2.59419e-06
  3  1.02505e-05
  4  8.09644
  5  3.18323
  6  4.25565e-05
  7  0.00223888
  8  2.77954e-06
  9  6.04498e-06
  10  13.4474
  11  1.98181e-06
  12  3.39708e-07
  13  4.25966e-05
  14  1.26603e-06
  15  12.354
  16  9.74918e-07
  17  1.57185e-06
  18  1.00882e-06
  19  60.0526
  20  0.207833
  21  0.213774
Done.

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

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  6.045e-06  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.471e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.710e-01  2.138e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  1.206e+00  2.078e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 163.628 22.191
Photon Flux Upper Limit: 6.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/275783/likelihoodResults_569548801_569808001_4FGL_J1054.5+2211_daily_bin1274.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) = 5924.38195265
delta logL = -0.000741020176065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5924.38121164
delta logL = -9.51877154876e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1364       1.0000          .0000       10.000    
     3 'Normalizat'    1.2057       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5924.381     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      205 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    324.47        .90712E-02** at limit **
   2  Index         2.1377        6.0620        .50000       -.16516E-05
   3  Normalizat    1.2057        .34047E-01    .52526E-01   -.91423E-05
   4  Prefactor     .87103        .35869E-01    .44635E-01    .64190E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.13767
  Normalizat = 1.20572
  Prefactor  = 0.871026
 **********
 **   18 **HESSE 
 **********

 FCN=   5924.381     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.2005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1377        6.0567        .50000       -.60951    
   3  Normalizat    1.2057        .20099        .23224E-03   -.86426    
   4  Prefactor     .87103        .21172        .28146E-03   -.97161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.91938e-12
Minuit parameter uncertainties:
  1  6.15441e-06
  2  4.345
  3  0.201118
  4  0.211916
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/275783': 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) = 5924.38121163
delta logL = 1.14232534543e-09

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  6.154e-06  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.138e+00  4.345e+00  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  1.471e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.710e-01  2.119e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  1.206e+00  2.011e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 163.628 22.191

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/275783/cmap_HighResolution_569548801_569808001_4FGL_J1054.5+2211_daily_bin1274.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.88e-03', job_status='DONE', photon_flux_upper_limit='6.44e-08', time_completed='2021-09-02 19:55:16.720727', job_id='275783', GAL2='0.87', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1630637716.72', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.14e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1274' AND source_name='4FGL J1054.5+2211' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 19:55:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 275783: <4FGL_J1054.5+2211_daily_bin1274> in cluster <slac> Done

Job <4FGL_J1054.5+2211_daily_bin1274> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  2 19:42:10 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  2 19:44:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  2 19:44:18 2021
Terminated at Thu Sep  2 19:55:17 2021
Results reported at Thu Sep  2 19:55:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1054.5+2211_daily_bin1274 163.628 22.1913 569548801 569808001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1054.5+2211 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   627.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            787 sec.

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

