/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 216 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 = 7484
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1054.5+2211_daily_bin55
RA = 163.628, Dec = 22.1913
tmin = 253584001, tmax = 253843201
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='269774', job_status='RUN', time_executed='2021-09-02 19:27:39.790939', time_epoch_executed='1630636059.79' WHERE source_name='4FGL J1054.5+2211' and cadence='daily' and bin_id='55'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/269774

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/269774/ft1_4FGL_J1054.5+2211_daily_bin55.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/269774/ft2_4FGL_J1054.5+2211_daily_bin55.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/269774/ft1_4FGL_J1054.5+2211_daily_bin55.fits outfile=/scratch/kocevski/269774/ft1_filteredMKT_4FGL_J1054.5+2211_daily_bin55.fits ra=163.628 dec=22.1913 rad=12.0 tmin=253584001.0 tmax=253843201.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 1.50
user 1.28
sys 0.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/269774/ft1_filtered_4FGL_J1054.5+2211_daily_bin55.fits" evtable="EVENTS" scfile=/scratch/kocevski/269774/ft2_4FGL_J1054.5+2211_daily_bin55.fits sctable="SC_DATA" outfile=/scratch/kocevski/269774/ltcube_253584001_253843201_4FGL_J1054.5+2211_daily_bin55.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/269774/ft2_4FGL_J1054.5+2211_daily_bin55.fits
.....................!
real 18.64
user 17.95
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/269774/ft1_filtered_4FGL_J1054.5+2211_daily_bin55.fits evtable="EVENTS" scfile=/scratch/kocevski/269774/ft2_4FGL_J1054.5+2211_daily_bin55.fits sctable="SC_DATA" expcube=/scratch/kocevski/269774/ltcube_253584001_253843201_4FGL_J1054.5+2211_daily_bin55.fits outfile=/scratch/kocevski/269774/expmap_253584001_253843201_4FGL_J1054.5+2211_daily_bin55.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/269774/ltcube_253584001_253843201_4FGL_J1054.5+2211_daily_bin55.fits
.....................!
real 193.10
user 187.06
sys 3.73

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/269774/ft1_filtered_4FGL_J1054.5+2211_daily_bin55.fits scfile=/scratch/kocevski/269774/ft2_4FGL_J1054.5+2211_daily_bin55.fits outfile=/scratch/kocevski/269774/cmap_253584001_253843201_4FGL_J1054.5+2211_daily_bin55.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.64
user 0.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/269774/ft1_filtered_4FGL_J1054.5+2211_daily_bin55.fits scfile=/scratch/kocevski/269774/ft2_4FGL_J1054.5+2211_daily_bin55.fits outfile=/scratch/kocevski/269774/cmap_HighResolution_253584001_253843201_4FGL_J1054.5+2211_daily_bin55.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.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/269774/ft1_filtered_4FGL_J1054.5+2211_daily_bin55.fits', '/scratch/kocevski/269774/ft2_4FGL_J1054.5+2211_daily_bin55.fits', expMap='/scratch/kocevski/269774/expmap_253584001_253843201_4FGL_J1054.5+2211_daily_bin55.fits', expCube='/scratch/kocevski/269774/ltcube_253584001_253843201_4FGL_J1054.5+2211_daily_bin55.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/269774/Model_4FGL_J1054.5+2211_daily_bin55.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/269774/ft1_filtered_4FGL_J1054.5+2211_daily_bin55.fits
Spacecraft file(s): /scratch/kocevski/269774/ft2_4FGL_J1054.5+2211_daily_bin55.fits
Exposure map: /scratch/kocevski/269774/expmap_253584001_253843201_4FGL_J1054.5+2211_daily_bin55.fits
Exposure cube: /scratch/kocevski/269774/ltcube_253584001_253843201_4FGL_J1054.5+2211_daily_bin55.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/269774/Model_4FGL_J1054.5+2211_daily_bin55.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) = 4938.065265

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.084       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11369E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.7292       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14797       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.942       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.8323       1.0000         .10000E-03   10000.    
    12 'norm      '    .26124E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.1295       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .24283E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.992       1.0000         .10000E-03   10000.    
    19 'Prefactor '    22.824       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1362       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .70385       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=   4938.054     FROM MIGRAD    STATUS=CONVERGED    456 CALLS     2235 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.083        8.2932        .31545E-02    .39708E-03
   2  Prefactor     .10000E-03    21.811        .90712E-02** at limit **
   3  Prefactor     .10000E-03    81.917        .90712E-02** at limit **
   4  Prefactor     7.7319        6.9298        .36059E-02   -.84709E-03
   5  Prefactor     .13971        1.2518        .42286E-01   -.14558E-02
   6  Prefactor     .10002E-03    5.7531        .90712E-02** at limit **
   7  Prefactor     .10000E-03    1.9571        .90712E-02** at limit **
   8  Prefactor     .10000E-03    5.6416        .90712E-02** at limit **
   9  Prefactor     12.943        7.9613        .27836E-02   -.31869E-03
  10  Prefactor     .10002E-03    6.5885        .90712E-02** at limit **
  11  Prefactor     7.8325        11.491        .35819E-02    .57701E-04
  12  norm          .10000E-03    .63903        .31588E-01** at limit **
  13  Prefactor     4.1299        3.0731        .49591E-02    .94081E-04
  14  Prefactor     .10000E-03    4.6242        .53023E-01** at limit **
  15  norm          .10001E-03    5.1992        .90712E-02** at limit **
  16  norm          .10001E-03    9.0664        .90712E-02** at limit **
  17  Prefactor     .10000E-03    8.7964        .90712E-02** at limit **
  18  Prefactor     15.994        20.606        .25038E-02    .82006E-04
  19  Prefactor     22.824        29.552        .20961E-02    .24346E-03
  20  Normalizat    1.1361        .17331        .36687E-01    .70419E-04
  21  Prefactor     .70405        .17942        .60942E-01    .43821E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0832
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 7.7319
  Prefactor  = 0.139712
  Prefactor  = 0.000100019
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 12.9433
  Prefactor  = 0.000100024
  Prefactor  = 7.83254
  norm       = 0.0001
  Prefactor  = 4.12988
  Prefactor  = 0.000100005
  norm       = 0.00010001
  norm       = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 15.9937
  Prefactor  = 22.8235
  Normalizat = 1.13606
  Prefactor  = 0.704051
 **********
 **   18 **HESSE 
 **********

 FCN=   4938.054     FROM HESSE     STATUS=OK           317 CALLS     2552 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.083        8.2901        .12618E-03   -1.5073    
   2  Prefactor     .10000E-03    21.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    82.439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.7319        6.9089        .14424E-03   -1.5152    
   5  Prefactor     .13971        5.6184        .14675E-02   -1.5633    
   6  Prefactor     .10002E-03    5.9316        .32892E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.9591        .95983E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.6420        .16302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.943        7.9590        .11134E-03   -1.4988    
  10  Prefactor     .10002E-03    6.6096        .17610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.8325        11.482        .14328E-03   -1.5148    
  12  norm          .10000E-03    5.4265        .10829E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.1299        3.0781        .10118E-03   -1.5301    
  14  Prefactor     .10000E-03    11.656        .29281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10001E-03    5.2274        .15648E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10001E-03    9.1486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.0505        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.994        20.630        .10015E-03   -1.4908    
  19  Prefactor     22.824        29.551        .83843E-04   -1.4752    
  20  Normalizat    1.1361        .20134        .20377E-03   -.88602    
  21  Prefactor     .70405        .20886        .26956E-03   -1.0337    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95933e-08
