/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 173 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 = 7683
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1028.4-0234_daily_bin378
RA = 157.121, Dec = -2.5829
tmin = 337305601, tmax = 337564801
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='906064', job_status='RUN', time_executed='2021-09-01 23:27:31.952314', time_epoch_executed='1630564051.95' WHERE source_name='4FGL J1028.4-0234' and cadence='daily' and bin_id='378'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906064

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906064/ft1_4FGL_J1028.4-0234_daily_bin378.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906064/ft2_4FGL_J1028.4-0234_daily_bin378.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906064/ft1_4FGL_J1028.4-0234_daily_bin378.fits outfile=/scratch/kocevski/906064/ft1_filteredMKT_4FGL_J1028.4-0234_daily_bin378.fits ra=157.121 dec=-2.5829 rad=12.0 tmin=337305601.0 tmax=337564801.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 6.00
user 5.67
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/906064/ft2_4FGL_J1028.4-0234_daily_bin378.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/906064/ft2_4FGL_J1028.4-0234_daily_bin378.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/906064/ft1_filteredMKT_4FGL_J1028.4-0234_daily_bin378.fits evtable="EVENTS" outfile="/scratch/kocevski/906064/ft1_filtered_4FGL_J1028.4-0234_daily_bin378.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.42
user 0.28
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906064/ft1_filtered_4FGL_J1028.4-0234_daily_bin378.fits" evtable="EVENTS" scfile=/scratch/kocevski/906064/ft2_4FGL_J1028.4-0234_daily_bin378.fits sctable="SC_DATA" outfile=/scratch/kocevski/906064/ltcube_337305601_337564801_4FGL_J1028.4-0234_daily_bin378.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/906064/ft2_4FGL_J1028.4-0234_daily_bin378.fits
.....................!
real 10.32
user 10.00
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906064/ft1_filtered_4FGL_J1028.4-0234_daily_bin378.fits evtable="EVENTS" scfile=/scratch/kocevski/906064/ft2_4FGL_J1028.4-0234_daily_bin378.fits sctable="SC_DATA" expcube=/scratch/kocevski/906064/ltcube_337305601_337564801_4FGL_J1028.4-0234_daily_bin378.fits outfile=/scratch/kocevski/906064/expmap_337305601_337564801_4FGL_J1028.4-0234_daily_bin378.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/906064/ltcube_337305601_337564801_4FGL_J1028.4-0234_daily_bin378.fits
.....................!
real 155.90
user 152.29
sys 3.31

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

