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


Performing analysis on: 4FGL_J0103.8+1321_daily_bin180
RA = 15.969, Dec = 13.3536
tmin = 285984001, tmax = 286243201
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='318488', job_status='RUN', time_executed='2021-08-13 10:59:50.568638', time_epoch_executed='1628877590.57' WHERE source_name='4FGL J0103.8+1321' and cadence='daily' and bin_id='180'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318488

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318488/ft1_4FGL_J0103.8+1321_daily_bin180.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318488/ft2_4FGL_J0103.8+1321_daily_bin180.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318488/ft1_4FGL_J0103.8+1321_daily_bin180.fits outfile=/scratch/kocevski/318488/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin180.fits ra=15.969 dec=13.3536 rad=12.0 tmin=285984001.0 tmax=286243201.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 8.96
user 3.21
sys 5.61

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/318488/ft2_4FGL_J0103.8+1321_daily_bin180.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/318488/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin180.fits evtable="EVENTS" outfile="/scratch/kocevski/318488/ft1_filtered_4FGL_J0103.8+1321_daily_bin180.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 5.87
user 0.32
sys 5.46

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318488/ft1_filtered_4FGL_J0103.8+1321_daily_bin180.fits" evtable="EVENTS" scfile=/scratch/kocevski/318488/ft2_4FGL_J0103.8+1321_daily_bin180.fits sctable="SC_DATA" outfile=/scratch/kocevski/318488/ltcube_285984001_286243201_4FGL_J0103.8+1321_daily_bin180.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/318488/ft2_4FGL_J0103.8+1321_daily_bin180.fits
.....................!
real 23.11
user 16.46
sys 6.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318488/ft1_filtered_4FGL_J0103.8+1321_daily_bin180.fits evtable="EVENTS" scfile=/scratch/kocevski/318488/ft2_4FGL_J0103.8+1321_daily_bin180.fits sctable="SC_DATA" expcube=/scratch/kocevski/318488/ltcube_285984001_286243201_4FGL_J0103.8+1321_daily_bin180.fits outfile=/scratch/kocevski/318488/expmap_285984001_286243201_4FGL_J0103.8+1321_daily_bin180.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/318488/ltcube_285984001_286243201_4FGL_J0103.8+1321_daily_bin180.fits
.....................!
real 197.28
user 185.37
sys 11.40

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/318488/ft1_filtered_4FGL_J0103.8+1321_daily_bin180.fits scfile=/scratch/kocevski/318488/ft2_4FGL_J0103.8+1321_daily_bin180.fits outfile=/scratch/kocevski/318488/cmap_285984001_286243201_4FGL_J0103.8+1321_daily_bin180.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 5.88
user 0.37
sys 5.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318488/ft1_filtered_4FGL_J0103.8+1321_daily_bin180.fits scfile=/scratch/kocevski/318488/ft2_4FGL_J0103.8+1321_daily_bin180.fits outfile=/scratch/kocevski/318488/cmap_HighResolution_285984001_286243201_4FGL_J0103.8+1321_daily_bin180.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 5.93
user 0.39
sys 5.50

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/318488/ft1_filtered_4FGL_J0103.8+1321_daily_bin180.fits', '/scratch/kocevski/318488/ft2_4FGL_J0103.8+1321_daily_bin180.fits', expMap='/scratch/kocevski/318488/expmap_285984001_286243201_4FGL_J0103.8+1321_daily_bin180.fits', expCube='/scratch/kocevski/318488/ltcube_285984001_286243201_4FGL_J0103.8+1321_daily_bin180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/318488/Model_4FGL_J0103.8+1321_daily_bin180.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/318488/ft1_filtered_4FGL_J0103.8+1321_daily_bin180.fits
Spacecraft file(s): /scratch/kocevski/318488/ft2_4FGL_J0103.8+1321_daily_bin180.fits
Exposure map: /scratch/kocevski/318488/expmap_285984001_286243201_4FGL_J0103.8+1321_daily_bin180.fits
Exposure cube: /scratch/kocevski/318488/ltcube_285984001_286243201_4FGL_J0103.8+1321_daily_bin180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/318488/Model_4FGL_J0103.8+1321_daily_bin180.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) = 7282.59542694

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3433       1.0000         .10000E-03   10000.    
     2 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.8166       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.7286       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.515       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12837E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    11.947       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.7239       1.0000         .10000E-03   10000.    
    11 'Prefactor '    64.750       1.0000         .10000E-03   10000.    
    12 'norm      '    3.1724       1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.162       1.0000         .10000E-03   10000.    
    14 'norm      '    .35091       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.4514       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2159       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .77585       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=   7282.593     FROM MIGRAD    STATUS=CONVERGED    352 CALLS     1720 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3434        3.7112        .47024E-07   -.47782E-04
   2  norm          .10000E-03    6.1537       -.23442E-07** at limit **
   3  Prefactor     .10000E-03    12.520        .72548E-08** at limit **
   4  Prefactor     8.8169        8.8320        .30112E-07   -.35932E-05
   5  norm          .10000E-03    2.4943       -.56166E-07** at limit **
   6  Prefactor     3.7286        3.9828        .87079E-07    .26332E-04
   7  Prefactor     10.516        10.568       -.71205E-07   -.34749E-04
   8  Prefactor     .10000E-03    .97892       -.27198E-07** at limit **
   9  norm          11.947        10.497        .59799E-07    .27178E-05
  10  Prefactor     5.7237        35.147        .37438E-05   -.68385E-04
  11  Prefactor     64.730        67.680       -.34686E-05   -.19068E-03
  12  norm          3.1722        1.7772        .16654E-06    .38395E-04
  13  Prefactor     28.177        31.420        .30465E-05    .36334E-03
  14  norm          .35029        .43536        .92831E-07   -.45608E-04
  15  Prefactor     5.4515        9.3766        .36395E-05   -.42047E-03
  16  Prefactor     .10000E-03    30.878        .13197E-06** at limit **
  17  Normalizat    1.2159        .17119        .54105E-07   -.22285E-04
  18  Prefactor     .77581        .11928       -.72877E-06    .37707E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.3434
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.81686
  norm       = 0.0001
  Prefactor  = 3.72864
  Prefactor  = 10.5161
  Prefactor  = 0.0001
  norm       = 11.9468
  Prefactor  = 5.72369
  Prefactor  = 64.7304
  norm       = 3.17216
  Prefactor  = 28.1769
  norm       = 0.350291
  Prefactor  = 5.45153
  Prefactor  = 0.0001
  Normalizat = 1.21591
  Prefactor  = 0.77581
 **********
 **   18 **HESSE 
 **********

 FCN=   7282.593     FROM HESSE     STATUS=OK           252 CALLS     1972 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3434        3.7133        .13212E-03   -1.5246    
   2  norm          .10000E-03    6.1930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.8169        8.8291        .13499E-03   -1.5114    
   5  norm          .10000E-03    2.4973        .13162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.7286        3.9789        .17007E-03   -1.5322    
   7  Prefactor     10.516        10.574        .12356E-03   -1.5059    
   8  Prefactor     .10000E-03    2.0729        .16430E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          11.947        10.500        .11590E-03   -1.5017    
  10  Prefactor     5.7237        35.379        .83943E-03   -1.5229    
  11  Prefactor     64.730        69.696        .49873E-04   -1.4097    
  12  norm          3.1722        1.7826        .77728E-04   -1.5352    
  13  Prefactor     28.177        32.599        .75493E-04   -1.4646    
  14  norm          .35029        .39957        .58159E-03   -1.5590    
  15  Prefactor     5.4515        9.6429        .86050E-03   -1.5241    
  16  Prefactor     .10000E-03    30.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2159        .19992        .25398E-03   -.86113    
  18  Prefactor     .77581        .13871        .21901E-03   -1.0063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17785e-09
