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


Performing analysis on: 4FGL_J1054.5+2211_daily_bin737
RA = 163.628, Dec = 22.1913
tmin = 430358401, tmax = 430617601
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='272452', job_status='RUN', time_executed='2021-09-02 19:37:08.293707', time_epoch_executed='1630636628.29' WHERE source_name='4FGL J1054.5+2211' and cadence='daily' and bin_id='737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/272452

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/272452/ft1_4FGL_J1054.5+2211_daily_bin737.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/272452/ft2_4FGL_J1054.5+2211_daily_bin737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/272452/ft1_4FGL_J1054.5+2211_daily_bin737.fits outfile=/scratch/kocevski/272452/ft1_filteredMKT_4FGL_J1054.5+2211_daily_bin737.fits ra=163.628 dec=22.1913 rad=12.0 tmin=430358401.0 tmax=430617601.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.21
user 4.60
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/272452/ft2_4FGL_J1054.5+2211_daily_bin737.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/272452/ft1_filteredMKT_4FGL_J1054.5+2211_daily_bin737.fits evtable="EVENTS" outfile="/scratch/kocevski/272452/ft1_filtered_4FGL_J1054.5+2211_daily_bin737.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.72
user 0.29
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/272452/ft1_filtered_4FGL_J1054.5+2211_daily_bin737.fits" evtable="EVENTS" scfile=/scratch/kocevski/272452/ft2_4FGL_J1054.5+2211_daily_bin737.fits sctable="SC_DATA" outfile=/scratch/kocevski/272452/ltcube_430358401_430617601_4FGL_J1054.5+2211_daily_bin737.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/272452/ft2_4FGL_J1054.5+2211_daily_bin737.fits
.....................!
real 13.40
user 11.55
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/272452/ft1_filtered_4FGL_J1054.5+2211_daily_bin737.fits evtable="EVENTS" scfile=/scratch/kocevski/272452/ft2_4FGL_J1054.5+2211_daily_bin737.fits sctable="SC_DATA" expcube=/scratch/kocevski/272452/ltcube_430358401_430617601_4FGL_J1054.5+2211_daily_bin737.fits outfile=/scratch/kocevski/272452/expmap_430358401_430617601_4FGL_J1054.5+2211_daily_bin737.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/272452/ltcube_430358401_430617601_4FGL_J1054.5+2211_daily_bin737.fits
.....................!
real 164.97
user 151.92
sys 4.13

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/272452/ft1_filtered_4FGL_J1054.5+2211_daily_bin737.fits scfile=/scratch/kocevski/272452/ft2_4FGL_J1054.5+2211_daily_bin737.fits outfile=/scratch/kocevski/272452/cmap_430358401_430617601_4FGL_J1054.5+2211_daily_bin737.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.81
user 0.35
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/272452/ft1_filtered_4FGL_J1054.5+2211_daily_bin737.fits scfile=/scratch/kocevski/272452/ft2_4FGL_J1054.5+2211_daily_bin737.fits outfile=/scratch/kocevski/272452/cmap_HighResolution_430358401_430617601_4FGL_J1054.5+2211_daily_bin737.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.88
user 0.34
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.859       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14834E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.4735       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.3199       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.200       1.0000         .10000E-03   10000.    
    15 'norm      '    .57583       1.0000         .10000E-03   10000.    
    16 'norm      '    14.049       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.2933       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .89078       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .18514E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1221       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2571       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=   4285.222     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     1919 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.2900       -.12784E-07** at limit **
   2  Prefactor     .10001E-03    81.211        .20920E-04** at limit **
   3  Prefactor     .10000E-03    46.616       -.64731E-05** at limit **
   4  Prefactor     10.845        11.584        .89261E-05    .13007E-03
   5  Prefactor     .10001E-03    2.1672       -.20439E-05** at limit **
   6  Prefactor     .10000E-03    14.298       -.37658E-06** at limit **
   7  Prefactor     .10000E-03    4.5610       -.56007E-07** at limit **
   8  Prefactor     .10000E-03    11.523        .11163E-06** at limit **
   9  Prefactor     4.4731        8.6725       -.17059E-05    .54575E-04
  10  Prefactor     .10000E-03    5.0914        .30593E-07** at limit **
  11  Prefactor     .10000E-03    7.0571       -.18639E-07** at limit **
  12  norm          4.3199        2.2964        .51505E-07    .13664E-03
  13  Prefactor     .10000E-03    2.7545        .10418E-06** at limit **
  14  Prefactor     11.202        13.206       -.53797E-05    .26791E-03
  15  norm          .53490        10.774       -.12855E-05    .24089E-03
  16  norm          14.054        15.958       -.65077E-06    .52457E-04
  17  Prefactor     7.2937        16.223       -.34236E-05    .10981E-03
  18  Prefactor     .82860        20.435       -.93453E-06   -.38988E-05
  19  Prefactor     .10001E-03    143.26       -.23566E-04** at limit **
  20  Normalizat    1.1218        .23719       -.29061E-06    .37230E-03
  21  Prefactor     1.2572        .24021       -.79498E-07    .26993E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 10.8446
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.47314
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.31993
  Prefactor  = 0.0001
  Prefactor  = 11.2022
  norm       = 0.534897
  norm       = 14.0541
  Prefactor  = 7.29372
  Prefactor  = 0.828598
  Prefactor  = 0.000100008
  Normalizat = 1.12184
  Prefactor  = 1.25719
 **********
 **   18 **HESSE 
 **********

 FCN=   4285.222     FROM HESSE     STATUS=OK           319 CALLS     2238 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2913        .96747E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    80.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    46.625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.845        11.640        .12158E-03   -1.5049    
   5  Prefactor     .10001E-03    3.7825        .18476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.5679        .13649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.4731        8.6443        .19037E-03   -1.5285    
  10  Prefactor     .10000E-03    5.0955        .14425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.0627        .16984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.3199        2.2958        .69095E-04   -1.5292    
  13  Prefactor     .10000E-03    4.8062        .20806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.202        13.147        .11971E-03   -1.5038    
  15  norm          .53490        101.13        .41096E-02   -1.5562    
  16  norm          14.054        15.990        .10686E-03   -1.4958    
  17  Prefactor     7.2937        16.190        .14852E-03   -1.5168    
  18  Prefactor     .82860        143.43        .56402E-02   -1.5526    
  19  Prefactor     .10001E-03    143.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1218        .28736        .26082E-03   -.89054    
  21  Prefactor     1.2572        .29143        .26675E-03   -.84589    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.631e-08
