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


Performing analysis on: 4FGL_J0855.9+7144_daily_bin1202
RA = 133.975, Dec = 71.7419
tmin = 550886401, tmax = 551145601
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='862607', job_status='RUN', time_executed='2021-08-30 16:58:08.438018', time_epoch_executed='1630367888.44' WHERE source_name='4FGL J0855.9+7144' and cadence='daily' and bin_id='1202'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/862607

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/862607/ft1_4FGL_J0855.9+7144_daily_bin1202.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/862607/ft2_4FGL_J0855.9+7144_daily_bin1202.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/862607/ft1_4FGL_J0855.9+7144_daily_bin1202.fits outfile=/scratch/kocevski/862607/ft1_filteredMKT_4FGL_J0855.9+7144_daily_bin1202.fits ra=133.975 dec=71.7419 rad=12.0 tmin=550886401.0 tmax=551145601.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.88
user 3.53
sys 1.32

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/862607/ft2_4FGL_J0855.9+7144_daily_bin1202.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/862607/ft1_filteredMKT_4FGL_J0855.9+7144_daily_bin1202.fits evtable="EVENTS" outfile="/scratch/kocevski/862607/ft1_filtered_4FGL_J0855.9+7144_daily_bin1202.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 1.64
user 0.32
sys 1.29

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/862607/ft1_filtered_4FGL_J0855.9+7144_daily_bin1202.fits" evtable="EVENTS" scfile=/scratch/kocevski/862607/ft2_4FGL_J0855.9+7144_daily_bin1202.fits sctable="SC_DATA" outfile=/scratch/kocevski/862607/ltcube_550886401_551145601_4FGL_J0855.9+7144_daily_bin1202.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/862607/ft2_4FGL_J0855.9+7144_daily_bin1202.fits
.....................!
real 14.08
user 11.31
sys 1.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/862607/ft1_filtered_4FGL_J0855.9+7144_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/862607/ft2_4FGL_J0855.9+7144_daily_bin1202.fits sctable="SC_DATA" expcube=/scratch/kocevski/862607/ltcube_550886401_551145601_4FGL_J0855.9+7144_daily_bin1202.fits outfile=/scratch/kocevski/862607/expmap_550886401_551145601_4FGL_J0855.9+7144_daily_bin1202.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/862607/ltcube_550886401_551145601_4FGL_J0855.9+7144_daily_bin1202.fits
.....................!
real 191.95
user 185.28
sys 6.21

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/862607/ft1_filtered_4FGL_J0855.9+7144_daily_bin1202.fits scfile=/scratch/kocevski/862607/ft2_4FGL_J0855.9+7144_daily_bin1202.fits outfile=/scratch/kocevski/862607/cmap_550886401_551145601_4FGL_J0855.9+7144_daily_bin1202.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 1.65
user 0.37
sys 1.26

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/862607/ft1_filtered_4FGL_J0855.9+7144_daily_bin1202.fits scfile=/scratch/kocevski/862607/ft2_4FGL_J0855.9+7144_daily_bin1202.fits outfile=/scratch/kocevski/862607/cmap_HighResolution_550886401_551145601_4FGL_J0855.9+7144_daily_bin1202.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 1.67
user 0.38
sys 1.26

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/862607/ft1_filtered_4FGL_J0855.9+7144_daily_bin1202.fits', '/scratch/kocevski/862607/ft2_4FGL_J0855.9+7144_daily_bin1202.fits', expMap='/scratch/kocevski/862607/expmap_550886401_551145601_4FGL_J0855.9+7144_daily_bin1202.fits', expCube='/scratch/kocevski/862607/ltcube_550886401_551145601_4FGL_J0855.9+7144_daily_bin1202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/862607/Model_4FGL_J0855.9+7144_daily_bin1202.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/862607/ft1_filtered_4FGL_J0855.9+7144_daily_bin1202.fits
Spacecraft file(s): /scratch/kocevski/862607/ft2_4FGL_J0855.9+7144_daily_bin1202.fits
Exposure map: /scratch/kocevski/862607/expmap_550886401_551145601_4FGL_J0855.9+7144_daily_bin1202.fits
Exposure cube: /scratch/kocevski/862607/ltcube_550886401_551145601_4FGL_J0855.9+7144_daily_bin1202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/862607/Model_4FGL_J0855.9+7144_daily_bin1202.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) = 2551.33746352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    65.080       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.928       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.6514       1.0000         .10000E-03   10000.    
     5 'Prefactor '    56.585       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    31.522       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .41718E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.3559       1.0000         .10000E-03   10000.    
    13 'norm      '    3.4707       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    41.322       1.0000         .10000E-03   10000.    
    17 'norm      '    2.1452       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.9475       1.0000         .10000E-03   10000.    
    21 'norm      '    1.7832       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    3.3423       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .19317E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .21942E-02   1.0000         .10000E-03   10000.    
    29 'norm      '    .56403E-01   1.0000         .10000E-03   10000.    
    30 'norm      '    .10134E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.9341       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .19529       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=   2551.321     FROM MIGRAD    STATUS=CONVERGED   1021 CALLS     4966 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     65.070        49.042       -.20588E-05    .34629E-04
   2  Prefactor     14.947        55.713        .20856E-04    .23376E-04
   3  norm          .10000E-03    11.817        .28322E-07** at limit **
   4  norm          5.6518        1.7425       -.70390E-07    .11079E-03
   5  Prefactor     56.789        165.72        .20626E-03    .10581E-04
   6  Prefactor     .10000E-03    36.757        .20395E-04** at limit **
   7  norm          31.526        31.659       -.17266E-06    .12699E-04
   8  Prefactor     .10000E-03    22.977        .25072E-04** at limit **
   9  Prefactor     .10000E-03    35.386        .32113E-05** at limit **
  10  norm          .10032E-03    3.7635       -.15675E-05** at limit **
  11  Prefactor     .10000E-03    4.3321        .17729E-07** at limit **
  12  Prefactor     3.3585        2.9887       -.85885E-07    .21316E-03
  13  norm          3.4719        3.5411        .29763E-06    .10556E-03
  14  Prefactor     .10000E-03    33.588       -.15379E-04** at limit **
  15  Prefactor     .10000E-03    30.043        .38745E-06** at limit **
  16  Prefactor     41.332        23.800       -.41547E-06    .14747E-03
  17  norm          2.1454        1.7540        .16736E-06    .26672E-03
  18  Prefactor     .10000E-03    22.179       -.23802E-04** at limit **
  19  Prefactor     .10000E-03    16.720       -.49261E-05** at limit **
  20  Prefactor     5.9536        18.554        .32119E-06    .33611E-04
  21  norm          1.7835        1.5063        .35588E-06    .25509E-03
  22  norm          .10000E-03    17.361        .59776E-05** at limit **
  23  Prefactor     .10000E-03    79.120        .68112E-04** at limit **
  24  Prefactor     .10000E-03    64.496       -.37792E-04** at limit **
  25  Prefactor     .10000E-03    116.31       -.59461E-04** at limit **
  26  norm          3.3423        4.0226        .89758E-07    .15010E-04
  27  Prefactor     .10000E-03    380.99        .11410E-03** at limit **
  28  Prefactor     .15524        9.9086        .73660E-06   -.29684E-03
  29  norm          .38878E-01    1.5222        .22486E-07   -.51688E-03
  30  norm          .10000E-03    4.7347        .82608E-06** at limit **
  31  Prefactor     .10000E-03    5.4927       -.63670E-07** at limit **
  32  Prefactor     .10000E-03    12.068        .45448E-07** at limit **
  33  Normalizat    1.9336        .37368        .18777E-05   -.14880E-03
  34  Prefactor     .19554        .25358       -.18570E-04   -.28056E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 65.0703
  Prefactor  = 14.9467
  norm       = 0.0001
  norm       = 5.65184
  Prefactor  = 56.7885
  Prefactor  = 0.0001
  norm       = 31.5258
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100319
  Prefactor  = 0.0001
  Prefactor  = 3.35853
  norm       = 3.47185
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.3317
  norm       = 2.14537
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.95361
  norm       = 1.78353
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.34232
  Prefactor  = 0.0001
  Prefactor  = 0.155244
  norm       = 0.0388783
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.93355
  Prefactor  = 0.195541
 **********
 **   18 **HESSE 
 **********

 FCN=   2551.321     FROM HESSE     STATUS=OK           732 CALLS     5698 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     65.070        48.887        .49747E-04   -1.4093    
   2  Prefactor     14.947        55.491        .10367E-03   -1.4935    
   3  norm          .10000E-03    11.819        .16961E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.6518        1.7435        .35465E-04   -1.5232    
   5  Prefactor     56.789        165.71        .26664E-03   -1.4199    
   6  Prefactor     .10000E-03    36.800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          31.526        31.661        .71366E-04   -1.4584    
   8  Prefactor     .10000E-03    22.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    35.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10032E-03    37.389        .18826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.3468        .10267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.3585        2.9705        .78943E-04   -1.5341    
  13  norm          3.4719        3.5462        .91806E-04   -1.5335    
  14  Prefactor     .10000E-03    33.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    30.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     41.332        23.787        .62359E-04   -1.4421    
  17  norm          2.1454        1.7482        .56558E-04   -1.5415    
  18  Prefactor     .10000E-03    22.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.9536        18.542        .16466E-03   -1.5220    
  21  norm          1.7835        1.4938        .53889E-04   -1.5441    
  22  norm          .10000E-03    17.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    81.260        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    64.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    116.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          3.3423        4.0207        .10839E-03   -1.5342    
  27  Prefactor     .10000E-03    380.96        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .15524        335.34        .24937E-02   -1.5629    
  29  norm          .38878E-01    28.213        .92146E-03   -1.5669    
  30  norm          .10000E-03    15.269        .18618E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    5.4937        .11562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    12.126        .17086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.9336        .37111        .22160E-03   -.66226    
  34  Prefactor     .19554        .24404        .44105E-03   -1.2902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53715e-08