Minuit parameter uncertainties:
  1  3.71347
  2  1.01593e-06
  3  1.31825e-06
  4  8.83038
  5  2.96861e-06
  6  3.97914
  7  10.5761
  8  1.85037e-05
  9  10.5018
  10  28.4853
  11  69.7837
  12  1.7826
  13  32.6196
  14  0.399572
  15  9.64562
  16  3.96303e-05
  17  0.200051
  18  0.138768
Done.

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

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  5.724e+00  2.849e+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:  7.758e-01  1.388e-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.216e+00  2.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 15.969 13.354
Photon Flux Upper Limit: 5.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/318488/likelihoodResults_285984001_286243201_4FGL_J0103.8+1321_daily_bin180.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7281.79700672
delta logL = 0.796422869479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7281.71666553
delta logL = 0.876764057593

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14972       1.0000         .10000E-03   10000.    
     2 'Index     '    4.6295       1.0000          .0000       10.000    
     3 'Normalizat'    1.1184       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81702       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.

 FCN=   7281.717     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      269 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14773        1.5658        .55013E-02    .32626E-02
   2  Index         4.6351        1.8419        .75212E-01    .29117E-03
   3  Normalizat    1.1181        .40781E-01    .59543E-01    .76121E-05
   4  Prefactor     .81722        .28775E-01    .43938E-01    .87921E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.147727
  Index      = 4.63509
  Normalizat = 1.11806
  Prefactor  = 0.817216
 **********
 **   18 **HESSE 
 **********

 FCN=   7281.717     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      304 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14773        4.1645        .24926E-03   -1.5631    
   2  Index         4.6351        3.4582        .37667E-02   -.73048E-01
   3  Normalizat    1.1181        .15247        .26334E-03   -.89174    
   4  Prefactor     .81722        .10423        .21392E-03   -.99097    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.68663e-10
Minuit parameter uncertainties:
  1  1.5683
  2  3.82134
  3  0.152531
  4  0.104258
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318488': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7281.71666098
delta logL = 0.876768612913

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  1.477e-01  1.568e+00  1.000e-04  1.000e+04 ( 1.000e-14)
233        Index:  4.635e+00  3.821e+00  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.172e-01  1.043e-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.118e+00  1.525e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.98
Ra Dec: 15.969 13.354
Photon Index (Free Index): 4.64 +/- 3.82
Photon Flux (Free Index): 8.48e-08 +/- 6.98e-08
Energy Flux (Free Index): 1.17e-05 +/- 8.74e-06

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/318488/cmap_HighResolution_285984001_286243201_4FGL_J0103.8+1321_daily_bin180.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-03', comment='SUCCESS', energy_flux2='1.17e-05', dlogl='8.77e-01', photon_flux2='8.48e-08', job_status='DONE', time_completed='2021-08-13 11:11:15.134361', photon_index_error2='3.82', photon_index2='4.64', ts='0.04', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='5.72e-08', energy_flux_error2='8.74e-06', EG='1.22', time_epoch_completed='1628878275.13', return_code='0', job_id='318488', GAL2='0.82', EG2='1.12', return_code2='102', photon_flux_error2='6.98e-08', ts2='1.98', photon_index='2.08' WHERE bin_id='180' AND source_name='4FGL J0103.8+1321' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 11:11:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 318488: <4FGL_J0103.8+1321_daily_bin180> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin180 15.969 13.3536 285984001 286243201 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 :                                   762.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             280.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            934 sec.

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