Minuit parameter uncertainties:
  1  2.92636e-06
  2  0.0013951
  3  0.00025669
  4  11.6425
  5  0.000399282
  6  5.39095e-06
  7  1.58755e-05
  8  1.55841e-06
  9  8.6467
  10  3.7174e-07
  11  7.97623e-06
  12  2.29587
  13  2.84804e-05
  14  13.15
  15  14.7338
  16  15.9944
  17  16.1999
  18  21.8552
  19  0.00213229
  20  0.287761
  21  0.291809
Done.

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

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  4.473e+00  8.647e+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:  1.257e+00  2.918e-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.122e+00  2.878e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/272452/likelihoodResults_430358401_430617601_4FGL_J1054.5+2211_daily_bin737.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) = 4285.19730376
delta logL = 0.0251392808987

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4285.1881461
delta logL = 0.0342969415524

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2918       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5211       1.0000          .0000       10.000    
     3 'Normalizat'    1.1138       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2623       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=   4285.188     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      216 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2894        186.48        .55789E-02    .22155E-03
   2  Index         2.5220        6.2416        .23462        .32601E-04
   3  Normalizat    1.1137        .61977E-01    .59164E-01    .70561E-05
   4  Prefactor     1.2623        .59019E-01    .60212E-01    .40644E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.28942
  Index      = 2.52201
  Normalizat = 1.11369
  Prefactor  = 1.26231
 **********
 **   18 **HESSE 
 **********

 FCN=   4285.188     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .65E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2894        9.5136        .20521E-03   -1.5345    
   2  Index         2.5220        1.7428        .87991E-02   -.51852    
   3  Normalizat    1.1137        .27245        .26166E-03   -.89313    
   4  Prefactor     1.2623        .29111        .26628E-03   -.84435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.47606e-12
Minuit parameter uncertainties:
  1  9.51792
  2  1.79335
  3  0.272799
  4  0.29148
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/272452': 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) = 4285.18814589
delta logL = 0.0342971518994

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  3.289e+00  9.518e+00  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.522e+00  1.793e+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:  1.262e+00  2.915e-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.114e+00  2.728e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.41
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/272452/cmap_HighResolution_430358401_430617601_4FGL_J1054.5+2211_daily_bin737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.98e-03', job_status='DONE', photon_flux_upper_limit='9.20e-08', time_completed='2021-09-02 19:45:05.370512', job_id='272452', GAL2='1.26', fit_tolerance='1e-08', EG2='1.11', EG='1.12', time_epoch_completed='1630637105.37', return_code2='0', ts='0.41', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='3.43e-02', ts2='0.48', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='737' AND source_name='4FGL J1054.5+2211' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 19:45:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 272452: <4FGL_J1054.5+2211_daily_bin737> in cluster <slac> Done

Job <4FGL_J1054.5+2211_daily_bin737> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep  2 19:31:13 2021
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  2 19:33:14 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:33:14 2021
Terminated at Thu Sep  2 19:45:06 2021
Results reported at Thu Sep  2 19:45:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1054.5+2211_daily_bin737 163.628 22.1913 430358401 430617601 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 :                                   441.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             213.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            833 sec.

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

