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


Performing analysis on: 4FGL_J1054.5+2211_daily_bin1306
RA = 163.628, Dec = 22.1913
tmin = 577843201, tmax = 578102401
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='275833', job_status='RUN', time_executed='2021-09-02 19:47:06.386789', time_epoch_executed='1630637226.39' WHERE source_name='4FGL J1054.5+2211' and cadence='daily' and bin_id='1306'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/275833

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/275833/ft1_4FGL_J1054.5+2211_daily_bin1306.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/275833/ft2_4FGL_J1054.5+2211_daily_bin1306.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/275833/ft1_4FGL_J1054.5+2211_daily_bin1306.fits outfile=/scratch/kocevski/275833/ft1_filteredMKT_4FGL_J1054.5+2211_daily_bin1306.fits ra=163.628 dec=22.1913 rad=12.0 tmin=577843201.0 tmax=578102401.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.30
user 3.08
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/275833/ft1_filtered_4FGL_J1054.5+2211_daily_bin1306.fits evtable="EVENTS" scfile=/scratch/kocevski/275833/ft2_4FGL_J1054.5+2211_daily_bin1306.fits sctable="SC_DATA" expcube=/scratch/kocevski/275833/ltcube_577843201_578102401_4FGL_J1054.5+2211_daily_bin1306.fits outfile=/scratch/kocevski/275833/expmap_577843201_578102401_4FGL_J1054.5+2211_daily_bin1306.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/275833/ltcube_577843201_578102401_4FGL_J1054.5+2211_daily_bin1306.fits
.....................!
real 191.98
user 186.67
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/275833/ft1_filtered_4FGL_J1054.5+2211_daily_bin1306.fits scfile=/scratch/kocevski/275833/ft2_4FGL_J1054.5+2211_daily_bin1306.fits outfile=/scratch/kocevski/275833/cmap_577843201_578102401_4FGL_J1054.5+2211_daily_bin1306.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/275833/ft1_filtered_4FGL_J1054.5+2211_daily_bin1306.fits scfile=/scratch/kocevski/275833/ft2_4FGL_J1054.5+2211_daily_bin1306.fits outfile=/scratch/kocevski/275833/cmap_HighResolution_577843201_578102401_4FGL_J1054.5+2211_daily_bin1306.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    39.430       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.160       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9462       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .41180E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.3649       1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.199       1.0000         .10000E-03   10000.    
    12 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.2983       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.4621       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .37787E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .25828E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1971       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .67746       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=   5786.071     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     2253 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          39.426        11.667       -.55249E-06   -.54421E-03
   2  Prefactor     12.155        25.577       -.35336E-06   -.38888E-04
   3  Prefactor     .10000E-03    12.020       -.14017E-05** at limit **
   4  Prefactor     .10000E-03    5.4327       -.79768E-06** at limit **
   5  Prefactor     1.9469        2.1643        .12882E-06   -.16627E-03
   6  Prefactor     .10000E-03    10.223        .39359E-05** at limit **
   7  Prefactor     .10005E-03    7.0114        .29891E-06** at limit **
   8  Prefactor     .10000E-03    9.8296       -.23309E-05** at limit **
   9  Prefactor     .10000E-03    5.5542        .92888E-06** at limit **
  10  Prefactor     2.3629        12.648       -.13792E-05   -.16255E-03
  11  Prefactor     19.238        19.340       -.10702E-05   -.29112E-03
  12  norm          .10000E-03    .74093        .96656E-07** at limit **
  13  Prefactor     6.2984        3.4162        .39422E-06   -.11894E-02
  14  Prefactor     .10000E-03    2.6669       -.18286E-06** at limit **
  15  norm          .10000E-03    3.6674       -.62250E-08** at limit **
  16  norm          .10000E-03    4.0284        .16796E-07** at limit **
  17  Prefactor     3.4550        11.931        .63841E-05   -.73672E-03
  18  Prefactor     .10002E-03    10.230        .58108E-06** at limit **
  19  Prefactor     .10018E-03    238.33       -.32311E-04** at limit **
  20  Normalizat    1.1974        .17834       -.32646E-06   -.12268E-03
  21  Prefactor     .67744        .17543       -.37845E-06   -.46924E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 39.4261
  Prefactor  = 12.1554
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.94695
  Prefactor  = 0.000100002
  Prefactor  = 0.000100049
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.36291
  Prefactor  = 19.2382
  norm       = 0.0001
  Prefactor  = 6.29841
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 3.45504
  Prefactor  = 0.000100016
  Prefactor  = 0.000100176
  Normalizat = 1.19738
  Prefactor  = 0.67744
 **********
 **   18 **HESSE 
 **********

 FCN=   5786.071     FROM HESSE     STATUS=OK           317 CALLS     2570 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          39.426        11.769        .63832E-04   -1.4451    
   2  Prefactor     12.155        25.616        .11488E-03   -1.5011    
   3  Prefactor     .10000E-03    12.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.5174        .17313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9469        2.1357        .11164E-03   -1.5429    
   6  Prefactor     .10000E-03    10.674        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10005E-03    95.802        .34363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.9636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.5976        .17529E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.3629        12.407        .26646E-03   -1.5401    
  11  Prefactor     19.238        18.131        .91408E-04   -1.4830    
  12  norm          .10000E-03    1.2606        .12692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.2984        3.4260        .46402E-03   -1.5206    
  14  Prefactor     .10000E-03    2.6747        .12134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.6717        .14227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.0408        .14909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.4550        15.258        .10867E-02   -1.5336    
  18  Prefactor     .10002E-03    55.458        .47055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10018E-03    258.26        .42904E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1974        .20607        .21522E-03   -.86684    
  21  Prefactor     .67744        .20230        .28698E-03   -1.0442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.80758e-09
