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


Performing analysis on: 4FGL_J0855.9+7144_daily_bin752
RA = 133.975, Dec = 71.7419
tmin = 434246401, tmax = 434505601
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='856545', job_status='RUN', time_executed='2021-08-30 16:37:01.416637', time_epoch_executed='1630366621.42' WHERE source_name='4FGL J0855.9+7144' and cadence='daily' and bin_id='752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/856545

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/856545/ft1_4FGL_J0855.9+7144_daily_bin752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/856545/ft2_4FGL_J0855.9+7144_daily_bin752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/856545/ft1_4FGL_J0855.9+7144_daily_bin752.fits outfile=/scratch/kocevski/856545/ft1_filteredMKT_4FGL_J0855.9+7144_daily_bin752.fits ra=133.975 dec=71.7419 rad=12.0 tmin=434246401.0 tmax=434505601.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 8.81
user 5.75
sys 3.04

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/856545/ft2_4FGL_J0855.9+7144_daily_bin752.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/856545/ft2_4FGL_J0855.9+7144_daily_bin752.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/856545/ft1_filteredMKT_4FGL_J0855.9+7144_daily_bin752.fits evtable="EVENTS" outfile="/scratch/kocevski/856545/ft1_filtered_4FGL_J0855.9+7144_daily_bin752.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 3.05
user 0.33
sys 2.67

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/856545/ft1_filtered_4FGL_J0855.9+7144_daily_bin752.fits" evtable="EVENTS" scfile=/scratch/kocevski/856545/ft2_4FGL_J0855.9+7144_daily_bin752.fits sctable="SC_DATA" outfile=/scratch/kocevski/856545/ltcube_434246401_434505601_4FGL_J0855.9+7144_daily_bin752.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/856545/ft2_4FGL_J0855.9+7144_daily_bin752.fits
.....................!
real 16.12
user 12.35
sys 3.50

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/856545/ft1_filtered_4FGL_J0855.9+7144_daily_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/856545/ft2_4FGL_J0855.9+7144_daily_bin752.fits sctable="SC_DATA" expcube=/scratch/kocevski/856545/ltcube_434246401_434505601_4FGL_J0855.9+7144_daily_bin752.fits outfile=/scratch/kocevski/856545/expmap_434246401_434505601_4FGL_J0855.9+7144_daily_bin752.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/856545/ltcube_434246401_434505601_4FGL_J0855.9+7144_daily_bin752.fits
.....................!
real 196.78
user 187.45
sys 7.10

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

Setting source of interest to:
4FGL J0855.9+7144 @ 133.975 71.7419

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/856545/ft1_filtered_4FGL_J0855.9+7144_daily_bin752.fits scfile=/scratch/kocevski/856545/ft2_4FGL_J0855.9+7144_daily_bin752.fits outfile=/scratch/kocevski/856545/cmap_434246401_434505601_4FGL_J0855.9+7144_daily_bin752.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=133.975 yref=71.7419 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 3.30
user 0.36
sys 2.92

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/856545/ft1_filtered_4FGL_J0855.9+7144_daily_bin752.fits scfile=/scratch/kocevski/856545/ft2_4FGL_J0855.9+7144_daily_bin752.fits outfile=/scratch/kocevski/856545/cmap_HighResolution_434246401_434505601_4FGL_J0855.9+7144_daily_bin752.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=133.975 yref=71.7419 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 3.01
user 0.39
sys 2.61

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/856545/ft1_filtered_4FGL_J0855.9+7144_daily_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/856545/ft2_4FGL_J0855.9+7144_daily_bin752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/856545/Model_4FGL_J0855.9+7144_daily_bin752.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/856545/ft1_filtered_4FGL_J0855.9+7144_daily_bin752.fits.....................!
real 50.67
user 46.11
sys 4.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/856545/ft1_filtered_4FGL_J0855.9+7144_daily_bin752.fits', '/scratch/kocevski/856545/ft2_4FGL_J0855.9+7144_daily_bin752.fits', expMap='/scratch/kocevski/856545/expmap_434246401_434505601_4FGL_J0855.9+7144_daily_bin752.fits', expCube='/scratch/kocevski/856545/ltcube_434246401_434505601_4FGL_J0855.9+7144_daily_bin752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/856545/Model_4FGL_J0855.9+7144_daily_bin752.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0855.9+7144'

4FGL J0855.9+7144
   Spectrum: PowerLaw
