/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 60 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 = 7417
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1054.5+2211_daily_bin523
RA = 163.628, Dec = 22.1913
tmin = 374889601, tmax = 375148801
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='271001', job_status='RUN', time_executed='2021-09-02 19:30:47.287189', time_epoch_executed='1630636247.29' WHERE source_name='4FGL J1054.5+2211' and cadence='daily' and bin_id='523'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/271001

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/271001/ft1_4FGL_J1054.5+2211_daily_bin523.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/271001/ft2_4FGL_J1054.5+2211_daily_bin523.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/271001/ft1_4FGL_J1054.5+2211_daily_bin523.fits outfile=/scratch/kocevski/271001/ft1_filteredMKT_4FGL_J1054.5+2211_daily_bin523.fits ra=163.628 dec=22.1913 rad=12.0 tmin=374889601.0 tmax=375148801.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 4.81
user 3.33
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/271001/ft2_4FGL_J1054.5+2211_daily_bin523.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/271001/ft1_filteredMKT_4FGL_J1054.5+2211_daily_bin523.fits evtable="EVENTS" outfile="/scratch/kocevski/271001/ft1_filtered_4FGL_J1054.5+2211_daily_bin523.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.56
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/271001/ft1_filtered_4FGL_J1054.5+2211_daily_bin523.fits" evtable="EVENTS" scfile=/scratch/kocevski/271001/ft2_4FGL_J1054.5+2211_daily_bin523.fits sctable="SC_DATA" outfile=/scratch/kocevski/271001/ltcube_374889601_375148801_4FGL_J1054.5+2211_daily_bin523.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/271001/ft2_4FGL_J1054.5+2211_daily_bin523.fits
.....................!
real 15.77
user 15.29
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/271001/ft1_filtered_4FGL_J1054.5+2211_daily_bin523.fits evtable="EVENTS" scfile=/scratch/kocevski/271001/ft2_4FGL_J1054.5+2211_daily_bin523.fits sctable="SC_DATA" expcube=/scratch/kocevski/271001/ltcube_374889601_375148801_4FGL_J1054.5+2211_daily_bin523.fits outfile=/scratch/kocevski/271001/expmap_374889601_375148801_4FGL_J1054.5+2211_daily_bin523.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/271001/ltcube_374889601_375148801_4FGL_J1054.5+2211_daily_bin523.fits
.....................!
real 194.02
user 186.57
sys 6.09

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/271001/ft1_filtered_4FGL_J1054.5+2211_daily_bin523.fits scfile=/scratch/kocevski/271001/ft2_4FGL_J1054.5+2211_daily_bin523.fits outfile=/scratch/kocevski/271001/cmap_374889601_375148801_4FGL_J1054.5+2211_daily_bin523.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.69
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/271001/ft1_filtered_4FGL_J1054.5+2211_daily_bin523.fits scfile=/scratch/kocevski/271001/ft2_4FGL_J1054.5+2211_daily_bin523.fits outfile=/scratch/kocevski/271001/cmap_HighResolution_374889601_375148801_4FGL_J1054.5+2211_daily_bin523.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.57
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/271001/ft1_filtered_4FGL_J1054.5+2211_daily_bin523.fits', '/scratch/kocevski/271001/ft2_4FGL_J1054.5+2211_daily_bin523.fits', expMap='/scratch/kocevski/271001/expmap_374889601_375148801_4FGL_J1054.5+2211_daily_bin523.fits', expCube='/scratch/kocevski/271001/ltcube_374889601_375148801_4FGL_J1054.5+2211_daily_bin523.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/271001/Model_4FGL_J1054.5+2211_daily_bin523.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/271001/ft1_filtered_4FGL_J1054.5+2211_daily_bin523.fits
Spacecraft file(s): /scratch/kocevski/271001/ft2_4FGL_J1054.5+2211_daily_bin523.fits
Exposure map: /scratch/kocevski/271001/expmap_374889601_375148801_4FGL_J1054.5+2211_daily_bin523.fits
Exposure cube: /scratch/kocevski/271001/ltcube_374889601_375148801_4FGL_J1054.5+2211_daily_bin523.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/271001/Model_4FGL_J1054.5+2211_daily_bin523.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5386.32555584

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10097E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .89094E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.2499       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.4920       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12032E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.2500       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0315       1.0000         .10000E-03   10000.    
    12 'norm      '    3.0749       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    12.675       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.8566       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.6865       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .94641       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94063       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=   5385.433     FROM MIGRAD    STATUS=CONVERGED    447 CALLS     1916 TOTAL
                     EDM=   .34E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.3537        .10427E-05** at limit **
   2  Prefactor     .10000E-03    60.910       -.97169E-06** at limit **
   3  Prefactor     .10000E-03    123.79        .63225E-05** at limit **
   4  Prefactor     4.2508        6.8725        .48543E-06    .64420E-04
   5  Prefactor     1.4911        1.8299        .64752E-07    .70657E-04
   6  Prefactor     .10000E-03    3.7116       -.19939E-06** at limit **
   7  Prefactor     .10000E-03    6.3534       -.11459E-05** at limit **
   8  Prefactor     .10000E-03    34.591       -.30663E-06** at limit **
   9  Prefactor     .10000E-03    2.4705        .21272E-08** at limit **
  10  Prefactor     4.2484        11.759        .32983E-05   -.21380E-05
  11  Prefactor     4.0313        9.9061        .64555E-06    .63524E-04
  12  norm          3.0748        1.5449        .50258E-07    .43440E-04
  13  Prefactor     .10000E-03    .99292        .87544E-07** at limit **
  14  Prefactor     .10000E-03    2.3233        .11735E-07** at limit **
  15  norm          .10000E-03    3.8529       -.19849E-07** at limit **
  16  norm          12.674        11.394        .12071E-06   -.21786E-05
  17  Prefactor     3.8570        7.4514        .20449E-05    .29269E-04
  18  Prefactor     .10000E-03    8.6629       -.41378E-07** at limit **
  19  Prefactor     8.6750        21.608        .78376E-06    .31070E-05
  20  Normalizat    .94654        .16573       -.96001E-06   -.24554E-04
  21  Prefactor     .94036        .17226       -.12558E-06   -.62705E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 4.25077
  Prefactor  = 1.49108
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.24837
  Prefactor  = 4.03131
  norm       = 3.07477
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 12.6736
  Prefactor  = 3.85695
  Prefactor  = 0.0001
  Prefactor  = 8.67497
  Normalizat = 0.946545
  Prefactor  = 0.940358
 **********
 **   18 **HESSE 
 **********

 FCN=   5385.433     FROM HESSE     STATUS=OK           319 CALLS     2235 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.4803        .18022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    61.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    125.89        .41673E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.2508        6.8378        .19545E-03   -1.5296    
   5  Prefactor     1.4911        1.7947        .10278E-03   -1.5464    
   6  Prefactor     .10000E-03    23.824        .27255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.4620        .18043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    34.811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.4718        .11263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.2484        11.756        .97724E-03   -1.5296    
  11  Prefactor     4.0313        9.9108        .20084E-03   -1.5306    
  12  norm          3.0748        1.5410        .61958E-04   -1.5357    
  13  Prefactor     .10000E-03    1.0038        .71347E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.3319        .10923E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.8581        .14067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          12.674        11.415        .11251E-03   -1.4996    
  17  Prefactor     3.8570        7.4459        .10274E-02   -1.5315    
  18  Prefactor     .10000E-03    8.6810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.6750        21.614        .13600E-03   -1.5119    
  20  Normalizat    .94654        .19290        .22161E-03   -.94843    
  21  Prefactor     .94036        .20123        .24233E-03   -.94745    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07776e-10
