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


Performing analysis on: 4FGL_J0156.5+3914_daily_bin751
RA = 29.1325, Dec = 39.2493
tmin = 433987201, tmax = 434246401
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='921527', job_status='RUN', time_executed='2021-08-14 20:54:07.924861', time_epoch_executed='1628999647.92' WHERE source_name='4FGL J0156.5+3914' and cadence='daily' and bin_id='751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/921527

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/921527/ft1_4FGL_J0156.5+3914_daily_bin751.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/921527/ft2_4FGL_J0156.5+3914_daily_bin751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/921527/ft1_4FGL_J0156.5+3914_daily_bin751.fits outfile=/scratch/kocevski/921527/ft1_filteredMKT_4FGL_J0156.5+3914_daily_bin751.fits ra=29.1325 dec=39.2493 rad=12.0 tmin=433987201.0 tmax=434246401.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 7.76
user 5.87
sys 1.84

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/921527/ft2_4FGL_J0156.5+3914_daily_bin751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/921527/ft2_4FGL_J0156.5+3914_daily_bin751.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/921527/ft1_filteredMKT_4FGL_J0156.5+3914_daily_bin751.fits evtable="EVENTS" outfile="/scratch/kocevski/921527/ft1_filtered_4FGL_J0156.5+3914_daily_bin751.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 2.10
user 0.34
sys 1.74

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/921527/ft1_filtered_4FGL_J0156.5+3914_daily_bin751.fits" evtable="EVENTS" scfile=/scratch/kocevski/921527/ft2_4FGL_J0156.5+3914_daily_bin751.fits sctable="SC_DATA" outfile=/scratch/kocevski/921527/ltcube_433987201_434246401_4FGL_J0156.5+3914_daily_bin751.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/921527/ft2_4FGL_J0156.5+3914_daily_bin751.fits
.....................!
real 15.69
user 13.54
sys 2.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/921527/ft1_filtered_4FGL_J0156.5+3914_daily_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/921527/ft2_4FGL_J0156.5+3914_daily_bin751.fits sctable="SC_DATA" expcube=/scratch/kocevski/921527/ltcube_433987201_434246401_4FGL_J0156.5+3914_daily_bin751.fits outfile=/scratch/kocevski/921527/expmap_433987201_434246401_4FGL_J0156.5+3914_daily_bin751.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/921527/ltcube_433987201_434246401_4FGL_J0156.5+3914_daily_bin751.fits
.....................!
real 194.01
user 186.66
sys 6.93

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J0156.5+3914 @ 29.1325 39.2493

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/921527/ft1_filtered_4FGL_J0156.5+3914_daily_bin751.fits scfile=/scratch/kocevski/921527/ft2_4FGL_J0156.5+3914_daily_bin751.fits outfile=/scratch/kocevski/921527/cmap_433987201_434246401_4FGL_J0156.5+3914_daily_bin751.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=29.1325 yref=39.2493 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 1.99
user 0.38
sys 1.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/921527/ft1_filtered_4FGL_J0156.5+3914_daily_bin751.fits scfile=/scratch/kocevski/921527/ft2_4FGL_J0156.5+3914_daily_bin751.fits outfile=/scratch/kocevski/921527/cmap_HighResolution_433987201_434246401_4FGL_J0156.5+3914_daily_bin751.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=29.1325 yref=39.2493 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 2.11
user 0.39
sys 1.71

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/921527/ft1_filtered_4FGL_J0156.5+3914_daily_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/921527/ft2_4FGL_J0156.5+3914_daily_bin751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/921527/Model_4FGL_J0156.5+3914_daily_bin751.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/921527/ft1_filtered_4FGL_J0156.5+3914_daily_bin751.fits.....................!
real 76.12
user 72.45
sys 3.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/921527/ft1_filtered_4FGL_J0156.5+3914_daily_bin751.fits', '/scratch/kocevski/921527/ft2_4FGL_J0156.5+3914_daily_bin751.fits', expMap='/scratch/kocevski/921527/expmap_433987201_434246401_4FGL_J0156.5+3914_daily_bin751.fits', expCube='/scratch/kocevski/921527/ltcube_433987201_434246401_4FGL_J0156.5+3914_daily_bin751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/921527/Model_4FGL_J0156.5+3914_daily_bin751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0156.5+3914'

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  1.010e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/921527/ft1_filtered_4FGL_J0156.5+3914_daily_bin751.fits
Spacecraft file(s): /scratch/kocevski/921527/ft2_4FGL_J0156.5+3914_daily_bin751.fits
Exposure map: /scratch/kocevski/921527/expmap_433987201_434246401_4FGL_J0156.5+3914_daily_bin751.fits
Exposure cube: /scratch/kocevski/921527/ltcube_433987201_434246401_4FGL_J0156.5+3914_daily_bin751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/921527/Model_4FGL_J0156.5+3914_daily_bin751.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) = 6654.37074946

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    39.785       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .17717       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.2135       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.3342       1.0000         .10000E-03   10000.    
     9 'norm      '    .31742       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.3939       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .91774       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.411       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .16898       1.0000         .10000E-03   10000.    
    18 'norm      '    3.1343       1.0000         .10000E-03   10000.    
    19 'norm      '    .42906       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0128       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0114       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6654.364     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     2303 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1828       -.12201E-06** at limit **
   2  Prefactor     39.775        1.4439       -.25904E-07    .11958E-02
   3  Prefactor     .10000E-03    35.423       -.35902E-05** at limit **
   4  norm          .17601        2.8556       -.11733E-05    .38941E-05
   5  Prefactor     .10000E-03    3.0404       -.15122E-06** at limit **
   6  Prefactor     7.1970        1.6374       -.94446E-07    .72181E-03
   7  Prefactor     .10000E-03    67.384        .19480E-05** at limit **
   8  norm          1.3337        1.6722       -.70897E-07   -.33518E-04
   9  norm          .31775        .57130        .75393E-07   -.34600E-04
  10  Prefactor     5.3910        1.2519        .95565E-07   -.45890E-03
  11  Prefactor     .91462        2.7524        .16523E-06   -.16885E-04
  12  Prefactor     .10000E-03    6.2257        .51854E-07** at limit **
  13  Prefactor     .10000E-03    9.5527        .19277E-05** at limit **
  14  norm          .10000E-03    2.7321       -.22896E-06** at limit **
  15  Prefactor     19.420        9.3245       -.72604E-06   -.91899E-04
  16  norm          .10000E-03    3.7956       -.34583E-06** at limit **
  17  Prefactor     .10001E-03    344.68        .30265E-06** at limit **
  18  norm          3.1357        .84260        .26434E-06    .11134E-03
  19  norm          .42888        .39021        .21089E-07   -.10973E-03
  20  Prefactor     .10000E-03    4.8449        .11028E-05** at limit **
  21  norm          .10000E-03    4.1642        .11841E-05** at limit **
  22  Prefactor     .10000E-03    9.8895        .25974E-05** at limit **
  23  Normalizat    1.0131        .26733        .72687E-05    .76205E-05
  24  Prefactor     1.0114        .13196       -.97058E-06    .65801E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 39.7748
  Prefactor  = 0.0001
  norm       = 0.176012
  Prefactor  = 0.0001
  Prefactor  = 7.19704
  Prefactor  = 0.0001
  norm       = 1.33373
  norm       = 0.317748
  Prefactor  = 5.39096
  Prefactor  = 0.91462
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.4196
  norm       = 0.0001
  Prefactor  = 0.000100011
  norm       = 3.1357
  norm       = 0.428884
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.01309
  Prefactor  = 1.01137
 **********
 **   18 **HESSE 
 **********

 FCN=   6654.364     FROM HESSE     STATUS=OK           455 CALLS     2758 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1746        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     39.775        27.008        .15887E-02   -1.4446    
   3  Prefactor     .10000E-03    35.469        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .17601        1.2653        .28998E-01   -1.5624    
   5  Prefactor     .10000E-03    3.0353        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.1970        38.888        .37337E-02   -1.5171    
   7  Prefactor     .10000E-03    67.126        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.3337        1.6998        .94980E-02   -1.5477    
   9  norm          .31775        .66602        .19301E-01   -1.5595    
  10  Prefactor     5.3910        18.087        .43257E-02   -1.5244    
  11  Prefactor     .91462        2.9412        .12872E-01   -1.5517    
  12  Prefactor     .10000E-03    6.2339        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    18.858        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.6981        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.420        9.5187        .22727E-02   -1.4826    
  16  norm          .10000E-03    3.6879        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    6.7523        .98351E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.1357        .85180        .57247E-02   -1.5354    
  19  norm          .42888        .41245        .10532E-01   -1.5577    
  20  Prefactor     .10000E-03    4.7625        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    4.1286        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    18.889        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0131        .24303        .80616E-01   -.92593    
  24  Prefactor     1.0114        .11583        .43136E-01   -.92352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54355e-08
