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


Performing analysis on: 4FGL_J1054.5+2211_daily_bin535
RA = 163.628, Dec = 22.1913
tmin = 378000001, tmax = 378259201
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='271023', job_status='RUN', time_executed='2021-09-02 19:31:44.201491', time_epoch_executed='1630636304.2' WHERE source_name='4FGL J1054.5+2211' and cadence='daily' and bin_id='535'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/271023

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/271023/ft1_4FGL_J1054.5+2211_daily_bin535.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/271023/ft2_4FGL_J1054.5+2211_daily_bin535.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/271023/ft1_4FGL_J1054.5+2211_daily_bin535.fits outfile=/scratch/kocevski/271023/ft1_filteredMKT_4FGL_J1054.5+2211_daily_bin535.fits ra=163.628 dec=22.1913 rad=12.0 tmin=378000001.0 tmax=378259201.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.67
user 3.31
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/271023/ft1_filtered_4FGL_J1054.5+2211_daily_bin535.fits" evtable="EVENTS" scfile=/scratch/kocevski/271023/ft2_4FGL_J1054.5+2211_daily_bin535.fits sctable="SC_DATA" outfile=/scratch/kocevski/271023/ltcube_378000001_378259201_4FGL_J1054.5+2211_daily_bin535.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/271023/ft2_4FGL_J1054.5+2211_daily_bin535.fits
.....................!
real 15.59
user 15.18
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/271023/ft1_filtered_4FGL_J1054.5+2211_daily_bin535.fits evtable="EVENTS" scfile=/scratch/kocevski/271023/ft2_4FGL_J1054.5+2211_daily_bin535.fits sctable="SC_DATA" expcube=/scratch/kocevski/271023/ltcube_378000001_378259201_4FGL_J1054.5+2211_daily_bin535.fits outfile=/scratch/kocevski/271023/expmap_378000001_378259201_4FGL_J1054.5+2211_daily_bin535.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/271023/ltcube_378000001_378259201_4FGL_J1054.5+2211_daily_bin535.fits
.....................!
real 193.81
user 189.02
sys 4.28

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/271023/ft1_filtered_4FGL_J1054.5+2211_daily_bin535.fits scfile=/scratch/kocevski/271023/ft2_4FGL_J1054.5+2211_daily_bin535.fits outfile=/scratch/kocevski/271023/cmap_378000001_378259201_4FGL_J1054.5+2211_daily_bin535.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/271023/ft1_filtered_4FGL_J1054.5+2211_daily_bin535.fits scfile=/scratch/kocevski/271023/ft2_4FGL_J1054.5+2211_daily_bin535.fits outfile=/scratch/kocevski/271023/cmap_HighResolution_378000001_378259201_4FGL_J1054.5+2211_daily_bin535.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.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11030E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.4446       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3863       1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.757       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2809       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .26949       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .93753       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.1633       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.3916       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.193       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1467       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91589       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=   5607.314     FROM MIGRAD    STATUS=CONVERGED    436 CALLS     1915 TOTAL
                     EDM=   .40E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.4338       -.20799E-05** at limit **
   2  Prefactor     .10000E-03    27.123       -.45184E-05** at limit **
   3  Prefactor     .10000E-03    19.016       -.57469E-05** at limit **
   4  Prefactor     .10000E-03    2.9790       -.12600E-06** at limit **
   5  Prefactor     .10000E-03    1.1797       -.10205E-06** at limit **
   6  Prefactor     8.4438        7.2402       -.43266E-06   -.39542E-05
   7  Prefactor     4.3854        6.7692        .10617E-05   -.15334E-05
   8  Prefactor     17.755        21.151       -.17937E-05    .31920E-07
   9  Prefactor     .10000E-03    2.7796        .20617E-06** at limit **
  10  Prefactor     1.2811        4.9288       -.97952E-07   -.35144E-04
  11  Prefactor     .10000E-03    4.3251        .10536E-05** at limit **
  12  norm          .26941        1.0711       -.12057E-06   -.83739E-04
  13  Prefactor     .93747        1.6534        .10953E-07    .16753E-04
  14  Prefactor     9.1632        6.0280       -.16229E-06   -.82106E-05
  15  norm          .10000E-03    5.0095       -.95794E-07** at limit **
  16  norm          1.3898        2.5496        .17980E-06   -.37010E-03
  17  Prefactor     10.193        9.9100       -.31402E-07   -.10685E-04
  18  Prefactor     .10000E-03    5.0962        .64902E-06** at limit **
  19  Prefactor     .10000E-03    21.300        .11137E-04** at limit **
  20  Normalizat    1.1467        .17734       -.17558E-06    .79003E-04
  21  Prefactor     .91593        .18903        .51394E-06    .41853E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.44382
  Prefactor  = 4.38541
  Prefactor  = 17.7552
  Prefactor  = 0.0001
  Prefactor  = 1.28111
  Prefactor  = 0.0001
  norm       = 0.269406
  Prefactor  = 0.93747
  Prefactor  = 9.16324
  norm       = 0.0001
  norm       = 1.38977
  Prefactor  = 10.1926
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.14675
  Prefactor  = 0.915929
 **********
 **   18 **HESSE 
 **********

 FCN=   5607.314     FROM HESSE     STATUS=OK           321 CALLS     2236 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.4706        .15388E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    27.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.9954        .12614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.7483        .15451E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.4438        7.2306        .13795E-03   -1.5127    
   7  Prefactor     4.3854        6.7518        .19230E-03   -1.5289    
   8  Prefactor     17.755        21.165        .95047E-04   -1.4865    
   9  Prefactor     .10000E-03    2.7807        .12188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.2811        4.8583        .31525E-03   -1.5482    
  11  Prefactor     .10000E-03    4.3257        .15198E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .26941        1.0714        .14764E-03   -1.5604    
  13  Prefactor     .93747        1.3566        .12258E-02   -1.5514    
  14  Prefactor     9.1632        6.0290        .13240E-03   -1.5102    
  15  norm          .10000E-03    5.0262        .16368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.3898        22.732        .18416E-02   -1.5472    
  17  Prefactor     10.193        9.9074        .12550E-03   -1.5069    
  18  Prefactor     .10000E-03    5.0996        .16510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    21.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1467        .20362        .21864E-03   -.88265    
  21  Prefactor     .91593        .21810        .26415E-03   -.95587    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2323e-09
