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


Performing analysis on: 4FGL_J1926.8+6154_daily_bin653
RA = 291.71, Dec = 61.9146
tmin = 408585601, tmax = 408844801
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='935554', job_status='RUN', time_executed='2021-09-22 23:25:09.963660', time_epoch_executed='1632378309.96' WHERE source_name='4FGL J1926.8+6154' and cadence='daily' and bin_id='653'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/935554

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/935554/ft1_4FGL_J1926.8+6154_daily_bin653.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/935554/ft2_4FGL_J1926.8+6154_daily_bin653.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/935554/ft1_4FGL_J1926.8+6154_daily_bin653.fits outfile=/scratch/kocevski/935554/ft1_filteredMKT_4FGL_J1926.8+6154_daily_bin653.fits ra=291.71 dec=61.9146 rad=12.0 tmin=408585601.0 tmax=408844801.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.32
user 4.08
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/935554/ft2_4FGL_J1926.8+6154_daily_bin653.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/935554/ft2_4FGL_J1926.8+6154_daily_bin653.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/935554/ft1_filteredMKT_4FGL_J1926.8+6154_daily_bin653.fits evtable="EVENTS" outfile="/scratch/kocevski/935554/ft1_filtered_4FGL_J1926.8+6154_daily_bin653.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.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/935554/ft1_filtered_4FGL_J1926.8+6154_daily_bin653.fits" evtable="EVENTS" scfile=/scratch/kocevski/935554/ft2_4FGL_J1926.8+6154_daily_bin653.fits sctable="SC_DATA" outfile=/scratch/kocevski/935554/ltcube_408585601_408844801_4FGL_J1926.8+6154_daily_bin653.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/935554/ft2_4FGL_J1926.8+6154_daily_bin653.fits
.....................!
real 16.25
user 15.87
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/935554/ft1_filtered_4FGL_J1926.8+6154_daily_bin653.fits evtable="EVENTS" scfile=/scratch/kocevski/935554/ft2_4FGL_J1926.8+6154_daily_bin653.fits sctable="SC_DATA" expcube=/scratch/kocevski/935554/ltcube_408585601_408844801_4FGL_J1926.8+6154_daily_bin653.fits outfile=/scratch/kocevski/935554/expmap_408585601_408844801_4FGL_J1926.8+6154_daily_bin653.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/935554/ltcube_408585601_408844801_4FGL_J1926.8+6154_daily_bin653.fits
.....................!
real 193.91
user 188.71
sys 4.67

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
Extended source HB 21 in ROI with RadialDisk spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Added 189 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1926.8+6154 @ 291.71 61.9146

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/935554/ft1_filtered_4FGL_J1926.8+6154_daily_bin653.fits scfile=/scratch/kocevski/935554/ft2_4FGL_J1926.8+6154_daily_bin653.fits outfile=/scratch/kocevski/935554/cmap_408585601_408844801_4FGL_J1926.8+6154_daily_bin653.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=291.71 yref=61.9146 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/935554/ft1_filtered_4FGL_J1926.8+6154_daily_bin653.fits scfile=/scratch/kocevski/935554/ft2_4FGL_J1926.8+6154_daily_bin653.fits outfile=/scratch/kocevski/935554/cmap_HighResolution_408585601_408844801_4FGL_J1926.8+6154_daily_bin653.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=291.71 yref=61.9146 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/935554/ft1_filtered_4FGL_J1926.8+6154_daily_bin653.fits evtable="EVENTS" scfile=/scratch/kocevski/935554/ft2_4FGL_J1926.8+6154_daily_bin653.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/935554/Model_4FGL_J1926.8+6154_daily_bin653.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 FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
adding source HB 21
Working on...
/scratch/kocevski/935554/ft1_filtered_4FGL_J1926.8+6154_daily_bin653.fits......................!
real 38.91
user 37.39
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/935554/ft1_filtered_4FGL_J1926.8+6154_daily_bin653.fits', '/scratch/kocevski/935554/ft2_4FGL_J1926.8+6154_daily_bin653.fits', expMap='/scratch/kocevski/935554/expmap_408585601_408844801_4FGL_J1926.8+6154_daily_bin653.fits', expCube='/scratch/kocevski/935554/ltcube_408585601_408844801_4FGL_J1926.8+6154_daily_bin653.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/935554/Model_4FGL_J1926.8+6154_daily_bin653.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1926.8+6154'