Minuit parameter uncertainties:
  1  2.54671e-06
  2  27.0158
  3  4.50188e-05
  4  0.943583
  5  5.27259e-06
  6  33.4927
  7  0.000298156
  8  1.69989
  9  0.666035
  10  18.1053
  11  2.94164
  12  8.38348e-06
  13  5.44506e-05
  14  6.96056e-07
  15  9.51945
  16  1.96576e-06
  17  0.000543554
  18  0.851805
  19  0.412456
  20  7.84177e-07
  21  6.61469e-06
  22  5.48695e-05
  23  0.243295
  24  0.115861
Done.

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

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  9.146e-01  2.942e+00  1.000e-04  1.000e+04 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  1.011e+00  1.159e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.013e+00  2.433e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 29.133 39.249
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/921527/likelihoodResults_433987201_434246401_4FGL_J0156.5+3914_daily_bin751.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) = 6654.32363927
delta logL = 0.0400864473395

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6654.32006582
delta logL = 0.043659897573

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74267       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9240       1.0000          .0000       10.000    
     3 'Normalizat'    1.0034       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0141       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+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=   6654.320     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      254 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .74256        2.4934        .15829E-03   -.39674E-03
   2  Index         2.9240        1.7970        .97817E-02   -.62914E-04
   3  Normalizat    1.0034        .25992        .35839E-03   -.77813E-04
   4  Prefactor     1.0141        .13088        .18106E-03    .46716E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.742563
  Index      = 2.924
  Normalizat = 1.00337
  Prefactor  = 1.01412
 **********
 **   18 **HESSE 
 **********

 FCN=   6654.320     FROM HESSE     STATUS=OK            25 CALLS      279 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .74256        2.2358        .63317E-05   -1.5536    
   2  Index         2.9240        1.6192        .39127E-03   -.42816    
   3  Normalizat    1.0034        .26017        .14336E-04   -.92918    
   4  Prefactor     1.0141        .13096        .36211E-04   -.92260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.22649e-10
