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


Performing analysis on: 4FGL_J0103.8+1321_daily_bin237
RA = 15.969, Dec = 13.3536
tmin = 300758401, tmax = 301017601
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='319767', job_status='RUN', time_executed='2021-08-13 11:05:06.544249', time_epoch_executed='1628877906.54' WHERE source_name='4FGL J0103.8+1321' and cadence='daily' and bin_id='237'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319767

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319767/ft1_4FGL_J0103.8+1321_daily_bin237.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319767/ft2_4FGL_J0103.8+1321_daily_bin237.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319767/ft1_4FGL_J0103.8+1321_daily_bin237.fits outfile=/scratch/kocevski/319767/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin237.fits ra=15.969 dec=13.3536 rad=12.0 tmin=300758401.0 tmax=301017601.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 13.34
user 3.28
sys 9.93

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/319767/ft2_4FGL_J0103.8+1321_daily_bin237.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319767/ft2_4FGL_J0103.8+1321_daily_bin237.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/319767/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin237.fits evtable="EVENTS" outfile="/scratch/kocevski/319767/ft1_filtered_4FGL_J0103.8+1321_daily_bin237.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 9.35
user 0.35
sys 8.91

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319767/ft1_filtered_4FGL_J0103.8+1321_daily_bin237.fits" evtable="EVENTS" scfile=/scratch/kocevski/319767/ft2_4FGL_J0103.8+1321_daily_bin237.fits sctable="SC_DATA" outfile=/scratch/kocevski/319767/ltcube_300758401_301017601_4FGL_J0103.8+1321_daily_bin237.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/319767/ft2_4FGL_J0103.8+1321_daily_bin237.fits
.....................!
real 24.47
user 13.10
sys 11.20

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319767/ft1_filtered_4FGL_J0103.8+1321_daily_bin237.fits evtable="EVENTS" scfile=/scratch/kocevski/319767/ft2_4FGL_J0103.8+1321_daily_bin237.fits sctable="SC_DATA" expcube=/scratch/kocevski/319767/ltcube_300758401_301017601_4FGL_J0103.8+1321_daily_bin237.fits outfile=/scratch/kocevski/319767/expmap_300758401_301017601_4FGL_J0103.8+1321_daily_bin237.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/319767/ltcube_300758401_301017601_4FGL_J0103.8+1321_daily_bin237.fits
.....................!
real 204.92
user 187.63
sys 16.52

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