Minuit parameter uncertainties:
  1  48.9167
  2  55.6832
  3  8.45763e-06
  4  1.74354
  5  167.084
  6  3.69915e-05
  7  31.6779
  8  0.000155478
  9  3.25723e-05
  10  0.00690787
  11  1.22257e-05
  12  2.97064
  13  3.54643
  14  4.51237e-05
  15  5.60185e-05
  16  23.792
  17  1.74826
  18  0.00017575
  19  1.05979e-05
  20  18.5604
  21  1.49381
  22  7.06782e-06
  23  0.000863683
  24  0.000158589
  25  8.51763e-05
  26  4.02107
  27  0.000112427
  28  14.5078
  29  2.09294
  30  3.77704e-05
  31  3.06126e-06
  32  1.13106e-05
  33  0.371661
  34  0.245321
Done.

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

Extracting fit parameters...

4FGL J0855.9+7144
   Spectrum: PowerLaw
329    Prefactor:  1.000e-04  5.602e-05  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:  1.955e-01  2.453e-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.934e+00  3.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/862607/likelihoodResults_550886401_551145601_4FGL_J0855.9+7144_daily_bin1202.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) = 2551.32075631
delta logL = -0.000157438571023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2551.32060013
delta logL = -1.26383611132e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11785E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0350       1.0000          .0000       10.000    
     3 'Normalizat'    1.9335       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .19557       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2551.321     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      281 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10381E-03    10.804        .18142E-01** at limit **
   2  Index         2.9405        6.1876        .50000        .11586E-04
   3  Normalizat    1.9335        .55431E-02    .22160E-03    .81573E-05
   4  Prefactor     .19555        .38724E-02    .44107E-03    .33508E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103808
  Index      = 2.94052
  Normalizat = 1.93354
  Prefactor  = 0.195551
 **********
 **   18 **HESSE 
 **********

 FCN=   2551.321     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      310 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10381E-03    147.65        .23141E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9405        5.7081        .50000       -.42453    
   3  Normalizat    1.9335        .20450E-01    .88638E-05   -.66227    
   4  Prefactor     .19555        .14286E-01    .17643E-04   -1.2902    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.82753e-09
