/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 92 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 = 7552
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0104.8-2416_daily_bin1369
RA = 16.2146, Dec = -24.2808
tmin = 594172801, tmax = 594432001
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='335179', job_status='RUN', time_executed='2021-08-13 11:54:09.228641', time_epoch_executed='1628880849.23' WHERE source_name='4FGL J0104.8-2416' and cadence='daily' and bin_id='1369'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/335179

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/335179/ft1_4FGL_J0104.8-2416_daily_bin1369.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/335179/ft2_4FGL_J0104.8-2416_daily_bin1369.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/335179/ft1_4FGL_J0104.8-2416_daily_bin1369.fits outfile=/scratch/kocevski/335179/ft1_filteredMKT_4FGL_J0104.8-2416_daily_bin1369.fits ra=16.2146 dec=-24.2808 rad=12.0 tmin=594172801.0 tmax=594432001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 6.66
user 3.89
sys 2.70

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/335179/ft2_4FGL_J0104.8-2416_daily_bin1369.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/335179/ft2_4FGL_J0104.8-2416_daily_bin1369.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/335179/ft1_filteredMKT_4FGL_J0104.8-2416_daily_bin1369.fits evtable="EVENTS" outfile="/scratch/kocevski/335179/ft1_filtered_4FGL_J0104.8-2416_daily_bin1369.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 3.21
user 0.36
sys 2.62

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/335179/ft1_filtered_4FGL_J0104.8-2416_daily_bin1369.fits" evtable="EVENTS" scfile=/scratch/kocevski/335179/ft2_4FGL_J0104.8-2416_daily_bin1369.fits sctable="SC_DATA" outfile=/scratch/kocevski/335179/ltcube_594172801_594432001_4FGL_J0104.8-2416_daily_bin1369.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/335179/ft2_4FGL_J0104.8-2416_daily_bin1369.fits
.....................!
real 17.53
user 14.40
sys 3.06

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/335179/ft1_filtered_4FGL_J0104.8-2416_daily_bin1369.fits evtable="EVENTS" scfile=/scratch/kocevski/335179/ft2_4FGL_J0104.8-2416_daily_bin1369.fits sctable="SC_DATA" expcube=/scratch/kocevski/335179/ltcube_594172801_594432001_4FGL_J0104.8-2416_daily_bin1369.fits outfile=/scratch/kocevski/335179/expmap_594172801_594432001_4FGL_J0104.8-2416_daily_bin1369.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/335179/ltcube_594172801_594432001_4FGL_J0104.8-2416_daily_bin1369.fits
.....................!
real 194.36
user 186.47
sys 7.42

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

Setting source of interest to:
4FGL J0104.8-2416 @ 16.2146 -24.2808

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/335179/ft1_filtered_4FGL_J0104.8-2416_daily_bin1369.fits scfile=/scratch/kocevski/335179/ft2_4FGL_J0104.8-2416_daily_bin1369.fits outfile=/scratch/kocevski/335179/cmap_594172801_594432001_4FGL_J0104.8-2416_daily_bin1369.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=16.2146 yref=-24.2808 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 3.01
user 0.38
sys 2.56

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/335179/ft1_filtered_4FGL_J0104.8-2416_daily_bin1369.fits scfile=/scratch/kocevski/335179/ft2_4FGL_J0104.8-2416_daily_bin1369.fits outfile=/scratch/kocevski/335179/cmap_HighResolution_594172801_594432001_4FGL_J0104.8-2416_daily_bin1369.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=16.2146 yref=-24.2808 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 3.01
user 0.40
sys 2.57

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/335179/ft1_filtered_4FGL_J0104.8-2416_daily_bin1369.fits evtable="EVENTS" scfile=/scratch/kocevski/335179/ft2_4FGL_J0104.8-2416_daily_bin1369.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/335179/Model_4FGL_J0104.8-2416_daily_bin1369.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/335179/ft1_filtered_4FGL_J0104.8-2416_daily_bin1369.fits.....................!
real 49.12
user 44.47
sys 4.46

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/335179/ft1_filtered_4FGL_J0104.8-2416_daily_bin1369.fits', '/scratch/kocevski/335179/ft2_4FGL_J0104.8-2416_daily_bin1369.fits', expMap='/scratch/kocevski/335179/expmap_594172801_594432001_4FGL_J0104.8-2416_daily_bin1369.fits', expCube='/scratch/kocevski/335179/ltcube_594172801_594432001_4FGL_J0104.8-2416_daily_bin1369.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/335179/Model_4FGL_J0104.8-2416_daily_bin1369.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0104.8-2416'

