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


Performing analysis on: 4FGL_J1028.3+3108_daily_bin711
RA = 157.077, Dec = 31.1389
tmin = 423619201, tmax = 423878401
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='899971', job_status='RUN', time_executed='2021-09-01 23:03:26.878257', time_epoch_executed='1630562606.88' WHERE source_name='4FGL J1028.3+3108' and cadence='daily' and bin_id='711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/899971

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/899971/ft1_4FGL_J1028.3+3108_daily_bin711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/899971/ft2_4FGL_J1028.3+3108_daily_bin711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/899971/ft1_4FGL_J1028.3+3108_daily_bin711.fits outfile=/scratch/kocevski/899971/ft1_filteredMKT_4FGL_J1028.3+3108_daily_bin711.fits ra=157.077 dec=31.1389 rad=12.0 tmin=423619201.0 tmax=423878401.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 5.81
user 5.53
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/899971/ft2_4FGL_J1028.3+3108_daily_bin711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/899971/ft2_4FGL_J1028.3+3108_daily_bin711.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/899971/ft1_filteredMKT_4FGL_J1028.3+3108_daily_bin711.fits evtable="EVENTS" outfile="/scratch/kocevski/899971/ft1_filtered_4FGL_J1028.3+3108_daily_bin711.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/899971/ft1_filtered_4FGL_J1028.3+3108_daily_bin711.fits" evtable="EVENTS" scfile=/scratch/kocevski/899971/ft2_4FGL_J1028.3+3108_daily_bin711.fits sctable="SC_DATA" outfile=/scratch/kocevski/899971/ltcube_423619201_423878401_4FGL_J1028.3+3108_daily_bin711.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/899971/ft2_4FGL_J1028.3+3108_daily_bin711.fits
.....................!
real 16.85
user 16.48
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/899971/ft1_filtered_4FGL_J1028.3+3108_daily_bin711.fits evtable="EVENTS" scfile=/scratch/kocevski/899971/ft2_4FGL_J1028.3+3108_daily_bin711.fits sctable="SC_DATA" expcube=/scratch/kocevski/899971/ltcube_423619201_423878401_4FGL_J1028.3+3108_daily_bin711.fits outfile=/scratch/kocevski/899971/expmap_423619201_423878401_4FGL_J1028.3+3108_daily_bin711.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/899971/ltcube_423619201_423878401_4FGL_J1028.3+3108_daily_bin711.fits
.....................!
real 193.25
user 188.16
sys 4.18

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