Minuit parameter uncertainties:
  1  1.66203e-05
  2  1.50853e-05
  3  0.000959426
  4  6.83907
  5  1.79477
  6  0.000498346
  7  6.40903e-06
  8  7.07816e-06
  9  1.8908e-07
  10  11.7628
  11  9.91478
  12  1.54105
  13  1.24785e-07
  14  6.21535e-08
  15  8.01376e-07
  16  11.4174
  17  7.44772
  18  1.07146e-06
  19  21.633
  20  0.193042
  21  0.201389
Done.

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

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  1.891e-07  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:  9.404e-01  2.014e-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:  9.465e-01  1.930e-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: 3.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/271001/likelihoodResults_374889601_375148801_4FGL_J1054.5+2211_daily_bin523.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) = 5385.43518392
delta logL = -0.00190380492313

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5385.43327982
delta logL = 2.91659489449e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1122       1.0000          .0000       10.000    
     3 'Normalizat'    .94661       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94029       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5385.433     FROM MIGRAD    STATUS=FAILED        84 CALLS      231 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10226E-03    44.275        .11495E-02** at limit **
   2  Index         2.0352        5.5469        .50000        .60576E-04
   3  Normalizat    .94655        .16592E-01    .22161E-03    .51761E-04
   4  Prefactor     .94036        .18187E-01    .24233E-03   -.18109E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5385.433     FROM SIMPLEX   STATUS=UNCHANGED    130 CALLS      361 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10226E-03    44.275        .31240E-03** at limit **
   2  Index         2.0352        5.5469        .31081E-03    .60576E-04
   3  Normalizat    .94655        .16592E-01    .20553E-05    .51761E-04
   4  Prefactor     .94036        .18187E-01    .11844E-05   -.18109E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5385.433     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      407 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    52.028        .22991E-02** at limit **
   2  Index         1.6204        8.1662        .50000        .61164E-07
   3  Normalizat    .94654        .16483E-01    .88646E-05   -.17416E-03
   4  Prefactor     .94036        .18068E-01    .96932E-05   -.14942E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.62043
  Normalizat = 0.946544
  Prefactor  = 0.940359
 **********
 **   18 **HESSE 
 **********

 FCN=   5385.433     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      436 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    229.88        .45981E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6204        9.1855        .50000       -.74220    
   3  Normalizat    .94654        .37330E-01    .17729E-05   -.94843    
   4  Prefactor     .94036        .40915E-01    .19386E-05   -.94745    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.93205e-11
Minuit parameter uncertainties:
  1  0.000126326
  2  755.74
  3  0.0373308
  4  0.0409163
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/271001': 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) = 5385.43327547
delta logL = 4.63785727334e-06

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  1.263e-04  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  1.620e+00  7.557e+02  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:  9.404e-01  4.092e-02  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:  9.465e-01  3.733e-02  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/271001/cmap_HighResolution_374889601_375148801_4FGL_J1054.5+2211_daily_bin523.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-03', job_status='DONE', photon_flux_upper_limit='3.75e-08', time_completed='2021-09-02 19:40:46.274049', job_id='271001', GAL2='0.94', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1630636846.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='4.64e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='523' AND source_name='4FGL J1054.5+2211' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 19:40:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 271001: <4FGL_J1054.5+2211_daily_bin523> in cluster <slac> Done

Job <4FGL_J1054.5+2211_daily_bin523> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep  2 19:26:08 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  2 19:29:15 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:29:15 2021
Terminated at Thu Sep  2 19:40:47 2021
Results reported at Thu Sep  2 19:40:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1054.5+2211_daily_bin523 163.628 22.1913 374889601 375148801 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 :                                   592.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   693 sec.
    Turnaround time :                            879 sec.

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