4FGL J0104.8-2416
   Spectrum: PowerLaw
226    Prefactor:  2.411e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
227        Index:  2.592e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  5.562e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/335179/ft1_filtered_4FGL_J0104.8-2416_daily_bin1369.fits
Spacecraft file(s): /scratch/kocevski/335179/ft2_4FGL_J0104.8-2416_daily_bin1369.fits
Exposure map: /scratch/kocevski/335179/expmap_594172801_594432001_4FGL_J0104.8-2416_daily_bin1369.fits
Exposure cube: /scratch/kocevski/335179/ltcube_594172801_594432001_4FGL_J0104.8-2416_daily_bin1369.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/335179/Model_4FGL_J0104.8-2416_daily_bin1369.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) = 5334.05589494

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16997E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .17198E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    .13584E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    12.067       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .74633E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .11093E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .11438E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17537E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10941E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.6300       1.0000         .10000E-03   10000.    
    13 'norm      '    .92414       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .26290E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.6820       1.0000         .10000E-03   10000.    
    16 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .12033E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.2676       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .31089E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1750       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .75302       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5333.981     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     1896 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.3533       -.15755E-05** at limit **
   2  Prefactor     .10000E-03    20.392       -.20265E-05** at limit **
   3  norm          .10000E-03    6.8056        .20779E-05** at limit **
   4  norm          12.066        5.4274       -.16553E-07    .45061E-05
   5  Prefactor     .10000E-03    20.387        .72094E-06** at limit **
   6  norm          .10000E-03    3.9789        .47788E-06** at limit **
   7  norm          .10000E-03    1.4853       -.57953E-07** at limit **
   8  Prefactor     .10000E-03    3.3128        .29384E-06** at limit **
   9  Prefactor     .10000E-03    7.5576       -.19168E-05** at limit **
  10  Prefactor     .10000E-03    1.2540       -.16763E-07** at limit **
  11  Prefactor     .10000E-03    3.8198       -.82030E-06** at limit **
  12  norm          2.6304        2.1699       -.15947E-08    .34064E-04
  13  norm          .92518        2.0749       -.15668E-06   -.20858E-03
  14  Prefactor     .10000E-03    15.086        .75108E-06** at limit **
  15  Prefactor     4.6762        1.7291        .93273E-07   -.12185E-02
  16  norm          .10000E-03    .90104       -.38109E-07** at limit **
  17  norm          .10000E-03    .96468        .12519E-06** at limit **
  18  norm          2.2730        2.4743        .29984E-07   -.72117E-04
  19  Prefactor     .10000E-03    16.752        .12245E-05** at limit **
  20  Normalizat    1.1750        .16203       -.30068E-06    .38407E-04
  21  Prefactor     .75300        .18635        .39007E-06   -.86166E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 12.0661
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.63037
  norm       = 0.925177
  Prefactor  = 0.0001
  Prefactor  = 4.67623
  norm       = 0.0001
  norm       = 0.000100004
  norm       = 2.273
  Prefactor  = 0.0001
  Normalizat = 1.17505
  Prefactor  = 0.753003
 **********
 **   18 **HESSE 
 **********

 FCN=   5333.981     FROM HESSE     STATUS=OK           317 CALLS     2213 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.4982        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.606        .20360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    6.8348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          12.066        5.4273        .11025E-03   -1.5013    
   5  Prefactor     .10000E-03    20.393        .20943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.9847        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.6341        .17292E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.3707        .12979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.5726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.2668        .79862E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.8288        .13936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.6304        2.2671        .93260E-04   -1.5384    
  13  norm          .92518        1.8593        .15155E-02   -1.5516    
  14  Prefactor     .10000E-03    15.693        .42889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.6762        4.9888        .75783E-03   -1.5275    
  16  norm          .10000E-03    1.9026        .13389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    10.068        .13722E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.2730        2.4577        .11533E-03   -1.5406    
  19  Prefactor     .10000E-03    16.763        .21375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1750        .18989        .19703E-03   -.87377    
  21  Prefactor     .75300        .21794        .27896E-03   -1.0148    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.1685e-09
