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


Performing analysis on: 4FGL_J0855.9+7144_monthly_bin118
RA = 133.975, Dec = 71.7419
tmin = 542851201, tmax = 545443201
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='565231', job_status='RUN', time_executed='2021-10-20 07:14:05.542534', time_epoch_executed='1634739245.54' WHERE source_name='4FGL J0855.9+7144' and cadence='monthly' and bin_id='118'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/565231

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

Retrieving the FT1 file...

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

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

Retrieving 176 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/565231/ft1_4FGL_J0855.9+7144_monthly_bin118.fits


Retrieving the FT1 file...

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

Retrieving 178 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/565231/ft2_4FGL_J0855.9+7144_monthly_bin118.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/565231/ft1_4FGL_J0855.9+7144_monthly_bin118.fits outfile=/scratch/kocevski/565231/ft1_filteredMKT_4FGL_J0855.9+7144_monthly_bin118.fits ra=133.975 dec=71.7419 rad=12.0 tmin=542851201.0 tmax=545443201.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 18.51
user 17.90
sys 0.46

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/565231/ft2_4FGL_J0855.9+7144_monthly_bin118.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/565231/ft1_filteredMKT_4FGL_J0855.9+7144_monthly_bin118.fits evtable="EVENTS" outfile="/scratch/kocevski/565231/ft1_filtered_4FGL_J0855.9+7144_monthly_bin118.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.60
user 0.43
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/565231/ft1_filtered_4FGL_J0855.9+7144_monthly_bin118.fits" evtable="EVENTS" scfile=/scratch/kocevski/565231/ft2_4FGL_J0855.9+7144_monthly_bin118.fits sctable="SC_DATA" outfile=/scratch/kocevski/565231/ltcube_542851201_545443201_4FGL_J0855.9+7144_monthly_bin118.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/565231/ft2_4FGL_J0855.9+7144_monthly_bin118.fits
.....................!
real 45.51
user 45.01
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/565231/ft1_filtered_4FGL_J0855.9+7144_monthly_bin118.fits evtable="EVENTS" scfile=/scratch/kocevski/565231/ft2_4FGL_J0855.9+7144_monthly_bin118.fits sctable="SC_DATA" expcube=/scratch/kocevski/565231/ltcube_542851201_545443201_4FGL_J0855.9+7144_monthly_bin118.fits outfile=/scratch/kocevski/565231/expmap_542851201_545443201_4FGL_J0855.9+7144_monthly_bin118.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/565231/ltcube_542851201_545443201_4FGL_J0855.9+7144_monthly_bin118.fits
.....................!
real 191.50
user 185.87
sys 4.67

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
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/565231/ft1_filtered_4FGL_J0855.9+7144_monthly_bin118.fits scfile=/scratch/kocevski/565231/ft2_4FGL_J0855.9+7144_monthly_bin118.fits outfile=/scratch/kocevski/565231/cmap_542851201_545443201_4FGL_J0855.9+7144_monthly_bin118.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 0.62
user 0.44
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/565231/ft1_filtered_4FGL_J0855.9+7144_monthly_bin118.fits scfile=/scratch/kocevski/565231/ft2_4FGL_J0855.9+7144_monthly_bin118.fits outfile=/scratch/kocevski/565231/cmap_HighResolution_542851201_545443201_4FGL_J0855.9+7144_monthly_bin118.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 0.62
user 0.46
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69234E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13119E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .16479E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    9.6196       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .65874       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .22774E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    .79041E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    45.961       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .40781E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    15.117       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.5450       1.0000         .10000E-03   10000.    
    13 'norm      '    14.471       1.0000         .10000E-03   10000.    
    14 'Prefactor '    222.36       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .57140E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .14161E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.4968       1.0000         .10000E-03   10000.    
    18 'Prefactor '    30.330       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .67456E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .61678E-02   1.0000         .10000E-03   10000.    
    21 'norm      '    .10319E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .35367E-01   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .78644E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .38300       1.0000         .10000E-03   10000.    
    25 'Prefactor '    203.25       1.0000         .10000E-03   10000.    
    26 'norm      '    4.8810       1.0000         .10000E-03   10000.    
    27 'Prefactor '    4404.4       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .18072E-02   1.0000         .10000E-03   10000.    
    29 'norm      '    5.5969       1.0000         .10000E-03   10000.    
    30 'norm      '    .71049E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .45199E-02   1.0000         .10000E-03   10000.    
    32 'Prefactor '    7.1056       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.7118       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .18440       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   653.3865     FROM MIGRAD    STATUS=CONVERGED    341 CALLS     4073 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    43.655        .90008E-06** at limit **
   2  Prefactor     .10000E-03    38.342        .10618E-05** at limit **
   3  norm          .10000E-03    69.911       -.22352E-06** at limit **
   4  norm          9.6077        4.0895       -.37818E-07   -.57605E-04
   5  Prefactor     .11223E-03    226.56        .22331E-05** at limit **
   6  Prefactor     .10000E-03    49.802       -.18737E-06** at limit **
   7  norm          .10000E-03    50.049        .65405E-07** at limit **
   8  Prefactor     39.580        240.93       -.10147E-04   -.18519E-03
   9  Prefactor     .10000E-03    62.218        .99567E-08** at limit **
  10  norm          14.786        20.899        .68083E-06   -.11404E-02
  11  Prefactor     .10000E-03    9.3897       -.12183E-06** at limit **
  12  Prefactor     6.8733        13.311       -.24114E-06    .71861E-04
  13  norm          14.406        12.342       -.16017E-06   -.30668E-04
  14  Prefactor     222.77        51.446        .73308E-06   -.12915E-01
  15  Prefactor     .10044E-03    107.92       -.29549E-05** at limit **
  16  Prefactor     .10000E-03    35.839        .97138E-06** at limit **
  17  norm          1.4359        5.5860        .53797E-07    .25175E-04
  18  Prefactor     33.101        91.328        .24747E-05    .12926E-03
  19  Prefactor     .10000E-03    67.254       -.10985E-05** at limit **
  20  Prefactor     .10062E-03    183.65       -.54134E-05** at limit **
  21  norm          .10000E-03    7.6296        .87730E-07** at limit **
  22  norm          .13445E-03    69.298        .13696E-05** at limit **
  23  Prefactor     .10171E-03    136.63       -.79430E-05** at limit **
  24  Prefactor     .13295E-03    138.53        .59624E-05** at limit **
  25  Prefactor     184.99        366.76       -.52499E-05   -.48636E-02
  26  norm          4.7434        64.700        .31492E-05    .74017E-04
  27  Prefactor     4408.3        97.841        .22464E-06   -.81492E-01
  28  Prefactor     .10075E-03    118.59       -.18893E-06** at limit **
  29  norm          6.0389        7.6975        .11045E-05    .21954E-03
  30  norm          .10000E-03    47.563       -.13095E-05** at limit **
  31  Prefactor     .10000E-03    84.900       -.39381E-06** at limit **
  32  Prefactor     .10000E-03    871.98       -.11636E-04** at limit **
  33  Normalizat    1.7269        .94654        .31575E-05    .14213E-04
  34  Prefactor     .17985        .52844       -.60020E-05    .16430E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.60773
  Prefactor  = 0.000112233
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 39.5804
  Prefactor  = 0.0001
  norm       = 14.7859
  Prefactor  = 0.0001
  Prefactor  = 6.87328
  norm       = 14.4064
  Prefactor  = 222.766
  Prefactor  = 0.000100443
  Prefactor  = 0.0001
  norm       = 1.43594
  Prefactor  = 33.101
  Prefactor  = 0.0001
  Prefactor  = 0.00010062
  norm       = 0.0001
  norm       = 0.000134453
  Prefactor  = 0.000101707
  Prefactor  = 0.000132946
  Prefactor  = 184.99
  norm       = 4.74345
  Prefactor  = 4408.29
  Prefactor  = 0.000100752
  norm       = 6.0389
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100003
  Normalizat = 1.72693
  Prefactor  = 0.17985
 **********
 **   18 **HESSE 
 **********

 FCN=   653.3865     FROM HESSE     STATUS=OK           788 CALLS     4861 TOTAL
                     EDM=   .37E-02    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    43.613        .10493E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    38.389        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    69.854        .10198E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          9.6077        4.0900        .32301E-02   -1.5088    
   5  Prefactor     .11223E-03    254.73        .11903E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    49.838        .10054E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    50.055        .10455E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     39.580        254.15        .14785E-02   -1.4449    
   9  Prefactor     .10000E-03    62.179        .97352E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          14.786        21.204        .25753E-02   -1.4939    
  11  Prefactor     .10000E-03    9.3855        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.8733        13.700        .39217E-02   -1.5184    
  13  norm          14.406        12.279        .26322E-02   -1.4949    
  14  Prefactor     222.77        219.85        .67820E-03   -1.2712    
  15  Prefactor     .10044E-03    108.99        .93049E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    35.853        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4359        5.6577        .87540E-02   -1.5468    
  18  Prefactor     33.101        90.708        .18188E-02   -1.4557    
  19  Prefactor     .10000E-03    67.383        .93549E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10062E-03    184.62        .94491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    7.5747        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .13445E-03    138.58        .91984E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10171E-03    140.95        .94089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .13295E-03    211.29        .10783E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     184.99        369.42        .70868E-03   -1.2979    
  26  norm          4.7434        65.910        .45517E-02   -1.5272    
  27  Prefactor     4408.3        3359.1        .20143E-03   -.11862    
  28  Prefactor     .10075E-03    121.71        .10159E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          6.0389        7.8114        .42453E-02   -1.5216    
  30  norm          .10000E-03    47.589        .10486E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    85.071        .96692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    895.46        .37622E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.7269        .94555        .62082E-01   -.71587    
  34  Prefactor     .17985        .56449        .10922       -1.3018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.00367765