Setting source of interest to:
4FGL J0103.8+1321 @ 15.969 13.3536

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/319767/ft1_filtered_4FGL_J0103.8+1321_daily_bin237.fits scfile=/scratch/kocevski/319767/ft2_4FGL_J0103.8+1321_daily_bin237.fits outfile=/scratch/kocevski/319767/cmap_300758401_301017601_4FGL_J0103.8+1321_daily_bin237.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=15.969 yref=13.3536 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 10.13
user 0.39
sys 9.63

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319767/ft1_filtered_4FGL_J0103.8+1321_daily_bin237.fits scfile=/scratch/kocevski/319767/ft2_4FGL_J0103.8+1321_daily_bin237.fits outfile=/scratch/kocevski/319767/cmap_HighResolution_300758401_301017601_4FGL_J0103.8+1321_daily_bin237.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=15.969 yref=13.3536 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 10.11
user 0.39
sys 9.63

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319767/ft1_filtered_4FGL_J0103.8+1321_daily_bin237.fits evtable="EVENTS" scfile=/scratch/kocevski/319767/ft2_4FGL_J0103.8+1321_daily_bin237.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319767/Model_4FGL_J0103.8+1321_daily_bin237.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/319767/ft1_filtered_4FGL_J0103.8+1321_daily_bin237.fits.....................!
real 83.31
user 70.47
sys 12.50

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/319767/ft1_filtered_4FGL_J0103.8+1321_daily_bin237.fits', '/scratch/kocevski/319767/ft2_4FGL_J0103.8+1321_daily_bin237.fits', expMap='/scratch/kocevski/319767/expmap_300758401_301017601_4FGL_J0103.8+1321_daily_bin237.fits', expCube='/scratch/kocevski/319767/ltcube_300758401_301017601_4FGL_J0103.8+1321_daily_bin237.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/319767/Model_4FGL_J0103.8+1321_daily_bin237.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0103.8+1321'

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  4.686e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
233        Index:  2.082e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  2.306e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/319767/ft1_filtered_4FGL_J0103.8+1321_daily_bin237.fits
Spacecraft file(s): /scratch/kocevski/319767/ft2_4FGL_J0103.8+1321_daily_bin237.fits
Exposure map: /scratch/kocevski/319767/expmap_300758401_301017601_4FGL_J0103.8+1321_daily_bin237.fits
Exposure cube: /scratch/kocevski/319767/ltcube_300758401_301017601_4FGL_J0103.8+1321_daily_bin237.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/319767/Model_4FGL_J0103.8+1321_daily_bin237.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) = 6525.8138076

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10314E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.6856       1.0000         .10000E-03   10000.    
     4 'Prefactor '    40.559       1.0000         .10000E-03   10000.    
     5 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10473E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .93296       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    124.86       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    10.751       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .91815       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.1336       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2253       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .82608       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6525.809     FROM MIGRAD    STATUS=CONVERGED    354 CALLS     1708 TOTAL
                     EDM=   .92E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.0253       -.14619E-05** at limit **
   2  norm          .10000E-03    4.0738       -.22219E-06** at limit **
   3  Prefactor     1.6297        104.50       -.37339E-06   -.32210E-05
   4  Prefactor     40.563        19.609        .96647E-08    .15159E-05
   5  norm          .10000E-03    5.0792       -.18683E-06** at limit **
   6  Prefactor     .10000E-03    4.0574        .18115E-06** at limit **
   7  Prefactor     .10000E-03    23.759       -.11036E-05** at limit **
   8  Prefactor     .93279        2.2963        .86613E-06    .80387E-04
   9  norm          .10000E-03    4.4924        .45560E-07** at limit **
  10  Prefactor     124.86        67.910        .23061E-06    .19653E-05
  11  Prefactor     .10000E-03    31.514        .22283E-06** at limit **
  12  norm          10.751        2.9361        .12641E-07   -.10025E-03
  13  Prefactor     .10000E-03    13.795        .60313E-07** at limit **
  14  norm          .91811        .61665        .38302E-07    .73459E-04
  15  Prefactor     9.1350        8.9487        .43652E-07   -.17455E-05
  16  Prefactor     .10000E-03    13.833        .31875E-07** at limit **
  17  Normalizat    1.2252        .19571       -.55248E-06   -.34665E-05
  18  Prefactor     .82616        .13502       -.74464E-06    .19245E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.62967
  Prefactor  = 40.563
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.932793
  norm       = 0.0001
  Prefactor  = 124.859
  Prefactor  = 0.0001
  norm       = 10.7508
  Prefactor  = 0.0001
  norm       = 0.918111
  Prefactor  = 9.13503
  Prefactor  = 0.0001
  Normalizat = 1.22515
  Prefactor  = 0.826163
 **********
 **   18 **HESSE 
 **********

 FCN=   6525.809     FROM HESSE     STATUS=OK           242 CALLS     1950 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.9647        .13433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.0786        .15916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.6297        106.97        .32434E-03   -1.5453    
   4  Prefactor     40.563        19.610        .62940E-04   -1.4433    
   5  norm          .10000E-03    5.0978        .17770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.0912        .15892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    23.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .93279        2.2807        .18821E-03   -1.5515    
   9  norm          .10000E-03    4.4944        .16723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     124.86        67.987        .36024E-04   -1.3468    
  11  Prefactor     .10000E-03    31.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          10.751        2.9346        .69645E-04   -1.5052    
  13  Prefactor     .10000E-03    13.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .91811        .60428        .50075E-04   -1.5516    
  15  Prefactor     9.1350        8.9519        .13261E-03   -1.5103    
  16  Prefactor     .10000E-03    13.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2252        .22943        .27229E-03   -.85829    
  18  Prefactor     .82616        .15754        .22590E-03   -.98771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85476e-11