4FGL J1926.8+6154
   Spectrum: LogParabola
317         norm:  1.803e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
318        alpha:  1.784e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  8.540e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  2.809e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/935554/ft1_filtered_4FGL_J1926.8+6154_daily_bin653.fits
Spacecraft file(s): /scratch/kocevski/935554/ft2_4FGL_J1926.8+6154_daily_bin653.fits
Exposure map: /scratch/kocevski/935554/expmap_408585601_408844801_4FGL_J1926.8+6154_daily_bin653.fits
Exposure cube: /scratch/kocevski/935554/ltcube_408585601_408844801_4FGL_J1926.8+6154_daily_bin653.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/935554/Model_4FGL_J1926.8+6154_daily_bin653.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) = 2335.44804109

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.881       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12138E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.5133       1.0000         .10000E-03   10000.    
     6 'norm      '    38.409       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10287E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    18.334       1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10110E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    15.408       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .18248       1.0000         .10000E-03   10000.    
    18 'Prefactor '    41.134       1.0000         .10000E-03   10000.    
    19 'norm      '    3.9334       1.0000         .10000E-03   10000.    
    20 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    81.719       1.0000         .10000E-03   10000.    
    23 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .64220       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .92689       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2335.420     FROM MIGRAD    STATUS=CONVERGED    625 CALLS     3098 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.293        .75887E-06** at limit **
   2  norm          .10000E-03    4.2216        .25904E-06** at limit **
   3  Prefactor     10.900        40.573       -.53447E-06   -.33147E-05
   4  Prefactor     .10000E-03    227.35       -.66892E-05** at limit **
   5  Prefactor     1.4882        21.132        .11761E-04    .98635E-05
   6  norm          38.433        25.788        .20328E-05    .26266E-04
   7  Prefactor     .10000E-03    44.606       -.39068E-05** at limit **
   8  Prefactor     .10000E-03    20.660        .10032E-06** at limit **
   9  Prefactor     .10000E-03    55.220        .55041E-05** at limit **
  10  Prefactor     .10000E-03    453.85        .46189E-04** at limit **
  11  Prefactor     .10000E-03    98.348       -.66537E-05** at limit **
  12  norm          18.348        10.634       -.15718E-06   -.13416E-03
  13  norm          .10000E-03    3.0155       -.35740E-07** at limit **
  14  norm          .10000E-03    6.2649       -.19345E-07** at limit **
  15  norm          15.412        17.896        .22552E-06    .99664E-07
  16  Prefactor     .10000E-03    18.950       -.14052E-05** at limit **
  17  Prefactor     .33990        17.178        .35565E-05   -.30200E-03
  18  Prefactor     41.059        72.227        .63956E-05    .90075E-05
  19  norm          3.9336        3.6440       -.89579E-07   -.12588E-04
  20  norm          .10000E-03    232.14       -.61099E-05** at limit **
  21  norm          .10000E-03    17.469        .72387E-06** at limit **
  22  Prefactor     81.690        69.748        .21954E-05   -.18462E-04
  23  norm          .10000E-03    4.9339        .20628E-07** at limit **
  24  norm          .10000E-03    14.355       -.63665E-07** at limit **
  25  Normalizat    .64108        .45266       -.93117E-05   -.73066E-04
  26  Prefactor     .92712        .14196        .93957E-06   -.10410E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.8999
  Prefactor  = 0.0001
  Prefactor  = 1.48821
  norm       = 38.433
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 18.3476
  norm       = 0.0001
  norm       = 0.0001
  norm       = 15.4119
  Prefactor  = 0.0001
  Prefactor  = 0.339903
  Prefactor  = 41.0585
  norm       = 3.9336
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 81.6902
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.641079
  Prefactor  = 0.927118
 **********
 **   18 **HESSE 
 **********

 FCN=   2335.420     FROM HESSE     STATUS=OK           448 CALLS     3546 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.2264        .96989E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.900        40.560        .12146E-03   -1.5048    
   4  Prefactor     .10000E-03    227.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.4882        21.246        .17380E-02   -1.5464    
   6  norm          38.433        25.823        .64672E-04   -1.4467    
   7  Prefactor     .10000E-03    44.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    55.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    454.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    98.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.348        10.636        .93539E-04   -1.4851    
  13  norm          .10000E-03    3.0542        .81939E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.2663        .11811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          15.412        17.889        .10203E-03   -1.4923    
  16  Prefactor     .10000E-03    18.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .33990        85.825        .36083E-02   -1.5591    
  18  Prefactor     41.059        72.394        .62501E-04   -1.4426    
  19  norm          3.9336        3.6472        .84524E-04   -1.5311    
  20  norm          .10000E-03    232.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    17.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     81.690        69.720        .44431E-04   -1.3898    
  23  norm          .10000E-03    4.9450        .10469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    14.360        .17887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .64108        .46470        .51438E-03   -1.0627    
  26  Prefactor     .92712        .14746        .15010E-03   -.95200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41969e-09