Minuit parameter uncertainties:
  1  0.000111865
  2  0.000116932
  3  0.00012757
  4  4.09008
  5  0.112126
  6  3.05792e-05
  7  4.52109e-06
  8  201.859
  9  3.33729e-05
  10  21.2148
  11  5.92565e-06
  12  13.7066
  13  12.2811
  14  220.671
  15  0.0139299
  16  0.000112991
  17  5.65976
  18  91.0895
  19  0.000184774
  20  0.0214715
  21  4.01831e-06
  22  0.138516
  23  0.0310995
  24  0.167461
  25  374.212
  26  35.4103
  27  3689.35
  28  0.0191703
  29  7.81274
  30  0.000157703
  31  0.000805863
  32  0.00348462
  33  0.955759
  34  0.58301
Done.

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

Extracting fit parameters...

4FGL J0855.9+7144
   Spectrum: PowerLaw
329    Prefactor:  1.004e-04  1.393e-02  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.798e-01  5.830e-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.727e+00  9.558e-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: 5.85e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.58e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/565231/likelihoodResults_542851201_545443201_4FGL_J0855.9+7144_monthly_bin118.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) = 653.386542873
delta logL = -4.29656579399e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 653.386500206
delta logL = -2.98606323668e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11185E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9843       1.0000          .0000       10.000    
     3 'Normalizat'    1.7269       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .17987       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=   653.3865     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      280 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10396E-03    61.627        .18142E-01** at limit **
   2  Index         2.8879        6.8465        .50000        .34176E-05
   3  Normalizat    1.7269        .15953E-01    .27450E-03    .22921E-04
   4  Prefactor     .17985        .98948E-02    .48371E-03    .14366E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103963
  Index      = 2.88791
  Normalizat = 1.72693
  Prefactor  = 0.179851
 **********
 **   18 **HESSE 
 **********

 FCN=   653.3865     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      309 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10396E-03    512.02        .22776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8879        8.3681        .50000       -.43611    
   3  Normalizat    1.7269        .46508E-01    .54901E-04   -.71587    
   4  Prefactor     .17985        .28845E-01    .19348E-04   -1.3018    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.83204e-10
