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


Performing analysis on: 4FGL_J0103.8+1321_daily_bin232
RA = 15.969, Dec = 13.3536
tmin = 299462401, tmax = 299721601
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='319760', job_status='RUN', time_executed='2021-08-13 11:04:50.980199', time_epoch_executed='1628877890.98' WHERE source_name='4FGL J0103.8+1321' and cadence='daily' and bin_id='232'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319760

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319760/ft1_4FGL_J0103.8+1321_daily_bin232.fits


Retrieving the FT1 file...

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

Retrieving 44 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319760/ft2_4FGL_J0103.8+1321_daily_bin232.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319760/ft1_4FGL_J0103.8+1321_daily_bin232.fits outfile=/scratch/kocevski/319760/ft1_filteredMKT_4FGL_J0103.8+1321_daily_bin232.fits ra=15.969 dec=13.3536 rad=12.0 tmin=299462401.0 tmax=299721601.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 9.94
user 3.08
sys 6.71

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319760/ft1_filtered_4FGL_J0103.8+1321_daily_bin232.fits" evtable="EVENTS" scfile=/scratch/kocevski/319760/ft2_4FGL_J0103.8+1321_daily_bin232.fits sctable="SC_DATA" outfile=/scratch/kocevski/319760/ltcube_299462401_299721601_4FGL_J0103.8+1321_daily_bin232.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/319760/ft2_4FGL_J0103.8+1321_daily_bin232.fits
.....................!
real 20.38
user 12.71
sys 7.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319760/ft1_filtered_4FGL_J0103.8+1321_daily_bin232.fits evtable="EVENTS" scfile=/scratch/kocevski/319760/ft2_4FGL_J0103.8+1321_daily_bin232.fits sctable="SC_DATA" expcube=/scratch/kocevski/319760/ltcube_299462401_299721601_4FGL_J0103.8+1321_daily_bin232.fits outfile=/scratch/kocevski/319760/expmap_299462401_299721601_4FGL_J0103.8+1321_daily_bin232.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/319760/ltcube_299462401_299721601_4FGL_J0103.8+1321_daily_bin232.fits
.....................!
real 201.57
user 187.06
sys 13.03

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/319760/ft1_filtered_4FGL_J0103.8+1321_daily_bin232.fits scfile=/scratch/kocevski/319760/ft2_4FGL_J0103.8+1321_daily_bin232.fits outfile=/scratch/kocevski/319760/cmap_299462401_299721601_4FGL_J0103.8+1321_daily_bin232.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 6.89
user 0.39
sys 6.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319760/ft1_filtered_4FGL_J0103.8+1321_daily_bin232.fits scfile=/scratch/kocevski/319760/ft2_4FGL_J0103.8+1321_daily_bin232.fits outfile=/scratch/kocevski/319760/cmap_HighResolution_299462401_299721601_4FGL_J0103.8+1321_daily_bin232.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 6.86
user 0.41
sys 6.41

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9438       1.0000         .10000E-03   10000.    
     2 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    51.993       1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.806       1.0000         .10000E-03   10000.    
     5 'norm      '    8.5501       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.5233       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    15.876       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.5932       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .95762       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.6539       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .96925       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0485       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=   6638.443     FROM MIGRAD    STATUS=CONVERGED    332 CALLS     1686 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9428        4.6413       -.24411E-05   -.30405E-03
   2  norm          .10000E-03    5.0451        .95560E-07** at limit **
   3  Prefactor     51.989        33.140       -.34069E-05    .23444E-04
   4  Prefactor     23.807        18.313        .85971E-06    .11913E-04
   5  norm          8.5502        6.7998       -.65174E-07    .49515E-04
   6  Prefactor     .10000E-03    6.1684       -.19114E-06** at limit **
   7  Prefactor     3.5227        9.4147       -.54151E-06   -.15099E-03
   8  Prefactor     .10000E-03    .62466       -.29796E-07** at limit **
   9  norm          15.876        11.638       -.18815E-07    .18784E-04
  10  Prefactor     .10000E-03    28.891       -.10538E-04** at limit **
  11  Prefactor     .10000E-03    21.759       -.32543E-05** at limit **
  12  norm          1.5930        1.6935       -.21542E-06   -.68978E-03
  13  Prefactor     .10000E-03    27.513        .53372E-06** at limit **
  14  norm          .95756        .63099       -.17733E-07   -.22835E-03
  15  Prefactor     3.6492        13.782       -.25999E-05   -.88782E-04
  16  Prefactor     .10000E-03    25.959        .11634E-04** at limit **
  17  Normalizat    .96934        .19384        .11101E-05    .26599E-04
  18  Prefactor     1.0484        .13807        .38430E-06    .68088E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.94283
  norm       = 0.0001
  Prefactor  = 51.9893
  Prefactor  = 23.8066
  norm       = 8.55023
  Prefactor  = 0.0001
  Prefactor  = 3.52266
  Prefactor  = 0.0001
  norm       = 15.8758
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.59303
  Prefactor  = 0.0001
  norm       = 0.957558
  Prefactor  = 3.6492
  Prefactor  = 0.0001
  Normalizat = 0.969337
  Prefactor  = 1.04843
 **********
 **   18 **HESSE 
 **********

 FCN=   6638.443     FROM HESSE     STATUS=OK           248 CALLS     1934 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9428        4.6898        .16200E-03   -1.5263    
   2  norm          .10000E-03    5.0532        .17873E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     51.989        32.966        .55621E-04   -1.4265    
   4  Prefactor     23.807        18.295        .82098E-04   -1.4732    
   5  norm          8.5502        6.7953        .13709E-03   -1.5123    
   6  Prefactor     .10000E-03    6.2442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5227        9.4118        .21537E-03   -1.5333    
   8  Prefactor     .10000E-03    .62770        .62883E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          15.876        11.640        .10052E-03   -1.4911    
  10  Prefactor     .10000E-03    28.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    21.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5930        1.6856        .10543E-03   -1.5456    
  13  Prefactor     .10000E-03    27.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .95756        .62394        .50581E-04   -1.5512    
  15  Prefactor     3.6492        13.873        .21133E-03   -1.5326    
  16  Prefactor     .10000E-03    25.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .96934        .22605        .29487E-03   -.94065    
  18  Prefactor     1.0484        .16153        .20623E-03   -.91132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65266e-10
