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


Performing analysis on: 4FGL_J0555.6+3947_daily_bin1222
RA = 88.9015, Dec = 39.7878
tmin = 556070401, tmax = 556329601
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='897807', job_status='RUN', time_executed='2021-08-24 01:03:03.772158', time_epoch_executed='1629792183.77' WHERE source_name='4FGL J0555.6+3947' and cadence='daily' and bin_id='1222'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/897807

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/897807/ft1_4FGL_J0555.6+3947_daily_bin1222.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/897807/ft2_4FGL_J0555.6+3947_daily_bin1222.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/897807/ft1_4FGL_J0555.6+3947_daily_bin1222.fits outfile=/scratch/kocevski/897807/ft1_filteredMKT_4FGL_J0555.6+3947_daily_bin1222.fits ra=88.9015 dec=39.7878 rad=12.0 tmin=556070401.0 tmax=556329601.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.78
user 3.49
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/897807/ft2_4FGL_J0555.6+3947_daily_bin1222.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/897807/ft2_4FGL_J0555.6+3947_daily_bin1222.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/897807/ft1_filteredMKT_4FGL_J0555.6+3947_daily_bin1222.fits evtable="EVENTS" outfile="/scratch/kocevski/897807/ft1_filtered_4FGL_J0555.6+3947_daily_bin1222.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.55
user 0.33
sys 0.21

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/897807/ft1_filtered_4FGL_J0555.6+3947_daily_bin1222.fits" evtable="EVENTS" scfile=/scratch/kocevski/897807/ft2_4FGL_J0555.6+3947_daily_bin1222.fits sctable="SC_DATA" outfile=/scratch/kocevski/897807/ltcube_556070401_556329601_4FGL_J0555.6+3947_daily_bin1222.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/897807/ft2_4FGL_J0555.6+3947_daily_bin1222.fits
.....................!
real 11.87
user 11.42
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/897807/ft1_filtered_4FGL_J0555.6+3947_daily_bin1222.fits evtable="EVENTS" scfile=/scratch/kocevski/897807/ft2_4FGL_J0555.6+3947_daily_bin1222.fits sctable="SC_DATA" expcube=/scratch/kocevski/897807/ltcube_556070401_556329601_4FGL_J0555.6+3947_daily_bin1222.fits outfile=/scratch/kocevski/897807/expmap_556070401_556329601_4FGL_J0555.6+3947_daily_bin1222.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/897807/ltcube_556070401_556329601_4FGL_J0555.6+3947_daily_bin1222.fits
.....................!
real 189.90
user 185.10
sys 4.40

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 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template.
Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source IC 443 in ROI with RadialGaussian spatial model.
Added 159 point sources and 4 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 J0555.6+3947 @ 88.9015 39.7878

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/897807/ft1_filtered_4FGL_J0555.6+3947_daily_bin1222.fits scfile=/scratch/kocevski/897807/ft2_4FGL_J0555.6+3947_daily_bin1222.fits outfile=/scratch/kocevski/897807/cmap_556070401_556329601_4FGL_J0555.6+3947_daily_bin1222.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=88.9015 yref=39.7878 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.67
user 0.38
sys 0.21

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/897807/ft1_filtered_4FGL_J0555.6+3947_daily_bin1222.fits scfile=/scratch/kocevski/897807/ft2_4FGL_J0555.6+3947_daily_bin1222.fits outfile=/scratch/kocevski/897807/cmap_HighResolution_556070401_556329601_4FGL_J0555.6+3947_daily_bin1222.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=88.9015 yref=39.7878 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.64
user 0.38
sys 0.21

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/897807/ft1_filtered_4FGL_J0555.6+3947_daily_bin1222.fits evtable="EVENTS" scfile=/scratch/kocevski/897807/ft2_4FGL_J0555.6+3947_daily_bin1222.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/897807/Model_4FGL_J0555.6+3947_daily_bin1222.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 G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source IC 443
adding source S 147
Working on...
/scratch/kocevski/897807/ft1_filtered_4FGL_J0555.6+3947_daily_bin1222.fits.....................!
real 207.04
user 203.08
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/897807/ft1_filtered_4FGL_J0555.6+3947_daily_bin1222.fits', '/scratch/kocevski/897807/ft2_4FGL_J0555.6+3947_daily_bin1222.fits', expMap='/scratch/kocevski/897807/expmap_556070401_556329601_4FGL_J0555.6+3947_daily_bin1222.fits', expCube='/scratch/kocevski/897807/ltcube_556070401_556329601_4FGL_J0555.6+3947_daily_bin1222.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/897807/Model_4FGL_J0555.6+3947_daily_bin1222.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0555.6+3947'