Minuit parameter uncertainties:
  1  3.61593e-06
  2  8.29703e-06
  3  8.07937e-06
  4  5.4275
  5  6.28746e-06
  6  1.52747e-06
  7  8.23564e-06
  8  1.73293e-06
  9  3.93631e-06
  10  1.54816e-07
  11  2.47904e-06
  12  2.26717
  13  1.85938
  14  1.58478e-06
  15  4.98929
  16  6.32175e-06
  17  0.000395198
  18  2.45781
  19  8.65838e-06
  20  0.190003
  21  0.218185
Done.

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

Extracting fit parameters...

4FGL J0104.8-2416
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  1.733e-06  1.000e-04  1.000e+04 ( 1.000e-12)
227        Index:  2.592e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  5.562e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  7.530e-01  2.182e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.175e+00  1.900e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 16.215 -24.281
Photon Flux Upper Limit: 5.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/335179/likelihoodResults_594172801_594432001_4FGL_J0104.8-2416_daily_bin1369.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) = 5333.98219751
delta logL = -0.00141255784547

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5333.98078576
delta logL = -8.08356162452e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10573E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5764       1.0000          .0000       10.000    
     3 'Normalizat'    1.1751       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75293       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+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=   5333.981     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      250 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.076        .13111E-01** at limit **
   2  Index         2.2064        7.2164        .50000        .20896E-07
   3  Normalizat    1.1750        .87179E-02    .19703E-03   -.66525E-03
   4  Prefactor     .75300        .10143E-01    .27896E-03   -.47491E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.20637
  Normalizat = 1.17505
  Prefactor  = 0.753002
 **********
 **   18 **HESSE 
 **********

 FCN=   5333.981     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      279 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    659.87        .27671E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2064        5.2016        .50000       -.59285    
   3  Normalizat    1.1750        .73453E-01    .39406E-04   -.87377    
   4  Prefactor     .75300        .85452E-01    .55793E-04   -1.0148    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.3118e-08
Minuit parameter uncertainties:
  1  0.000925798
  2  1233.08
  3  0.073459
  4  0.0854672
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/335179': 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) = 5333.98078306
delta logL = 1.89177990251e-06

Extracting fit parameters...

4FGL J0104.8-2416
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  9.258e-04  1.000e-04  1.000e+04 ( 1.000e-12)
227        Index:  2.206e+00  1.233e+03  0.000e+00  1.000e+01 (-1.000e+00)
228        Scale:  5.562e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  7.530e-01  8.547e-02  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.175e+00  7.346e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 16.215 -24.281

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/335179/cmap_HighResolution_594172801_594432001_4FGL_J0104.8-2416_daily_bin1369.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.55e-03', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2021-08-13 12:04:20.859846', job_id='335179', GAL2='0.75', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1628881460.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.89e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1369' AND source_name='4FGL J0104.8-2416' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 12:04:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 335179: <4FGL_J0104.8-2416_daily_bin1369> in cluster <slac> Done

Job <4FGL_J0104.8-2416_daily_bin1369> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Aug 13 11:50:43 2021
Job was executed on host(s) <bullet0304>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 11:51:40 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:51:40 2021
Terminated at Fri Aug 13 12:04:21 2021
Results reported at Fri Aug 13 12:04:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0104.8-2416_daily_bin1369 16.2146 -24.2808 594172801 594432001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0104.8-2416 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   641.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            818 sec.

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