Minuit parameter uncertainties:
  1  2.23609
  2  1.65546
  3  0.260504
  4  0.130996
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/921527': 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) = 6654.32006582
delta logL = 0.0436599005479

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  7.426e-01  2.236e+00  1.000e-04  1.000e+04 ( 1.000e-12)
274        Index:  2.924e+00  1.655e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  1.014e+00  1.310e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.003e+00  2.605e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
Ra Dec: 29.133 39.249

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/921527/cmap_HighResolution_433987201_434246401_4FGL_J0156.5+3914_daily_bin751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.89e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-08-14 21:06:37.578779', job_id='921527', GAL2='1.01', fit_tolerance='1e-08', EG2='1.00', EG='1.01', time_epoch_completed='1629000397.58', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='4.37e-02', ts2='0.23', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='751' AND source_name='4FGL J0156.5+3914' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 21:06:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 921527: <4FGL_J0156.5+3914_daily_bin751> in cluster <slac> Done

Job <4FGL_J0156.5+3914_daily_bin751> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 14 20:50:25 2021
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:51:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 20:51:07 2021
Terminated at Sat Aug 14 21:06:38 2021
Results reported at Sat Aug 14 21:06:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0156.5+3914_daily_bin751 29.1325 39.2493 433987201 434246401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0156.5+3914 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   771.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            973 sec.

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

