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


Performing analysis on: 4FGL_J0103.8+1321_daily_bin147
RA = 15.969, Dec = 13.3536
tmin = 277430401, tmax = 277689601
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='318440', job_status='RUN', time_executed='2021-08-13 10:58:58.396537', time_epoch_executed='1628877538.4' WHERE source_name='4FGL J0103.8+1321' and cadence='daily' and bin_id='147'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318440

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318440/ft1_4FGL_J0103.8+1321_daily_bin147.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318440/ft2_4FGL_J0103.8+1321_daily_bin147.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318440/ft1_4FGL_J0103.8+1321_daily_bin147.fits outfile=/scratch/kocevski/318440/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin147.fits ra=15.969 dec=13.3536 rad=12.0 tmin=277430401.0 tmax=277689601.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 7.17
user 3.32
sys 3.80

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/318440/ft2_4FGL_J0103.8+1321_daily_bin147.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/318440/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin147.fits evtable="EVENTS" outfile="/scratch/kocevski/318440/ft1_filtered_4FGL_J0103.8+1321_daily_bin147.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 4.07
user 0.34
sys 3.70

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318440/ft1_filtered_4FGL_J0103.8+1321_daily_bin147.fits" evtable="EVENTS" scfile=/scratch/kocevski/318440/ft2_4FGL_J0103.8+1321_daily_bin147.fits sctable="SC_DATA" outfile=/scratch/kocevski/318440/ltcube_277430401_277689601_4FGL_J0103.8+1321_daily_bin147.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/318440/ft2_4FGL_J0103.8+1321_daily_bin147.fits
.....................!
real 17.37
user 13.02
sys 4.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318440/ft1_filtered_4FGL_J0103.8+1321_daily_bin147.fits evtable="EVENTS" scfile=/scratch/kocevski/318440/ft2_4FGL_J0103.8+1321_daily_bin147.fits sctable="SC_DATA" expcube=/scratch/kocevski/318440/ltcube_277430401_277689601_4FGL_J0103.8+1321_daily_bin147.fits outfile=/scratch/kocevski/318440/expmap_277430401_277689601_4FGL_J0103.8+1321_daily_bin147.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/318440/ltcube_277430401_277689601_4FGL_J0103.8+1321_daily_bin147.fits
.....................!
real 195.67
user 185.69
sys 9.58

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/318440/ft1_filtered_4FGL_J0103.8+1321_daily_bin147.fits scfile=/scratch/kocevski/318440/ft2_4FGL_J0103.8+1321_daily_bin147.fits outfile=/scratch/kocevski/318440/cmap_277430401_277689601_4FGL_J0103.8+1321_daily_bin147.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 4.04
user 0.40
sys 3.60

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318440/ft1_filtered_4FGL_J0103.8+1321_daily_bin147.fits scfile=/scratch/kocevski/318440/ft2_4FGL_J0103.8+1321_daily_bin147.fits outfile=/scratch/kocevski/318440/cmap_HighResolution_277430401_277689601_4FGL_J0103.8+1321_daily_bin147.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 4.05
user 0.39
sys 3.64

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13397E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    60.925       1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.936       1.0000         .10000E-03   10000.    
     5 'norm      '    6.9747       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.3363       1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.475       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    48.512       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10205E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.8528       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .81152       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    56.483       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2567       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .90790       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=   7273.668     FROM MIGRAD    STATUS=CONVERGED    369 CALLS     1497 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1058        .55780E-06** at limit **
   2  norm          .10000E-03    9.3109        .34368E-07** at limit **
   3  Prefactor     60.915        32.775       -.38627E-05    .71589E-04
   4  Prefactor     20.935        13.779        .36438E-07   -.83715E-05
   5  norm          6.9748        6.1632        .65778E-06   -.54567E-04
   6  Prefactor     8.3364        5.4420       -.16195E-06    .27366E-04
   7  Prefactor     17.476        12.770        .18842E-06   -.56634E-04
   8  Prefactor     .10000E-03    1.0098        .52699E-08** at limit **
   9  norm          48.512        20.791       -.19061E-07    .10259E-05
  10  Prefactor     .10000E-03    43.093       -.35141E-06** at limit **
  11  Prefactor     .10000E-03    70.481        .10683E-05** at limit **
  12  norm          6.8537        2.5265       -.34094E-06   -.27693E-02
  13  Prefactor     .10000E-03    30.363        .21328E-06** at limit **
  14  norm          .81161        .58049       -.25664E-07   -.34707E-03
  15  Prefactor     .10000E-03    5.6316        .79428E-08** at limit **
  16  Prefactor     56.493        46.672        .80774E-05   -.18985E-03
  17  Normalizat    1.2565        .19871        .35921E-06   -.10134E-03
  18  Prefactor     .90801        .13655        .11652E-06   -.97942E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 60.9151
  Prefactor  = 20.9353
  norm       = 6.97478
  Prefactor  = 8.33637
  Prefactor  = 17.4759
  Prefactor  = 0.0001
  norm       = 48.5125
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.85365
  Prefactor  = 0.0001
  norm       = 0.811613
  Prefactor  = 0.0001
  Prefactor  = 56.4925
  Normalizat = 1.25649
  Prefactor  = 0.908005
 **********
 **   18 **HESSE 
 **********

 FCN=   7273.668     FROM HESSE     STATUS=OK           244 CALLS     1741 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.076        .23391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    9.4125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     60.915        32.258        .51405E-04   -1.4145    
   4  Prefactor     20.935        13.779        .87538E-04   -1.4793    
   5  norm          6.9748        6.1647        .15191E-03   -1.5180    
   6  Prefactor     8.3364        5.4402        .13885E-03   -1.5130    
   7  Prefactor     17.476        12.778        .95810E-04   -1.4872    
   8  Prefactor     .10000E-03    1.0194        .83671E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          48.512        20.792        .57573E-04   -1.4314    
  10  Prefactor     .10000E-03    43.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    70.569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.8537        2.6535        .41351E-03   -1.5184    
  13  Prefactor     .10000E-03    30.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .81161        .57073        .53044E-04   -1.5528    
  15  Prefactor     .10000E-03    5.6479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     56.493        45.826        .53376E-04   -1.4203    
  17  Normalizat    1.2565        .23453        .28652E-03   -.84875    
  18  Prefactor     .90801        .16101        .23048E-03   -.95862    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.53124e-10