4FGL J0555.6+3947
   Spectrum: LogParabola
239         norm:  1.567e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
240        alpha:  2.647e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
241         beta:  2.062e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
242           Eb:  4.677e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/897807/ft1_filtered_4FGL_J0555.6+3947_daily_bin1222.fits
Spacecraft file(s): /scratch/kocevski/897807/ft2_4FGL_J0555.6+3947_daily_bin1222.fits
Exposure map: /scratch/kocevski/897807/expmap_556070401_556329601_4FGL_J0555.6+3947_daily_bin1222.fits
Exposure cube: /scratch/kocevski/897807/ltcube_556070401_556329601_4FGL_J0555.6+3947_daily_bin1222.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/897807/Model_4FGL_J0555.6+3947_daily_bin1222.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) = 7908.72250652

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.5679       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.864       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .77172       1.0000         .10000E-03   10000.    
     5 'norm      '    .39897E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11383E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    76.610       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.4891       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .89505       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+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=   7908.719     FROM MIGRAD    STATUS=CONVERGED    359 CALLS     1161 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5751        11.793        .17026E-03    .23925E-03
   2  Prefactor     19.877        41.649        .89866E-04    .10634E-03
   3  norm          .10000E-03    2.0026        .12281E-02** at limit **
   4  Prefactor     .83172        40.925        .12353        .16797E-03
   5  norm          .10001E-03    38.057        .35197E-02** at limit **
   6  norm          .10000E-03    5.9916        .18142E-02** at limit **
   7  norm          .10000E-03    3.2358        .15615E-02** at limit **
   8  norm          .10000E-03    2.1626        .12756E-02** at limit **
   9  Prefactor     .10001E-03    46.117        .18142E-02** at limit **
  10  Prefactor     76.943        165.71        .22939E-03    .16341E-03
  11  Normalizat    1.4895        .54568        .82119E-03   -.41352E-04
  12  Prefactor     .89496        .68223E-01    .12453E-03   -.18427E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 5.57506
  Prefactor  = 19.8772
  norm       = 0.0001
  Prefactor  = 0.831719
  norm       = 0.000100014
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 76.9428
  Normalizat = 1.48954
  Prefactor  = 0.894964
 **********
 **   18 **HESSE 
 **********

 FCN=   7908.719     FROM HESSE     STATUS=OK           125 CALLS     1286 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5751        11.791        .68104E-05   -1.5236    
   2  Prefactor     19.877        41.647        .17973E-04   -1.4816    
   3  norm          .10000E-03    2.0026        .24563E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .83172        37.067        .13106       -1.5526    
   5  norm          .10001E-03    39.676        .14079E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.9917        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.2359        .31230E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.1627        .25512E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    46.129        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     76.943        165.71        .45877E-04   -1.3951    
  11  Normalizat    1.4895        .54546        .32848E-04   -.78073    
  12  Prefactor     .89496        .68207E-01    .24906E-04   -.96317    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11449e-09
Minuit parameter uncertainties:
  1  11.7958
  2  41.7078
  3  1.55999e-06
  4  11.1115
  5  0.00149296
  6  1.7176e-05
  7  2.03342e-05
  8  4.49605e-06
  9  0.00132638
  10  166.715
  11  0.547633
  12  0.0682131