Minuit parameter uncertainties:
  1  11.7693
  2  25.6392
  3  0.000146875
  4  5.35796e-05
  5  2.13578
  6  0.00031448
  7  0.00435608
  8  0.000220646
  9  7.39811e-05
  10  10.8324
  11  18.1366
  12  9.20472e-06
  13  3.42607
  14  7.84703e-06
  15  4.14318e-07
  16  1.31054e-06
  17  14.5274
  18  0.00185854
  19  0.0135235
  20  0.206206
  21  0.202524
Done.

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

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  7.398e-05  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:  6.774e-01  2.025e-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.197e+00  2.062e-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: 5.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/275833/likelihoodResults_577843201_578102401_4FGL_J1054.5+2211_daily_bin1306.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) = 5786.07227279
delta logL = -0.000850216945764

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5786.07142255
delta logL = 2.27364580496e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1465       1.0000          .0000       10.000    
     3 'Normalizat'    1.1974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67744       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=   5786.071     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    483.16        .90712E-02** at limit **
   2  Index         2.1580        7.6929        .50000       -.17242E-04
   3  Normalizat    1.1974        .43863E-01    .34955E-01   -.34800E-04
   4  Prefactor     .67744        .45402E-01    .64864E-01    .29500E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.15804
  Normalizat = 1.19738
  Prefactor  = 0.67744
 **********
 **   18 **HESSE 
 **********

 FCN=   5786.071     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      237 TOTAL
                     EDM=   .90E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1120.4        .17620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1580        5.2643        .50000       -.60455    
   3  Normalizat    1.1974        .99122E-01    .21522E-03   -.86684    
   4  Prefactor     .67744        .10247        .28699E-03   -1.0442    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.9515e-08
Minuit parameter uncertainties:
  1  0.000584634
  2  59.089
  3  0.099138
  4  0.1025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/275833': 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) = 5786.07142248
delta logL = 9.60199031397e-08

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  5.846e-04  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.158e+00  5.909e+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.774e-01  1.025e-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.197e+00  9.914e-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/275833/cmap_HighResolution_577843201_578102401_4FGL_J1054.5+2211_daily_bin1306.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.34e-03', job_status='DONE', photon_flux_upper_limit='5.73e-08', time_completed='2021-09-02 19:57:51.022463', job_id='275833', GAL2='0.68', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1630637871.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='9.60e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1306' AND source_name='4FGL J1054.5+2211' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 19:57:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 275833: <4FGL_J1054.5+2211_daily_bin1306> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1054.5+2211_daily_bin1306 163.628 22.1913 577843201 578102401 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 :                                   618.56 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            937 sec.

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