Setting source of interest to:
4FGL J1028.3+3108 @ 157.077 31.1389

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/899971/ft1_filtered_4FGL_J1028.3+3108_daily_bin711.fits scfile=/scratch/kocevski/899971/ft2_4FGL_J1028.3+3108_daily_bin711.fits outfile=/scratch/kocevski/899971/cmap_423619201_423878401_4FGL_J1028.3+3108_daily_bin711.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=157.077 yref=31.1389 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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/899971/ft1_filtered_4FGL_J1028.3+3108_daily_bin711.fits scfile=/scratch/kocevski/899971/ft2_4FGL_J1028.3+3108_daily_bin711.fits outfile=/scratch/kocevski/899971/cmap_HighResolution_423619201_423878401_4FGL_J1028.3+3108_daily_bin711.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=157.077 yref=31.1389 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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/899971/ft1_filtered_4FGL_J1028.3+3108_daily_bin711.fits evtable="EVENTS" scfile=/scratch/kocevski/899971/ft2_4FGL_J1028.3+3108_daily_bin711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/899971/Model_4FGL_J1028.3+3108_daily_bin711.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/899971/ft1_filtered_4FGL_J1028.3+3108_daily_bin711.fits.....................!
real 36.06
user 34.69
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/899971/ft1_filtered_4FGL_J1028.3+3108_daily_bin711.fits', '/scratch/kocevski/899971/ft2_4FGL_J1028.3+3108_daily_bin711.fits', expMap='/scratch/kocevski/899971/expmap_423619201_423878401_4FGL_J1028.3+3108_daily_bin711.fits', expCube='/scratch/kocevski/899971/ltcube_423619201_423878401_4FGL_J1028.3+3108_daily_bin711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/899971/Model_4FGL_J1028.3+3108_daily_bin711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1028.3+3108'

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  4.572e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
266        Index:  2.234e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  1.828e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/899971/ft1_filtered_4FGL_J1028.3+3108_daily_bin711.fits
Spacecraft file(s): /scratch/kocevski/899971/ft2_4FGL_J1028.3+3108_daily_bin711.fits
Exposure map: /scratch/kocevski/899971/expmap_423619201_423878401_4FGL_J1028.3+3108_daily_bin711.fits
Exposure cube: /scratch/kocevski/899971/ltcube_423619201_423878401_4FGL_J1028.3+3108_daily_bin711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/899971/Model_4FGL_J1028.3+3108_daily_bin711.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) = 3358.64742638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12283E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .80000       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10382E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.6906       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.957       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    19.330       1.0000         .10000E-03   10000.    
    10 'Prefactor '    39.782       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.3199       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.670       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.0368       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.2665       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10358E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    21.678       1.0000         .10000E-03   10000.    
    24 'Prefactor '    56.160       1.0000         .10000E-03   10000.    
    25 'norm      '    .10081E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .76189       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1614       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+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=   3358.613     FROM MIGRAD    STATUS=CONVERGED   1154 CALLS     3804 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    90.708        .18142E-02** at limit **
   2  Prefactor     .76477        18.680        .26310E-02   -.23361E-03
   3  Prefactor     .10000E-03    3.0787        .99286E-03** at limit **
   4  Prefactor     .10000E-03    3.8775        .15957E-02** at limit **
   5  norm          4.6896        12.923        .18581E-03   -.47266E-04
   6  Prefactor     .10000E-03    3.3104        .10192E-02** at limit **
   7  Prefactor     20.889        41.065        .87493E-04    .33589E-04
   8  Prefactor     .10000E-03    2.8565        .95026E-03** at limit **
   9  norm          19.334        13.837        .91099E-04    .10345E-03
  10  Prefactor     39.651        83.885        .31775E-03    .31950E-04
  11  Prefactor     .10000E-03    22.216        .18142E-02** at limit **
  12  Prefactor     7.3208        5.7235        .11217E-03    .24360E-03
  13  Prefactor     .10000E-03    3.0800        .99057E-03** at limit **
  14  Prefactor     18.667        12.654        .92694E-04    .15944E-04
  15  Prefactor     .99152        529.27        .78295E-02    .33491E-04
  16  Prefactor     .10000E-03    .99409        .56341E-03** at limit **
  17  Prefactor     .10000E-03    9.8261        .17668E-02** at limit **
  18  Prefactor     .10000E-03    11.329        .18142E-02** at limit **
  19  Prefactor     .10000E-03    4.4164        .11893E-02** at limit **
  20  Prefactor     .10000E-03    13.745        .18142E-02** at limit **
  21  norm          1.2670        .49773        .23133E-04   -.57402E-03
  22  Prefactor     .10001E-03    6.3206        .19839E-02** at limit **
  23  Prefactor     21.671        25.693        .86027E-04    .62905E-04
  24  Prefactor     56.138        32.387        .26764E-03    .49847E-04
  25  norm          .10000E-03    6.3475        .14253E-02** at limit **
  26  Normalizat    .76197        .25805        .25214E-03   -.34696E-04
  27  Prefactor     1.1615        .29093        .24944E-03    .59210E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010001
  Prefactor  = 0.764766
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.68959
  Prefactor  = 0.000100001
  Prefactor  = 20.8894
  Prefactor  = 0.000100001
  norm       = 19.3343
  Prefactor  = 39.6512
  Prefactor  = 0.0001
  Prefactor  = 7.32079
  Prefactor  = 0.0001
  Prefactor  = 18.6667
  Prefactor  = 0.991522
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.267
  Prefactor  = 0.000100005
  Prefactor  = 21.6711
  Prefactor  = 56.1381
  norm       = 0.0001
  Normalizat = 0.761969
  Prefactor  = 1.16155
 **********
 **   18 **HESSE 
 **********

 FCN=   3358.613     FROM HESSE     STATUS=OK           464 CALLS     4268 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    90.793        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .76477        18.558        .10524E-03   -1.5533    
   3  Prefactor     .10000E-03    3.0787        .19857E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.8899        .31914E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.6896        12.912        .74323E-05   -1.5275    
   6  Prefactor     .10000E-03    3.3112        .20384E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.889        41.053        .34997E-05   -1.4794    
   8  Prefactor     .10000E-03    2.8569        .19005E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          19.334        13.811        .36440E-05   -1.4828    
  10  Prefactor     39.651        83.837        .12710E-04   -1.4448    
  11  Prefactor     .10000E-03    22.216        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.3208        5.6672        .44868E-05   -1.5167    
  13  Prefactor     .10000E-03    3.0801        .19811E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.667        12.647        .37078E-05   -1.4844    
  15  Prefactor     .99152        523.27        .31318E-03   -1.5509    
  16  Prefactor     .10000E-03    .99410        .11268E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.8291        .35335E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.329        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.4165        .23787E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.748        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.2670        .49772        .92530E-06   -1.5483    
  22  Prefactor     .10001E-03    6.3451        .39677E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     21.671        25.688        .34411E-05   -1.4777    
  24  Prefactor     56.138        32.387        .10706E-04   -1.4208    
  25  norm          .10000E-03    6.3476        .28506E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .76197        .25730        .10085E-04   -1.0150    
  27  Prefactor     1.1615        .29115        .49887E-04   -.87523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34907e-09
