/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 109 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 = 7009
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1228.7+4858_daily_bin43
RA = 187.179, Dec = 48.9827
tmin = 250473601, tmax = 250732801
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='692754', job_status='RUN', time_executed='2021-09-05 18:07:27.153205', time_epoch_executed='1630890447.15' WHERE source_name='4FGL J1228.7+4858' and cadence='daily' and bin_id='43'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/692754

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

Retrieving the FT1 file...

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

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

Retrieving 42 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/692754/ft1_4FGL_J1228.7+4858_daily_bin43.fits


Retrieving the FT1 file...

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

Retrieving 44 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/692754/ft2_4FGL_J1228.7+4858_daily_bin43.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/692754/ft1_4FGL_J1228.7+4858_daily_bin43.fits outfile=/scratch/kocevski/692754/ft1_filteredMKT_4FGL_J1228.7+4858_daily_bin43.fits ra=187.179 dec=48.9827 rad=12.0 tmin=250473601.0 tmax=250732801.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 1.33
user 1.16
sys 0.16

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/692754/ft2_4FGL_J1228.7+4858_daily_bin43.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/692754/ft2_4FGL_J1228.7+4858_daily_bin43.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/692754/ft1_filteredMKT_4FGL_J1228.7+4858_daily_bin43.fits evtable="EVENTS" outfile="/scratch/kocevski/692754/ft1_filtered_4FGL_J1228.7+4858_daily_bin43.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.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/692754/ft1_filtered_4FGL_J1228.7+4858_daily_bin43.fits" evtable="EVENTS" scfile=/scratch/kocevski/692754/ft2_4FGL_J1228.7+4858_daily_bin43.fits sctable="SC_DATA" outfile=/scratch/kocevski/692754/ltcube_250473601_250732801_4FGL_J1228.7+4858_daily_bin43.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/692754/ft2_4FGL_J1228.7+4858_daily_bin43.fits
.....................!
real 12.48
user 12.16
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/692754/ft1_filtered_4FGL_J1228.7+4858_daily_bin43.fits evtable="EVENTS" scfile=/scratch/kocevski/692754/ft2_4FGL_J1228.7+4858_daily_bin43.fits sctable="SC_DATA" expcube=/scratch/kocevski/692754/ltcube_250473601_250732801_4FGL_J1228.7+4858_daily_bin43.fits outfile=/scratch/kocevski/692754/expmap_250473601_250732801_4FGL_J1228.7+4858_daily_bin43.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/692754/ltcube_250473601_250732801_4FGL_J1228.7+4858_daily_bin43.fits
.....................!
real 190.73
user 186.43
sys 3.86

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

Setting source of interest to:
4FGL J1228.7+4858 @ 187.179 48.9827

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/692754/ft1_filtered_4FGL_J1228.7+4858_daily_bin43.fits scfile=/scratch/kocevski/692754/ft2_4FGL_J1228.7+4858_daily_bin43.fits outfile=/scratch/kocevski/692754/cmap_250473601_250732801_4FGL_J1228.7+4858_daily_bin43.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=187.179 yref=48.9827 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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/692754/ft1_filtered_4FGL_J1228.7+4858_daily_bin43.fits scfile=/scratch/kocevski/692754/ft2_4FGL_J1228.7+4858_daily_bin43.fits outfile=/scratch/kocevski/692754/cmap_HighResolution_250473601_250732801_4FGL_J1228.7+4858_daily_bin43.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=187.179 yref=48.9827 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/692754/ft1_filtered_4FGL_J1228.7+4858_daily_bin43.fits evtable="EVENTS" scfile=/scratch/kocevski/692754/ft2_4FGL_J1228.7+4858_daily_bin43.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/692754/Model_4FGL_J1228.7+4858_daily_bin43.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/692754/ft1_filtered_4FGL_J1228.7+4858_daily_bin43.fits.....................!
real 51.59
user 50.34
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/692754/ft1_filtered_4FGL_J1228.7+4858_daily_bin43.fits', '/scratch/kocevski/692754/ft2_4FGL_J1228.7+4858_daily_bin43.fits', expMap='/scratch/kocevski/692754/expmap_250473601_250732801_4FGL_J1228.7+4858_daily_bin43.fits', expCube='/scratch/kocevski/692754/ltcube_250473601_250732801_4FGL_J1228.7+4858_daily_bin43.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/692754/Model_4FGL_J1228.7+4858_daily_bin43.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1228.7+4858'