Minuit parameter uncertainties:
  1  1.64727e-05
  2  2.43337e-06
  3  26.4553
  4  19.6132
  5  6.44602e-06
  6  7.17613e-06
  7  3.76554e-05
  8  2.28092
  9  1.3702e-06
  10  68.0295
  11  8.01377e-05
  12  2.9346
  13  7.88469e-06
  14  0.604286
  15  8.95325
  16  1.66543e-06
  17  0.229621
  18  0.157621
Done.

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

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  1.249e+02  6.803e+01  1.000e-04  1.000e+04 ( 1.000e-14)
233        Index:  2.082e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  2.306e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  8.262e-01  1.576e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.225e+00  2.296e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.26
Ra Dec: 15.969 13.354
Photon Index (Fixed Index): 2.08 +/- 0.00
Photon Flux (Fixed Index): 7.93e-08 +/- 4.32e-08
Energy Flux (Fixed Index): 4.53e-05 +/- 2.47e-05

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) = 6523.95001647
delta logL = 1.85855259185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6523.91979911
delta logL = 1.88876995687

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.903       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0039       1.0000          .0000       10.000    
     3 'Normalizat'    1.1100       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87545       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+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=   6523.920     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      293 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.876        62.831        .74522E-04    .62657E-03
   2  Index         3.0042        .90805        .25491E-02    .27178E-03
   3  Normalizat    1.1101        .24169        .28340E-03    .64002E-03
   4  Prefactor     .87545        .16392        .21990E-03    .59713E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.8757
  Index      = 3.00422
  Normalizat = 1.11005
  Prefactor  = 0.875452
 **********
 **   18 **HESSE 
 **********

 FCN=   6523.920     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.876        37.313        .14904E-04   -1.4633    
   2  Index         3.0042        .54019        .10196E-03   -.41060    
   3  Normalizat    1.1101        .23477        .56681E-04   -.89430    
   4  Prefactor     .87545        .16004        .87960E-05   -.97004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3783e-09
Minuit parameter uncertainties:
  1  37.3429
  2  0.541451
  3  0.234995
  4  0.160129
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319767': 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) = 6523.91979874
delta logL = 1.88877032536

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  2.888e+01  3.734e+01  1.000e-04  1.000e+04 ( 1.000e-14)
233        Index:  3.004e+00  5.415e-01  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  2.306e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  8.755e-01  1.601e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.110e+00  2.350e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.28
Ra Dec: 15.969 13.354
Photon Index (Free Index): 3.00 +/- 0.54
Photon Flux (Free Index): 1.79e-07 +/- 8.14e-08
Energy Flux (Free Index): 3.57e-05 +/- 1.47e-05

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/319767/cmap_HighResolution_300758401_301017601_4FGL_J0103.8+1321_daily_bin237.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.93e-08', energy_flux2='3.57e-05', photon_flux_error='4.32e-08', dlogl='1.89e+00', energy_flux='4.53e-05', photon_flux2='1.79e-07', job_status='DONE', time_completed='2021-08-13 11:16:23.843103', photon_index_error2='0.54', photon_index2='3.00', ts='6.26', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='1.47e-05', EG='1.23', time_epoch_completed='1628878583.84', return_code='0', job_id='319767', GAL2='0.88', EG2='1.11', return_code2='0', energy_flux_error='2.47e-05', photon_flux_error2='8.14e-08', ts2='10.28', photon_index='2.08' WHERE bin_id='237' AND source_name='4FGL J0103.8+1321' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 11:16:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 319767: <4FGL_J0103.8+1321_daily_bin237> in cluster <slac> Done

Job <4FGL_J0103.8+1321_daily_bin237> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Aug 13 11:00:24 2021
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 11:00:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 11:00:37 2021
Terminated at Fri Aug 13 11:16:26 2021
Results reported at Fri Aug 13 11:16:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin237 15.969 13.3536 300758401 301017601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0103.8+1321 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   822.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            962 sec.

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