Minuit parameter uncertainties:
  1  2.32056e-06
  2  2.08186e-06
  3  4.31105e-06
  4  3.00852e-06
  5  1.62294e-05
  6  7.23131
  7  6.75301
  8  21.174
  9  3.73881e-06
  10  4.85977
  11  4.67964e-06
  12  1.07151
  13  1.35664
  14  6.02936
  15  9.20089e-07
  16  11.2461
  17  9.90902
  18  3.29498e-08
  19  3.47591e-06
  20  0.203761
  21  0.218307
Done.

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

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  3.739e-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:  9.159e-01  2.183e-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.147e+00  2.038e-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: 4.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/271023/likelihoodResults_378000001_378259201_4FGL_J1054.5+2211_daily_bin535.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) = 5607.31592799
delta logL = -0.00168991088049

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5607.31423771
delta logL = 3.6777510104e-07

Fit tolerance = 1e-08

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

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

 FCN=   5607.314     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      234 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10310E-03    3.3204        .12503E-01** at limit **
   2  Index         2.0141        6.1679        .50000        .57316E-04
   3  Normalizat    1.1467        .43779E-02    .21864E-03   -.75397E-05
   4  Prefactor     .91593        .48075E-02    .26415E-03    .55993E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103101
  Index      = 2.01405
  Normalizat = 1.14675
  Prefactor  = 0.915931
 **********
 **   18 **HESSE 
 **********

 FCN=   5607.314     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      263 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10310E-03    49.645        .12910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0141        5.1291        .50000       -.63999    
   3  Normalizat    1.1467        .17191E-01    .87455E-05   -.88265    
   4  Prefactor     .91593        .18879E-01    .10566E-04   -.95587    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.08929e-08
Minuit parameter uncertainties:
  1  0.0248352
  2  284.387
  3  0.0171914
  4  0.0188787
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/271023': 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) = 5607.31423661
delta logL = 1.46712409332e-06

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  1.031e-04  2.484e-02  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.014e+00  2.844e+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.159e-01  1.888e-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:  1.147e+00  1.719e-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/271023/cmap_HighResolution_378000001_378259201_4FGL_J1054.5+2211_daily_bin535.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.10e-03', job_status='DONE', photon_flux_upper_limit='4.09e-08', time_completed='2021-09-02 19:41:42.724448', job_id='271023', GAL2='0.92', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1630636902.72', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.47e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='535' AND source_name='4FGL J1054.5+2211' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 19:41:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 271023: <4FGL_J1054.5+2211_daily_bin535> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1054.5+2211_daily_bin535 163.628 22.1913 378000001 378259201 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 :                                   596.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            934 sec.

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