329    Prefactor:  5.650e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        Index:  2.621e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  8.574e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/856545/ft1_filtered_4FGL_J0855.9+7144_daily_bin752.fits
Spacecraft file(s): /scratch/kocevski/856545/ft2_4FGL_J0855.9+7144_daily_bin752.fits
Exposure map: /scratch/kocevski/856545/expmap_434246401_434505601_4FGL_J0855.9+7144_daily_bin752.fits
Exposure cube: /scratch/kocevski/856545/ltcube_434246401_434505601_4FGL_J0855.9+7144_daily_bin752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/856545/Model_4FGL_J0855.9+7144_daily_bin752.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) = 3140.45267268

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    19.277       1.0000         .10000E-03   10000.    
     4 'norm      '    3.0069       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.077       1.0000         .10000E-03   10000.    
     7 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13930       1.0000         .10000E-03   10000.    
    13 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    138.98       1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.821       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.612       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.891       1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    118.44       1.0000         .10000E-03   10000.    
    24 'Prefactor '    66.555       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .22453E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.1675       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .96925       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3140.406     FROM MIGRAD    STATUS=CONVERGED    933 CALLS     4880 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.5916        .20678E-06** at limit **
   2  Prefactor     .10000E-03    14.350        .36557E-05** at limit **
   3  norm          19.275        31.854        .28136E-06   -.26591E-04
   4  norm          3.0068        1.1794       -.26502E-06   -.18024E-03
   5  Prefactor     .10000E-03    109.06       -.73132E-04** at limit **
   6  Prefactor     31.104        68.558        .25882E-04   -.24178E-04
   7  norm          .10000E-03    32.323        .63820E-05** at limit **
   8  Prefactor     .10000E-03    23.012       -.72969E-05** at limit **
   9  Prefactor     .10000E-03    129.07        .26265E-04** at limit **
  10  norm          .10000E-03    1.1925        .54061E-07** at limit **
  11  Prefactor     .10000E-03    3.9210       -.76776E-07** at limit **
  12  Prefactor     .14053        2.0392        .56219E-06   -.28213E-03
  13  norm          .10000E-03    3.4146       -.32309E-06** at limit **
  14  Prefactor     .10000E-03    402.66       -.35667E-03** at limit **
  15  Prefactor     138.99        96.856        .91320E-05    .12892E-04
  16  Prefactor     15.822        21.392        .14170E-05    .10464E-03
  17  norm          .10000E-03    .60841        .42954E-08** at limit **
  18  Prefactor     15.621        52.043        .86153E-05    .50135E-04
  19  Prefactor     .10000E-03    18.685        .50864E-05** at limit **
  20  Prefactor     19.894        19.302        .15508E-05   -.35636E-04
  21  norm          .10000E-03    .66096       -.30307E-07** at limit **
  22  norm          .10000E-03    19.503       -.98622E-06** at limit **
  23  Prefactor     118.43        70.470       -.19129E-04   -.20750E-03
  24  Prefactor     66.627        149.96        .75037E-04   -.65588E-04
  25  Prefactor     .10000E-03    181.50        .10284E-03** at limit **
  26  norm          .10000E-03    7.1685        .12429E-06** at limit **
  27  Prefactor     .10000E-03    193.48        .95859E-04** at limit **
  28  Prefactor     .10000E-03    11.110        .44192E-05** at limit **
  29  norm          .10001E-03    1.0035       -.37951E-06** at limit **
  30  norm          .10000E-03    2.5739        .97201E-07** at limit **
  31  Prefactor     .10000E-03    13.347       -.65974E-05** at limit **
  32  Prefactor     .10000E-03    4.6904        .60089E-07** at limit **
  33  Normalizat    1.1671        .32100       -.80708E-05    .20444E-03
  34  Prefactor     .96952        .21364        .95217E-06   -.32045E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.2747
  norm       = 3.00684
  Prefactor  = 0.0001
  Prefactor  = 31.1036
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.140528
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 138.994
  Prefactor  = 15.8215
  norm       = 0.0001
  Prefactor  = 15.6212
  Prefactor  = 0.0001
  Prefactor  = 19.8942
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 118.426
  Prefactor  = 66.6271
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100012
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.16709
  Prefactor  = 0.969518
 **********
 **   18 **HESSE 
 **********

 FCN=   3140.406     FROM HESSE     STATUS=OK           720 CALLS     5600 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.5985        .16044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          19.275        31.868        .91224E-04   -1.4830    
   4  norm          3.0068        1.1792        .35943E-04   -1.5361    
   5  Prefactor     .10000E-03    109.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     31.104        69.195        .71874E-04   -1.4592    
   7  norm          .10000E-03    32.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    23.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    129.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.2012        .59725E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.9262        .10837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .14053        11.123        .15070E-02   -1.5633    
  13  norm          .10000E-03    3.4247        .10098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    403.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     138.99        97.116        .17084E-03   -1.3345    
  16  Prefactor     15.822        21.391        .10070E-03   -1.4912    
  17  norm          .10000E-03    .61187        .42617E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.621        52.206        .10136E-03   -1.4917    
  19  Prefactor     .10000E-03    18.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     19.894        19.345        .89806E-04   -1.4816    
  21  norm          .10000E-03    .66992        .44421E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    19.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     118.43        70.461        .36975E-04   -1.3527    
  24  Prefactor     66.627        150.12        .49196E-04   -1.4074    
  25  Prefactor     .10000E-03    181.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    7.2180        .14651E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    193.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    11.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10001E-03    10.307        .10654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    2.6321        .17531E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    13.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    4.7072        .11850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.1671        .37609        .29808E-03   -.87626    
  34  Prefactor     .96952        .24858        .23523E-03   -.93753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49635e-09