4FGL J1228.7+4858
   Spectrum: PowerLaw
359    Prefactor:  7.350e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
360        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
361        Scale:  8.802e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/692754/ft1_filtered_4FGL_J1228.7+4858_daily_bin43.fits
Spacecraft file(s): /scratch/kocevski/692754/ft2_4FGL_J1228.7+4858_daily_bin43.fits
Exposure map: /scratch/kocevski/692754/expmap_250473601_250732801_4FGL_J1228.7+4858_daily_bin43.fits
Exposure cube: /scratch/kocevski/692754/ltcube_250473601_250732801_4FGL_J1228.7+4858_daily_bin43.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/692754/Model_4FGL_J1228.7+4858_daily_bin43.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) = 5779.9854472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.2270       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.8673       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.9847       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.234       1.0000         .10000E-03   10000.    
     7 'norm      '    2.0326       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.5622       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.8416       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10085E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    1.0658       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.9886       1.0000         .10000E-03   10000.    
    17 'norm      '    .29196E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    43.527       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.7859       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11134E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    7.7624       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .94937       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95070       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5779.966     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2556 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    14.106       -.39180E-08** at limit **
   2  norm          1.2271        1.0517       -.10521E-07   -.26591E-04
   3  norm          .10000E-03    2.9352       -.44658E-10** at limit **
   4  Prefactor     3.8679        3.9891        .10887E-06   -.20617E-04
   5  Prefactor     4.9838        37.146        .24495E-05   -.19930E-05
   6  Prefactor     11.229        19.594        .17433E-06   -.19636E-04
   7  norm          2.0325        1.9070        .70964E-07   -.33178E-04
   8  norm          .10000E-03    4.1598       -.26938E-06** at limit **
   9  Prefactor     6.5598        16.787        .39409E-06   -.90033E-04
  10  Prefactor     .10000E-03    3.2783       -.51470E-07** at limit **
  11  norm          1.8415        1.6735        .28300E-07   -.17995E-05
  12  Prefactor     .10029E-03    12.696        .24263E-05** at limit **
  13  norm          1.0659        1.6503       -.54100E-08   -.30611E-03
  14  Prefactor     .10000E-03    93.015        .13240E-06** at limit **
  15  Prefactor     .10000E-03    3.3108       -.25633E-07** at limit **
  16  norm          2.9884        9.3968        .44144E-05   -.29407E-04
  17  norm          .10000E-03    3.6338        .24493E-05** at limit **
  18  Prefactor     43.572        35.806       -.17890E-05   -.64413E-04
  19  Prefactor     9.7847        17.159        .88927E-07   -.85509E-04
  20  Prefactor     .10000E-03    18.644        .14016E-05** at limit **
  21  norm          7.7625        4.9832        .27853E-07   -.27363E-03
  22  Normalizat    .94945        .15800       -.59032E-06   -.56367E-03
  23  Prefactor     .95062        .19080       -.20729E-06   -.38201E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.22709
  norm       = 0.0001
  Prefactor  = 3.86787
  Prefactor  = 4.98379
  Prefactor  = 11.229
  norm       = 2.03255
  norm       = 0.0001
  Prefactor  = 6.55982
  Prefactor  = 0.0001
  norm       = 1.8415
  Prefactor  = 0.000100294
  norm       = 1.06586
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.98837
  norm       = 0.0001
  Prefactor  = 43.5715
  Prefactor  = 9.78465
  Prefactor  = 0.000100001
  norm       = 7.76253
  Normalizat = 0.94945
  Prefactor  = 0.950621
 **********
 **   18 **HESSE 
 **********

 FCN=   5779.966     FROM HESSE     STATUS=OK           376 CALLS     2932 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2271        1.0441        .68239E-04   -1.5486    
   3  norm          .10000E-03    2.9361        .12718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.8679        3.9610        .13612E-03   -1.5315    
   5  Prefactor     4.9838        37.216        .90061E-03   -1.5261    
   6  Prefactor     11.229        19.484        .11953E-03   -1.5038    
   7  norm          2.0325        1.8977        .97147E-04   -1.5423    
   8  norm          .10000E-03    4.1960        .15100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.5598        16.734        .15666E-03   -1.5196    
  10  Prefactor     .10000E-03    3.3473        .13430E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.8415        1.6779        .90994E-04   -1.5437    
  12  Prefactor     .10029E-03    120.41        .48275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.0659        1.4398        .11766E-02   -1.5501    
  14  Prefactor     .10000E-03    93.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.3190        .13508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.9884        9.8371        .11741E-02   -1.5362    
  17  norm          .10000E-03    6.3837        .25091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     43.572        36.483        .60766E-04   -1.4387    
  19  Prefactor     9.7847        17.142        .12810E-03   -1.5082    
  20  Prefactor     .10000E-03    18.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          7.7625        4.9738        .12014E-03   -1.5151    
  22  Normalizat    .94945        .18411        .21825E-03   -.94744    
  23  Prefactor     .95062        .22207        .27029E-03   -.94394    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54643e-09