Setting source of interest to:
4FGL J1028.4-0234 @ 157.121 -2.5829

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/906064/ft1_filtered_4FGL_J1028.4-0234_daily_bin378.fits scfile=/scratch/kocevski/906064/ft2_4FGL_J1028.4-0234_daily_bin378.fits outfile=/scratch/kocevski/906064/cmap_337305601_337564801_4FGL_J1028.4-0234_daily_bin378.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.121 yref=-2.5829 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.47
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906064/ft1_filtered_4FGL_J1028.4-0234_daily_bin378.fits scfile=/scratch/kocevski/906064/ft2_4FGL_J1028.4-0234_daily_bin378.fits outfile=/scratch/kocevski/906064/cmap_HighResolution_337305601_337564801_4FGL_J1028.4-0234_daily_bin378.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.121 yref=-2.5829 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.47
user 0.32
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/906064/ft1_filtered_4FGL_J1028.4-0234_daily_bin378.fits evtable="EVENTS" scfile=/scratch/kocevski/906064/ft2_4FGL_J1028.4-0234_daily_bin378.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/906064/Model_4FGL_J1028.4-0234_daily_bin378.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/906064/ft1_filtered_4FGL_J1028.4-0234_daily_bin378.fits....................!
real 68.39
user 67.24
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/906064/ft1_filtered_4FGL_J1028.4-0234_daily_bin378.fits', '/scratch/kocevski/906064/ft2_4FGL_J1028.4-0234_daily_bin378.fits', expMap='/scratch/kocevski/906064/expmap_337305601_337564801_4FGL_J1028.4-0234_daily_bin378.fits', expCube='/scratch/kocevski/906064/ltcube_337305601_337564801_4FGL_J1028.4-0234_daily_bin378.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/906064/Model_4FGL_J1028.4-0234_daily_bin378.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1028.4-0234'

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  1.582e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/906064/ft1_filtered_4FGL_J1028.4-0234_daily_bin378.fits
Spacecraft file(s): /scratch/kocevski/906064/ft2_4FGL_J1028.4-0234_daily_bin378.fits
Exposure map: /scratch/kocevski/906064/expmap_337305601_337564801_4FGL_J1028.4-0234_daily_bin378.fits
Exposure cube: /scratch/kocevski/906064/ltcube_337305601_337564801_4FGL_J1028.4-0234_daily_bin378.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/906064/Model_4FGL_J1028.4-0234_daily_bin378.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) = 8893.31964404

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0334       1.0000         .10000E-03   10000.    
     2 'norm      '    .38047       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.364       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.009       1.0000         .10000E-03   10000.    
     5 'Prefactor '    48.311       1.0000         .10000E-03   10000.    
     6 'norm      '    2.7886       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10309E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    120.81       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10585E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.2858       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.8932       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.8919       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.788       1.0000         .10000E-03   10000.    
    15 'norm      '    3.6089       1.0000         .10000E-03   10000.    
    16 'norm      '    5.0755       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1720       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0152       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8893.262     FROM MIGRAD    STATUS=CONVERGED    363 CALLS     1874 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0338        .52295       -.27247E-07   -.14901E-02
   2  norm          .37983        .95719       -.42725E-06   -.28067E-02
   3  Prefactor     12.365        11.578        .20290E-05   -.60910E-04
   4  Prefactor     10.025        26.483        .41526E-04   -.27845E-04
   5  Prefactor     48.318        35.683        .91288E-05   -.82404E-04
   6  norm          2.7883        10.731       -.14508E-05   -.19497E-03
   7  Prefactor     .10000E-03    2.4592        .10016E-06** at limit **
   8  Prefactor     120.81        54.166        .55526E-06   -.21599E-04
   9  Prefactor     .10000E-03    12.796        .18985E-06** at limit **
  10  Prefactor     .10000E-03    4.6263        .38909E-08** at limit **
  11  norm          1.2863        1.1060       -.21388E-06   -.40680E-03
  12  Prefactor     1.8945        3.1873        .10846E-05   -.78689E-03
  13  Prefactor     4.8942        2.7226        .19981E-06   -.33596E-03
  14  Prefactor     13.792        6.6286       -.45272E-06   -.10835E-03
  15  norm          3.6093        .68124        .87397E-07   -.33936E-03
  16  norm          5.0775        6.1840       -.34917E-06   -.19526E-03
  17  Prefactor     .10000E-03    2.7284       -.52598E-07** at limit **
  18  Normalizat    1.1705        .18576       -.45913E-05    .10335E-03
  19  Prefactor     1.0162        .13749        .36242E-08   -.26161E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.03384
  norm       = 0.379833
  Prefactor  = 12.3653
  Prefactor  = 10.0255
  Prefactor  = 48.3183
  norm       = 2.78833
  Prefactor  = 0.0001
  Prefactor  = 120.813
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.28626
  Prefactor  = 1.89451
  Prefactor  = 4.89415
  Prefactor  = 13.7917
  norm       = 3.60932
  norm       = 5.0775
  Prefactor  = 0.0001
  Normalizat = 1.1705
  Prefactor  = 1.01624
 **********
 **   18 **HESSE 
 **********

 FCN=   8893.262     FROM HESSE     STATUS=OK           274 CALLS     2148 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0338        .51455        .46629E-04   -1.5505    
   2  norm          .37983        .80212        .14332E-02   -1.5585    
   3  Prefactor     12.365        11.526        .11392E-03   -1.5005    
   4  Prefactor     10.025        26.331        .12665E-03   -1.5075    
   5  Prefactor     48.318        35.708        .57692E-04   -1.4317    
   6  norm          2.7883        10.646        .24366E-03   -1.5374    
   7  Prefactor     .10000E-03    2.4636        .14440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     120.81        54.269        .36614E-04   -1.3505    
   9  Prefactor     .10000E-03    12.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.6310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.2863        1.1060        .39096E-04   -1.5481    
  12  Prefactor     1.8945        3.1536        .21043E-03   -1.5433    
  13  Prefactor     4.8942        2.7216        .11090E-03   -1.5265    
  14  Prefactor     13.792        6.6326        .10787E-03   -1.4965    
  15  norm          3.6093        .68143        .32349E-04   -1.5328    
  16  norm          5.0775        6.1821        .17847E-03   -1.5257    
  17  Prefactor     .10000E-03    2.7358        .15202E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1705        .21795        .28960E-03   -.87519    
  19  Prefactor     1.0162        .16149        .23975E-03   -.92190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12984e-09