Minuit parameter uncertainties:
  1  8.29105
  2  0.000333025
  3  0.000698521
  4  6.90957
  5  1.7715
  6  0.000665037
  7  6.65268e-06
  8  0.00026284
  9  7.95965
  10  0.000804536
  11  11.4849
  12  5.68739e-05
  13  3.07825
  14  0.000461485
  15  0.000465782
  16  0.000446694
  17  0.000125503
  18  20.6397
  19  29.5704
  20  0.201473
  21  0.209093
Done.

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

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  1.294e+01  7.960e+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

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  7.041e-01  2.091e-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.136e+00  2.015e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.20
Ra Dec: 163.628 22.191
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 3.55e-08 +/- 2.18e-08
Energy Flux (Fixed Index): 1.81e-05 +/- 1.11e-05

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) = 4935.57578993
delta logL = 2.47790551514

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4935.57351782
delta logL = 2.48017762623

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.538       1.0000         .10000E-03   10000.    
     2 'Index     '    1.1887       1.0000          .0000       10.000    
     3 'Normalizat'    1.1569       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69384       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=   4935.574     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      209 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.538        9.2078        .27216E-02   -.16908E-02
   2  Index         1.1883        .32455        .15778       -.23568E-04
   3  Normalizat    1.1570        .16666        .36047E-01    .96160E-05
   4  Prefactor     .69391        .17842        .61368E-01    .20598E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.5379
  Index      = 1.18834
  Normalizat = 1.15696
  Prefactor  = 0.693906
 **********
 **   18 **HESSE 
 **********

 FCN=   4935.574     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.538        11.289        .10886E-03   -1.4972    
   2  Index         1.1883        .41310        .67199E-02   -.86691    
   3  Normalizat    1.1570        .19302        .20221E-03   -.87943    
   4  Prefactor     .69391        .20636        .27146E-03   -1.0377    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5363e-09
Minuit parameter uncertainties:
  1  11.2907
  2  0.414229
  3  0.193134
  4  0.206588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/269774': 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) = 4935.57351648
delta logL = 2.48017896601

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  1.354e+01  1.129e+01  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  1.188e+00  4.142e-01  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:  6.939e-01  2.066e-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.157e+00  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.16
Ra Dec: 163.628 22.191
Photon Index (Free Index): 1.19 +/- 0.41
Photon Flux (Free Index): 1.28e-08 +/- 1.05e-08
Energy Flux (Free Index): 1.10e-04 +/- 1.10e-04

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/269774/cmap_HighResolution_253584001_253843201_4FGL_J1054.5+2211_daily_bin55.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.55e-08', energy_flux2='1.10e-04', photon_flux_error='2.18e-08', dlogl='2.48e+00', energy_flux='1.81e-05', photon_flux2='1.28e-08', job_status='DONE', time_completed='2021-09-02 19:36:35.135719', photon_index_error2='0.41', photon_index2='1.19', ts='14.20', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='1.10e-04', EG='1.14', time_epoch_completed='1630636595.14', return_code='0', job_id='269774', GAL2='0.69', EG2='1.16', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='1.05e-08', ts2='19.16', photon_index='2.13' WHERE bin_id='55' AND source_name='4FGL J1054.5+2211' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 19:36:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 269774: <4FGL_J1054.5+2211_daily_bin55> in cluster <slac> Done

Job <4FGL_J1054.5+2211_daily_bin55> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  2 19:23:04 2021
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  2 19:23:44 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:23:44 2021
Terminated at Thu Sep  2 19:36:35 2021
Results reported at Thu Sep  2 19:36:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1054.5+2211_daily_bin55 163.628 22.1913 253584001 253843201 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 :                                   527.24 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             246.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            811 sec.

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