Minuit parameter uncertainties:
  1  1.11291e-06
  2  1.04413
  3  5.2266e-07
  4  3.96128
  5  27.2616
  6  19.4953
  7  1.89775
  8  2.78484e-05
  9  16.7464
  10  3.30404e-06
  11  1.67796
  12  0.0119336
  13  1.43984
  14  0.000423015
  15  1.85657e-06
  16  9.8424
  17  7.51363e-06
  18  36.5019
  19  17.1506
  20  0.000312139
  21  4.97406
  22  0.184232
  23  0.22228
Done.

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

Extracting fit parameters...

4FGL J1228.7+4858
   Spectrum: PowerLaw
359    Prefactor:  6.560e+00  1.675e+01  1.000e-04  1.000e+04 ( 1.000e-13)
360        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
361        Scale:  8.802e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.506e-01  2.223e-01  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
686   Normalization:  9.494e-01  1.842e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.18
Ra Dec: 187.179 48.983
Photon Flux Upper Limit: 8.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/692754/likelihoodResults_250473601_250732801_4FGL_J1228.7+4858_daily_bin43.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) = 5779.88116199
delta logL = 0.0849998866979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5779.86156667
delta logL = 0.104595204901

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0356       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2543       1.0000          .0000       10.000    
     3 'Normalizat'    .93706       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95944       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6900E+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=   5779.862     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      244 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0347        15.765        .20073E-03   -.36836E-03
   2  Index         3.2545        2.1039        .91394E-02   -.10241E-03
   3  Normalizat    .93708        .18108        .21952E-03   -.36417E-03
   4  Prefactor     .95942        .22157        .26917E-03   -.22418E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.03471
  Index      = 3.2545
  Normalizat = 0.937079
  Prefactor  = 0.959424
 **********
 **   18 **HESSE 
 **********

 FCN=   5779.862     FROM HESSE     STATUS=OK            25 CALLS      269 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0347        11.711        .80292E-05   -1.5306    
   2  Index         3.2545        1.5860        .36558E-03   -.35661    
   3  Normalizat    .93708        .18117        .43903E-04   -.95169    
   4  Prefactor     .95942        .22153        .53834E-04   -.94095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.66206e-10
Minuit parameter uncertainties:
  1  11.7174
  2  1.61796
  3  0.181292
  4  0.221737
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/692754': 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) = 5779.86156665
delta logL = 0.104595229571

Extracting fit parameters...

4FGL J1228.7+4858
   Spectrum: PowerLaw
359    Prefactor:  4.035e+00  1.172e+01  1.000e-04  1.000e+04 ( 1.000e-13)
360        Index:  3.255e+00  1.618e+00  0.000e+00  1.000e+01 (-1.000e+00)
361        Scale:  8.802e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.594e-01  2.217e-01  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
686   Normalization:  9.371e-01  1.813e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.18
Ra Dec: 187.179 48.983

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/692754/cmap_HighResolution_250473601_250732801_4FGL_J1228.7+4858_daily_bin43.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.15e-08', time_completed='2021-09-05 18:19:04.997406', job_id='692754', GAL2='0.96', fit_tolerance='1e-08', EG2='0.94', EG='0.95', time_epoch_completed='1630891145.0', return_code2='0', ts='0.18', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.05e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='43' AND source_name='4FGL J1228.7+4858' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 18:19:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 692754: <4FGL_J1228.7+4858_daily_bin43> in cluster <slac> Done

Job <4FGL_J1228.7+4858_daily_bin43> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep  5 18:05:25 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 18:05:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 18:05:28 2021
Terminated at Sun Sep  5 18:19:05 2021
Results reported at Sun Sep  5 18:19:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1228.7+4858_daily_bin43 187.179 48.9827 250473601 250732801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1228.7+4858 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   696.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             270.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            820 sec.

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