Minuit parameter uncertainties:
  1  0.0475418
  2  430.975
  3  0.0204506
  4  0.0142866
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/862607': 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) = 2551.32059952
delta logL = -6.49389221508e-07

Extracting fit parameters...

4FGL J0855.9+7144
   Spectrum: PowerLaw
329    Prefactor:  1.038e-04  4.754e-02  1.000e-04  1.000e+04 ( 1.000e-13)
330        Index:  2.941e+00  4.310e+02  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.956e-01  1.429e-02  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.934e+00  2.045e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 133.975 71.742

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/862607/cmap_HighResolution_550886401_551145601_4FGL_J0855.9+7144_daily_bin1202.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-02', job_status='DONE', photon_flux_upper_limit='1.48e-07', time_completed='2021-08-30 17:10:32.175470', job_id='862607', GAL2='0.20', fit_tolerance='1e-08', EG2='1.93', EG='1.93', time_epoch_completed='1630368632.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.20', dlogl='-6.49e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='1202' AND source_name='4FGL J0855.9+7144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 17:10:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 862607: <4FGL_J0855.9+7144_daily_bin1202> in cluster <slac> Done

Job <4FGL_J0855.9+7144_daily_bin1202> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Aug 30 16:55:29 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 16:55:31 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:55:31 2021
Terminated at Mon Aug 30 17:10:33 2021
Results reported at Mon Aug 30 17:10:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0855.9+7144_daily_bin1202 133.975 71.7419 550886401 551145601 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 :                                   755.25 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             281.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            904 sec.

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