Minuit parameter uncertainties:
  1  0.090881
  2  733.035
  3  0.0465096
  4  0.0288475
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/565231': 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) = 653.386500071
delta logL = -1.63507024808e-07

Extracting fit parameters...

4FGL J0855.9+7144
   Spectrum: PowerLaw
329    Prefactor:  1.040e-04  9.088e-02  1.000e-04  1.000e+04 ( 1.000e-13)
330        Index:  2.888e+00  7.330e+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.799e-01  2.885e-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.727e+00  4.651e-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/565231/cmap_HighResolution_542851201_545443201_4FGL_J0855.9+7144_monthly_bin118.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.58e-02', job_status='DONE', photon_flux_upper_limit='5.85e-07', time_completed='2021-10-20 07:24:08.356524', job_id='565231', GAL2='0.18', fit_tolerance='1e-08', EG2='1.73', EG='1.73', time_epoch_completed='1634739848.36', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.18', dlogl='-1.64e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='118' AND source_name='4FGL J0855.9+7144' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Wed Oct 20 07:24:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 565231: <4FGL_J0855.9+7144_monthly_bin118> in cluster <slac> Done

Job <4FGL_J0855.9+7144_monthly_bin118> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Oct 20 07:10:12 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 20 07:10:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 20 07:10:42 2021
Terminated at Wed Oct 20 07:24:09 2021
Results reported at Wed Oct 20 07:24:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0855.9+7144_monthly_bin118 133.975 71.7419 542851201 545443201 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 :                                   566.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             251.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            837 sec.

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