Done.

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

Extracting fit parameters...

4FGL J0555.6+3947
   Spectrum: LogParabola
239         norm:  1.000e-04  1.493e-03  1.000e-04  1.000e+04 ( 1.000e-11)
240        alpha:  2.647e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
241         beta:  2.062e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
242           Eb:  4.677e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  8.950e-01  6.821e-02  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.490e+00  5.476e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 88.901 39.788
Photon Flux Upper Limit: 3.62e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.97e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/897807/likelihoodResults_556070401_556329601_4FGL_J0555.6+3947_daily_bin1222.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7908.71882632
delta logL = -0.000121673825561

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7908.71874466
delta logL = -4.00130838898e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .45301E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9405       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4888       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89503       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+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=   7908.719     FROM MIGRAD    STATUS=FAILED        98 CALLS      307 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10058E-03    2205.4        .25640E-02** at limit **
   2  alpha         2.8477        2.8528        .16796        .27596E-06
   3  Normalizat    1.4895        .95786E-01    .82125E-03    .55940E-04
   4  Prefactor     .89497        .11753E-01    .12453E-03    .28715E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7908.719     FROM SIMPLEX   STATUS=UNCHANGED    152 CALLS      459 TOTAL
                     EDM=   .97E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10058E-03    2205.4        .12515E-02** at limit **
   2  alpha         2.8477        2.8528        .10619E-04    .27596E-06
   3  Normalizat    1.4895        .95786E-01    .70025E-06    .55940E-04
   4  Prefactor     .89497        .11753E-01    .47500E-07    .28715E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7908.719     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      487 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10022E-03    66.191        .10256E-03** at limit **
   2  alpha         2.8546        3.8718        .67183E-02    .73678E-06
   3  Normalizat    1.4895        .53168        .32850E-04    .58695E-04
   4  Prefactor     .89497        .65609E-01    .24906E-04    .30483E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100221
  alpha      = 2.85459
  Normalizat = 1.48953
  Prefactor  = 0.894966
 **********
 **   18 **HESSE 
 **********

 FCN=   7908.719     FROM HESSE     STATUS=OK            23 CALLS      510 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10022E-03    66.047        .20512E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.8546        3.8016        .13437E-02    .14232    
   3  Normalizat    1.4895        .53169        .65700E-05   -.78073    
   4  Prefactor     .89497        .65610E-01    .49812E-05   -.96317    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57402e-09
Minuit parameter uncertainties:
  1  0.00765505
  2  191.949
  3  0.533702
  4  0.0656162
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/897807': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7908.71870415
delta logL = 5.02212060383e-07

Extracting fit parameters...

4FGL J0555.6+3947
   Spectrum: LogParabola
239         norm:  1.002e-04  7.655e-03  1.000e-04  1.000e+04 ( 1.000e-11)
240        alpha:  2.855e+00  1.919e+02  0.000e+00  5.000e+00 ( 1.000e+00)
241         beta:  2.062e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
242           Eb:  4.677e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  8.950e-01  6.562e-02  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.490e+00  5.337e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 88.901 39.788

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/897807/cmap_HighResolution_556070401_556329601_4FGL_J0555.6+3947_daily_bin1222.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.97e-05', job_status='DONE', photon_flux_upper_limit='3.62e-07', time_completed='2021-08-24 01:15:00.106501', job_id='897807', GAL2='0.89', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1629792900.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='5.02e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1222' AND source_name='4FGL J0555.6+3947' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 01:15:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 897807: <4FGL_J0555.6+3947_daily_bin1222> in cluster <slac> Done

Job <4FGL_J0555.6+3947_daily_bin1222> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Aug 24 01:00:50 2021
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 01:00:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 01:00:51 2021
Terminated at Tue Aug 24 01:15:00 2021
Results reported at Tue Aug 24 01:15:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0555.6+3947_daily_bin1222 88.9015 39.7878 556070401 556329601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0555.6+3947 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   678.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             370.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            850 sec.

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