Minuit parameter uncertainties:
  1  0.00186761
  2  7.53678
  3  4.44078e-06
  4  3.61676e-05
  5  12.9201
  6  0.000137744
  7  41.1087
  8  7.8052e-05
  9  13.8134
  10  84.0874
  11  5.08929e-05
  12  5.66759
  13  2.93843e-05
  14  12.6485
  15  45.9628
  16  1.31673e-06
  17  5.69762e-05
  18  4.56806e-05
  19  4.80972e-06
  20  8.59469e-06
  21  0.497722
  22  0.000362448
  23  25.701
  24  32.3972
  25  3.03639e-06
  26  0.257707
  27  0.291555
Done.

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

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  3.965e+01  8.409e+01  1.000e-04  1.000e+04 ( 1.000e-14)
266        Index:  2.234e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  1.828e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.162e+00  2.916e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  7.620e-01  2.577e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.27
Ra Dec: 157.077 31.139
Photon Flux Upper Limit: 1.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/899971/likelihoodResults_423619201_423878401_4FGL_J1028.3+3108_daily_bin711.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) = 3358.5276688
delta logL = 0.084848476949

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3358.52225534
delta logL = 0.0902619400913

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3358.522     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      278 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.329        871.40        .24053E-02    .27832E-03
   2  Index         2.8228        3.4616        .15095        .34891E-04
   3  Normalizat    .74278        .57166E-01    .42870E-01   -.25986E-03
   4  Prefactor     1.1755        .65626E-01    .56118E-01   -.23230E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.329
  Index      = 2.82277
  Normalizat = 0.74278
  Prefactor  = 1.1755
 **********
 **   18 **HESSE 
 **********

 FCN=   3358.522     FROM HESSE     STATUS=OK            27 CALLS      305 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.329        190.00        .96213E-04   -1.4875    
   2  Index         2.8228        2.6526        .53711E-02   -.45053    
   3  Normalizat    .74278        .24904        .25513E-03   -1.0223    
   4  Prefactor     1.1755        .29485        .24813E-03   -.87089    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.32425e-09
Minuit parameter uncertainties:
  1  115.23
  2  2.83664
  3  0.249425
  4  0.295262
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/899971': 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) = 3358.52224853
delta logL = 0.0902687481284

Extracting fit parameters...

4FGL J1028.3+3108
   Spectrum: PowerLaw
265    Prefactor:  1.733e+01  1.152e+02  1.000e-04  1.000e+04 ( 1.000e-14)
266        Index:  2.823e+00  2.837e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  1.828e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.176e+00  2.953e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  7.428e-01  2.494e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.27
Ra Dec: 157.077 31.139

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/899971/cmap_HighResolution_423619201_423878401_4FGL_J1028.3+3108_daily_bin711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.62e-03', job_status='DONE', photon_flux_upper_limit='1.26e-07', time_completed='2021-09-01 23:13:40.174259', job_id='899971', GAL2='1.18', fit_tolerance='1e-08', EG2='0.74', EG='0.76', time_epoch_completed='1630563220.17', return_code2='0', ts='0.27', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='9.03e-02', ts2='0.45', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='711' AND source_name='4FGL J1028.3+3108' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 23:13:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 899971: <4FGL_J1028.3+3108_daily_bin711> in cluster <slac> Done

Job <4FGL_J1028.3+3108_daily_bin711> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 23:00:44 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 23:03:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 23:03:10 2021
Terminated at Wed Sep  1 23:13:40 2021
Results reported at Wed Sep  1 23:13:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1028.3+3108_daily_bin711 157.077 31.1389 423619201 423878401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1028.3+3108 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   608.35 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             309.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            776 sec.

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