Minuit parameter uncertainties:
  1  0.514547
  2  0.802141
  3  11.5285
  4  26.3617
  5  35.7233
  6  10.6529
  7  1.00786e-06
  8  54.2914
  9  5.7819e-06
  10  4.45043e-06
  11  1.10605
  12  3.15386
  13  2.72163
  14  6.63295
  15  0.681427
  16  6.18287
  17  6.12884e-06
  18  0.218115
  19  0.161568
Done.

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

Extracting fit parameters...

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  1.895e+00  3.154e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.016e+00  1.616e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.170e+00  2.181e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.54
Ra Dec: 157.121 -2.583
Photon Flux Upper Limit: 7.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/906064/likelihoodResults_337305601_337564801_4FGL_J1028.4-0234_daily_bin378.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) = 8892.40961456
delta logL = 0.85233321156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8892.38962812
delta logL = 0.872319652082

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8892.390     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      214 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5139        2.8459        .64387E-02   -.13574E-03
   2  Index         1.5267        .39708        .29507       -.77042E-04
   3  Normalizat    1.1843        .17482        .65121E-01    .73561E-05
   4  Prefactor     1.0067        .13661        .43857E-01   -.63732E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.51394
  Index      = 1.52665
  Normalizat = 1.18427
  Prefactor  = 1.0067
 **********
 **   18 **HESSE 
 **********

 FCN=   8892.390     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .64E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5139        3.3940        .16437E-03   -1.5391    
   2  Index         1.5267        .62843        .10139E-01   -.76796    
   3  Normalizat    1.1843        .20440        .28808E-03   -.87090    
   4  Prefactor     1.0067        .15986        .24060E-03   -.92506    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.41281e-12
Minuit parameter uncertainties:
  1  3.39426
  2  0.631677
  3  0.204539
  4  0.159936
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906064': 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) = 8892.38962752
delta logL = 0.872320257493

Extracting fit parameters...

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  2.514e+00  3.394e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        Index:  1.527e+00  6.317e-01  0.000e+00  1.000e+01 (-1.000e+00)
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.007e+00  1.599e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.184e+00  2.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.29
Ra Dec: 157.121 -2.583
Photon Index (Free Index): 1.53 +/- 0.63
Photon Flux (Free Index): 7.23e-09 +/- 9.99e-09
Energy Flux (Free Index): 2.09e-05 +/- 3.64e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/906064/cmap_HighResolution_337305601_337564801_4FGL_J1028.4-0234_daily_bin378.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.85e-03', comment='SUCCESS', energy_flux2='2.09e-05', dlogl='8.72e-01', photon_flux2='7.23e-09', job_status='DONE', time_completed='2021-09-01 23:37:05.849044', photon_index_error2='0.63', photon_index2='1.53', ts='0.54', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='7.47e-08', energy_flux_error2='3.64e-05', EG='1.17', time_epoch_completed='1630564625.85', return_code='0', job_id='906064', GAL2='1.01', EG2='1.18', return_code2='0', photon_flux_error2='9.99e-09', ts2='2.29', photon_index='2.61' WHERE bin_id='378' AND source_name='4FGL J1028.4-0234' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 23:37:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 906064: <4FGL_J1028.4-0234_daily_bin378> in cluster <slac> Done

Job <4FGL_J1028.4-0234_daily_bin378> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 23:20:46 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 23:24:31 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:24:31 2021
Terminated at Wed Sep  1 23:37:06 2021
Results reported at Wed Sep  1 23:37:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1028.4-0234_daily_bin378 157.121 -2.5829 337305601 337564801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1028.4-0234 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   569.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            980 sec.

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