Minuit parameter uncertainties:
  1  4.69013
  2  4.03731e-06
  3  32.9776
  4  18.2994
  5  6.79596
  6  2.07692e-05
  7  9.41572
  8  5.12335e-07
  9  11.6416
  10  7.87194e-06
  11  2.16726e-06
  12  1.68564
  13  1.13409e-05
  14  0.623942
  15  13.8857
  16  1.18105e-05
  17  0.226276
  18  0.161607
Done.

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

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  1.000e-04  7.872e-06  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:  1.048e+00  1.616e-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:  9.693e-01  2.263e-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: 7.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/319760/likelihoodResults_299462401_299721601_4FGL_J0103.8+1321_daily_bin232.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) = 6638.44278425
delta logL = -0.000165744289916

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6638.44261861
delta logL = -1.09435859486e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0076       1.0000          .0000       10.000    
     3 'Normalizat'    .96934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0484       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=   6638.443     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      237 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    528.72        .90712E-02** at limit **
   2  Index         2.0250        8.8082        .50000       -.55924E-05
   3  Normalizat    .96933        .22163E-01    .66663E-01   -.11703E-03
   4  Prefactor     1.0484        .16138E-01    .40003E-01    .93297E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010001
  Index      = 2.02502
  Normalizat = 0.969334
  Prefactor  = 1.04843
 **********
 **   18 **HESSE 
 **********

 FCN=   6638.443     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      268 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    1734.7        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0250        5.2048        .50000       -.63726    
   3  Normalizat    .96933        .43556E-01    .29487E-03   -.94065    
   4  Prefactor     1.0484        .31756E-01    .20623E-03   -.91132    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.11799e-08
Minuit parameter uncertainties:
  1  0.00860139
  2  33.1488
  3  0.0435579
  4  0.0317565
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319760': 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) = 6638.44261859
delta logL = -8.55980033521e-08

Extracting fit parameters...

4FGL J0103.8+1321
   Spectrum: PowerLaw
232    Prefactor:  1.000e-04  8.601e-03  1.000e-04  1.000e+04 ( 1.000e-14)
233        Index:  2.025e+00  3.315e+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:  1.048e+00  3.176e-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:  9.693e-01  4.356e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/319760/cmap_HighResolution_299462401_299721601_4FGL_J0103.8+1321_daily_bin232.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.40e-03', job_status='DONE', photon_flux_upper_limit='7.15e-08', time_completed='2021-08-13 11:15:51.401944', job_id='319760', GAL2='1.05', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1628878551.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='-8.56e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='232' AND source_name='4FGL J0103.8+1321' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 11:15:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 319760: <4FGL_J0103.8+1321_daily_bin232> in cluster <slac> Done

Job <4FGL_J0103.8+1321_daily_bin232> 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) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 11:00:31 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:31 2021
Terminated at Fri Aug 13 11:15:53 2021
Results reported at Fri Aug 13 11:15:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0103.8+1321_daily_bin232 15.969 13.3536 299462401 299721601 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 :                                   751.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            929 sec.

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