Minuit parameter uncertainties:
  1  5.47595e-06
  2  2.98115e-05
  3  31.8961
  4  1.17923
  5  9.16986e-05
  6  69.3743
  7  5.64204e-06
  8  2.76391e-05
  9  0.000564144
  10  5.27781e-06
  11  1.92799e-05
  12  2.50012
  13  6.22991e-05
  14  0.00171494
  15  97.2278
  16  21.4018
  17  4.18173e-07
  18  52.3597
  19  3.55827e-05
  20  19.3515
  21  1.25297e-06
  22  8.05422e-06
  23  70.5109
  24  150.988
  25  0.000469859
  26  2.57389e-05
  27  4.90205e-05
  28  4.74561e-05
  29  0.000696726
  30  1.62003e-05
  31  2.43152e-05
  32  1.39583e-05
  33  0.37696
  34  0.248874
Done.

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

Extracting fit parameters...

4FGL J0855.9+7144
   Spectrum: PowerLaw
329    Prefactor:  1.390e+02  9.723e+01  1.000e-04  1.000e+04 ( 1.000e-13)
330        Index:  2.621e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  8.574e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
759    Prefactor:  9.695e-01  2.489e-01  0.000e+00  1.000e+01 ( 1.000e+00)
760        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
761        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
758   Normalization:  1.167e+00  3.770e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.87
Ra Dec: 133.975 71.742
Photon Index (Fixed Index): 2.62 +/- 0.00
Photon Flux (Fixed Index): 2.40e-07 +/- 1.67e-07
Energy Flux (Fixed Index): 6.16e-05 +/- 4.31e-05

TS (Fixed Index): 3.87
Ra Dec: 133.975 71.742
Photon Flux Upper Limit: 5.93e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.65e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/856545/likelihoodResults_434246401_434505601_4FGL_J0855.9+7144_daily_bin752.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) = 3137.87403424
delta logL = 2.53199399334

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3137.41741662
delta logL = 2.9886116132

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .90801E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    7.0769       1.0000          .0000       10.000    
     3 'Normalizat'    .94705       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0909       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3137.417     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      325 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89368E-01    .65964        .15729E-02   -.11908E-02
   2  Index         7.0847        2.5162        .57820E-01   -.31870E-05
   3  Normalizat    .94783        .13789        .73215E-01   -.17777E-04
   4  Prefactor     1.0905        .10019        .37941E-01    .90290E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.089368
  Index      = 7.08471
  Normalizat = 0.947833
  Prefactor  = 1.09049
 **********
 **   18 **HESSE 
 **********

 FCN=   3137.417     FROM HESSE     STATUS=OK            31 CALLS      356 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89368E-01    5.1284        .69722E-05   -1.5648    
   2  Index         7.0847        8.4065        .25156E-03    .43008    
   3  Normalizat    .94783        .35141        .32397E-03   -.94799    
   4  Prefactor     1.0905        .25178        .22357E-03   -.89771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40366e-09
Minuit parameter uncertainties:
  1  1.35335
  2  7.58793
  3  0.352272
  4  0.252053
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/856545': 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) = 3137.41740909
delta logL = 2.98861914874

Extracting fit parameters...

4FGL J0855.9+7144
   Spectrum: PowerLaw
329    Prefactor:  8.937e-02  1.353e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        Index:  7.085e+00  7.588e+00  0.000e+00  1.000e+01 (-1.000e+00)
331        Scale:  8.574e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
759    Prefactor:  1.090e+00  2.521e-01  0.000e+00  1.000e+01 ( 1.000e+00)
760        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
761        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
758   Normalization:  9.478e-01  3.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.69
Ra Dec: 133.975 71.742
Photon Index (Free Index): 7.08 +/- 7.59
Photon Flux (Free Index): 6.09e-07 +/- 2.72e-07
Energy Flux (Free Index): 7.25e-05 +/- 3.97e-05

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/856545/cmap_HighResolution_434246401_434505601_4FGL_J0855.9+7144_daily_bin752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-02', comment='SUCCESS', photon_flux='2.40e-07', energy_flux2='7.25e-05', photon_flux_error='1.67e-07', dlogl='2.99e+00', energy_flux='6.16e-05', photon_flux2='6.09e-07', job_status='DONE', time_completed='2021-08-30 16:51:19.089554', photon_index_error2='7.59', photon_index2='7.08', ts='3.87', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='5.93e-07', energy_flux_error2='3.97e-05', EG='1.17', time_epoch_completed='1630367479.09', return_code='0', job_id='856545', GAL2='1.09', EG2='0.95', return_code2='0', energy_flux_error='4.31e-05', photon_flux_error2='2.72e-07', ts2='10.69', photon_index='2.62' WHERE bin_id='752' AND source_name='4FGL J0855.9+7144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 16:51:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 856545: <4FGL_J0855.9+7144_daily_bin752> in cluster <slac> Done

Job <4FGL_J0855.9+7144_daily_bin752> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Aug 30 16:35:55 2021
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 16:35:57 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 16:35:57 2021
Terminated at Mon Aug 30 16:51:20 2021
Results reported at Mon Aug 30 16:51:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0855.9+7144_daily_bin752 133.975 71.7419 434246401 434505601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0855.9+7144 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   891.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             301.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            925 sec.

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