Minuit parameter uncertainties:
  1  1.48267e-05
  2  1.86887e-06
  3  40.6631
  4  0.000162317
  5  11.2506
  6  25.8303
  7  8.22439e-05
  8  3.45768e-06
  9  2.83475e-05
  10  0.00173624
  11  0.000121837
  12  10.6372
  13  2.51273e-06
  14  1.52709e-06
  15  17.8953
  16  2.32302e-05
  17  10.8164
  18  72.5493
  19  3.64744
  20  0.000166447
  21  2.39964e-06
  22  69.7896
  23  1.38009e-05
  24  2.9098e-06
  25  0.467577
  26  0.147522
Done.

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

Extracting fit parameters...

4FGL J1926.8+6154
   Spectrum: LogParabola
317         norm:  1.000e-04  1.527e-06  1.000e-04  1.000e+04 ( 1.000e-13)
318        alpha:  1.784e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  8.540e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  2.809e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
646    Prefactor:  9.271e-01  1.475e-01  0.000e+00  1.000e+01 ( 1.000e+00)
647        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
648        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
638   Normalization:  6.411e-01  4.676e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 291.710 61.915
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.43e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/935554/likelihoodResults_408585601_408844801_4FGL_J1926.8+6154_daily_bin653.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) = 2335.42049095
delta logL = -0.00070402637175

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2335.41978688
delta logL = 4.36739355791e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7617       1.0000          .0000       5.0000    
     3 'Normalizat'    .64097       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92713       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+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=   2335.420     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      252 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    60.654        .12075E-01** at limit **
   2  alpha         1.3351        3.6480        .50000        .12562E-07
   3  Normalizat    .64109        .33005E-01    .51436E-03    .56441E-03
   4  Prefactor     .92712        .11544E-01    .15010E-03    .19878E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.33513
  Normalizat = 0.64109
  Prefactor  = 0.927121
 **********
 **   18 **HESSE 
 **********

 FCN=   2335.420     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      281 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    487.19        .13240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3351        4.1035        .50000       -.48470    
   3  Normalizat    .64109        .10052        .10287E-03   -1.0627    
   4  Prefactor     .92712        .35166E-01    .30019E-04   -.95200    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.00416e-09
Minuit parameter uncertainties:
  1  0.000167393
  2  1620.23
  3  0.10055
  4  0.035167
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/935554': 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) = 2335.4197853
delta logL = 1.62562400874e-06

Extracting fit parameters...

4FGL J1926.8+6154
   Spectrum: LogParabola
317         norm:  1.000e-04  1.674e-04  1.000e-04  1.000e+04 ( 1.000e-13)
318        alpha:  1.335e+00  1.620e+03  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  8.540e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  2.809e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
646    Prefactor:  9.271e-01  3.517e-02  0.000e+00  1.000e+01 ( 1.000e+00)
647        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
648        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
638   Normalization:  6.411e-01  1.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 291.710 61.915

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/935554/cmap_HighResolution_408585601_408844801_4FGL_J1926.8+6154_daily_bin653.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-04', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-22 23:33:48.184211', job_id='935554', GAL2='0.93', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1632378828.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.63e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='653' AND source_name='4FGL J1926.8+6154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 22 23:33:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 935554: <4FGL_J1926.8+6154_daily_bin653> in cluster <slac> Done

Job <4FGL_J1926.8+6154_daily_bin653> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 22 23:21:30 2021
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 22 23:21:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 22 23:21:33 2021
Terminated at Wed Sep 22 23:33:48 2021
Results reported at Wed Sep 22 23:33:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1926.8+6154_daily_bin653 291.71 61.9146 408585601 408844801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1926.8+6154 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   518.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            738 sec.

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