Minuit parameter uncertainties:
  1  0.000231397
  2  1.48943e-05
  3  32.2673
  4  13.7815
  5  6.16524
  6  5.4405
  7  12.78
  8  2.28854e-07
  9  20.7953
  10  1.5212e-05
  11  1.82277e-05
  12  2.65359
  13  1.22635e-05
  14  0.570731
  15  2.07648e-06
  16  45.8546
  17  0.234727
  18  0.161094
Done.

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

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  1.000e-04  1.521e-05  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:  9.080e-01  1.611e-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.256e+00  2.347e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/318440/likelihoodResults_277430401_277689601_4FGL_J0103.8+1321_daily_bin147.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) = 7273.66764079
delta logL = -0.000110203161057

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7273.66753171
delta logL = -1.12253565021e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11359E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6346       1.0000          .0000       10.000    
     3 'Normalizat'    1.2565       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90800       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=   7273.668     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      239 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    87.148        .90712E-02** at limit **
   2  Index         2.5919        5.6156        .50000        .13774E-04
   3  Normalizat    1.2565        .92821E-02    .64771E-01   -.15670E-03
   4  Prefactor     .90801        .64997E-02    .45107E-01   -.16204E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.59193
  Normalizat = 1.25649
  Prefactor  = 0.908005
 **********
 **   18 **HESSE 
 **********

 FCN=   7273.668     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      272 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6681.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5919        6.3438        .50000       -.50250    
   3  Normalizat    1.2565        .77030E-01    .28652E-03   -.84875    
   4  Prefactor     .90801        .53937E-01    .23048E-03   -.95862    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.67978e-08
Minuit parameter uncertainties:
  1  0.00194141
  2  52.6178
  3  0.0770372
  4  0.0539403
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318440': 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) = 7273.66753129
delta logL = -7.07832441549e-07

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  1.000e-04  1.941e-03  1.000e-04  1.000e+04 ( 1.000e-14)
233        Index:  2.592e+00  5.262e+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:  9.080e-01  5.394e-02  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.256e+00  7.704e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 15.969 13.354

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/318440/cmap_HighResolution_277430401_277689601_4FGL_J0103.8+1321_daily_bin147.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.08e-03', job_status='DONE', photon_flux_upper_limit='6.73e-08', time_completed='2021-08-13 11:09:31.142810', job_id='318440', GAL2='0.91', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1628878171.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='-7.08e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='147' AND source_name='4FGL J0103.8+1321' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 11:09:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 318440: <4FGL_J0103.8+1321_daily_bin147> in cluster <slac> Done

Job <4FGL_J0103.8+1321_daily_bin147> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Aug 13 10:55:38 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 10:57:44 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:57:44 2021
Terminated at Fri Aug 13 11:09:32 2021
Results reported at Fri Aug 13 11:09:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin147 15.969 13.3536 277430401 277689601 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 :                                   686.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            834 sec.

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

