aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7294
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0104.8-2416_daily_bin1760
RA = 16.2146, Dec = -24.2808
tmin = 695520001, tmax = 695779201
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='723298', job_status='RUN', time_executed='2023-01-19 00:09:44.896328', time_epoch_executed='1674115784.9' WHERE source_name='4FGL J0104.8-2416' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723298

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723298/ft1_4FGL_J0104.8-2416_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723298/ft2_4FGL_J0104.8-2416_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723298/ft1_4FGL_J0104.8-2416_daily_bin1760.fits outfile=/scratch/kocevski/723298/ft1_filteredMKT_4FGL_J0104.8-2416_daily_bin1760.fits ra=16.2146 dec=-24.2808 rad=12.0 tmin=695520001.0 tmax=695779201.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 2.52
user 2.20
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/723298/ft2_4FGL_J0104.8-2416_daily_bin1760.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/723298/ft1_filteredMKT_4FGL_J0104.8-2416_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/723298/ft1_filtered_4FGL_J0104.8-2416_daily_bin1760.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 0.53
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 433

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/723298/ft1_filtered_4FGL_J0104.8-2416_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/723298/ft2_4FGL_J0104.8-2416_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/723298/ltcube_695520001_695779201_4FGL_J0104.8-2416_daily_bin1760.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/723298/ft2_4FGL_J0104.8-2416_daily_bin1760.fits
.....................!
real 15.82
user 15.36
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723298/ft1_filtered_4FGL_J0104.8-2416_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/723298/ft2_4FGL_J0104.8-2416_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/723298/ltcube_695520001_695779201_4FGL_J0104.8-2416_daily_bin1760.fits outfile=/scratch/kocevski/723298/expmap_695520001_695779201_4FGL_J0104.8-2416_daily_bin1760.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/723298/ltcube_695520001_695779201_4FGL_J0104.8-2416_daily_bin1760.fits
.....................!
real 192.94
user 186.83
sys 5.57

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/723298/ft1_filtered_4FGL_J0104.8-2416_daily_bin1760.fits scfile=/scratch/kocevski/723298/ft2_4FGL_J0104.8-2416_daily_bin1760.fits outfile=/scratch/kocevski/723298/cmap_695520001_695779201_4FGL_J0104.8-2416_daily_bin1760.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 0.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/723298/ft1_filtered_4FGL_J0104.8-2416_daily_bin1760.fits scfile=/scratch/kocevski/723298/ft2_4FGL_J0104.8-2416_daily_bin1760.fits outfile=/scratch/kocevski/723298/cmap_HighResolution_695520001_695779201_4FGL_J0104.8-2416_daily_bin1760.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 0.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/723298/ft1_filtered_4FGL_J0104.8-2416_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/723298/ft2_4FGL_J0104.8-2416_daily_bin1760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/723298/Model_4FGL_J0104.8-2416_daily_bin1760.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/723298/ft1_filtered_4FGL_J0104.8-2416_daily_bin1760.fits.....................!
real 44.26
user 42.18
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/723298/ft1_filtered_4FGL_J0104.8-2416_daily_bin1760.fits', '/scratch/kocevski/723298/ft2_4FGL_J0104.8-2416_daily_bin1760.fits', expMap='/scratch/kocevski/723298/expmap_695520001_695779201_4FGL_J0104.8-2416_daily_bin1760.fits', expCube='/scratch/kocevski/723298/ltcube_695520001_695779201_4FGL_J0104.8-2416_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/723298/Model_4FGL_J0104.8-2416_daily_bin1760.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  0.000e+00  1.000e+06 ( 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/723298/ft1_filtered_4FGL_J0104.8-2416_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/723298/ft2_4FGL_J0104.8-2416_daily_bin1760.fits
Exposure map: /scratch/kocevski/723298/expmap_695520001_695779201_4FGL_J0104.8-2416_daily_bin1760.fits
Exposure cube: /scratch/kocevski/723298/ltcube_695520001_695779201_4FGL_J0104.8-2416_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/723298/Model_4FGL_J0104.8-2416_daily_bin1760.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) = 4896.86442721

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4673       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13945E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .11859E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .65087E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .71122E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .14826E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.2969       1.0000          .0000       .10000E+07
     8 'Prefactor '    .35398E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10695E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .20690E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .79825E-07   1.0000          .0000       .10000E+07
    12 'norm      '    .79313E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .13041E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .26553E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .57359       1.0000          .0000       .10000E+07
    16 'norm      '    2.2672       1.0000          .0000       .10000E+07
    17 'norm      '    .53796E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .81833E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0366       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .94580       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4896.831     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1187 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4772        1.3316       -.12400E-06    .26852E-02
   2  Prefactor     .27173E-06    14.940       -.32147E-05** at limit **
   3  norm          .41633E-07    7.5415       -.75076E-06** at limit **
   4  norm           .0000        1.5316       -.60333E-06** at limit **
   5  norm          .27756E-09    3.3228        .10456E-05** at limit **
   6  norm           .0000        1.0500       -.25123E-06** at limit **
   7  Prefactor     6.2883        1.4361       -.24181E-06   -.25815E-01
   8  Prefactor     .83267E-09    6.3587        .28354E-05** at limit **
   9  Prefactor     .56000E-06    7.5647        .26365E-05** at limit **
  10  Prefactor     .55511E-10    2.1752        .63111E-06** at limit **
  11  norm           .0000        .59442        .14964E-07** at limit **
  12  norm           .0000        1.2666       -.10161E-08** at limit **
  13  Prefactor     .49960E-09    4.2163        .30429E-06** at limit **
  14  Prefactor      .0000        1.6858       -.54306E-07** at limit **
  15  norm          .57440        1.0527        .55173E-06   -.10842E-02
  16  norm          2.2692        2.1537        .38114E-06   -.20997E-02
  17  norm           .0000        2.4987       -.27691E-08** at limit **
  18  Prefactor     .62239E-06    9.0858        .17259E-05** at limit **
  19  Normalizat    1.0364        .20242        .73876E-05    .73292E-04
  20  Prefactor     .94577        .23593       -.73548E-05    .60476E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.47718
  Prefactor  = 2.71727e-07
  norm       = 4.16334e-08
  norm       = 0
  norm       = 2.77556e-10
  norm       = 0
  Prefactor  = 6.28832
  Prefactor  = 8.32667e-10
  Prefactor  = 5.59996e-07
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 0
  Prefactor  = 4.996e-10
  Prefactor  = 0
  norm       = 0.574403
  norm       = 2.26917
  norm       = 0
  Prefactor  = 6.22391e-07
  Normalizat = 1.03643
  Prefactor  = 0.945769
 **********
 **   18 **HESSE 
 **********

 FCN=   4896.831     FROM HESSE     STATUS=OK           321 CALLS     1508 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4772        20.273        .65075E-03   -1.5676    
   2  Prefactor     .27173E-06    17.446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .41633E-07    7.9980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.5309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .27756E-09    3.3528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.0496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.2883        8.0000        .39978E-03   -1.5658    
   8  Prefactor     .83267E-09    6.3911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .56000E-06    12.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    2.1824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .59186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.2599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .49960E-09    4.2240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.6802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .57440        1.0719        .71628E-03   -1.5693    
  16  norm          2.2692        2.1674        .68185E-03   -1.5678    
  17  norm           .0000        2.4750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .62239E-06    14.770        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0364        .17226        .41561E-01   -.91820    
  20  Prefactor     .94577        .19780        .45586E-01   -.94560    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12127e-07
Minuit parameter uncertainties:
  1  14.1734
  2  0.0043546
  3  0.00115385
  4  1.16564e-07
  5  6.32332e-05
  6  1.95509e-06
  7  8.00001
  8  0.000146365
  9  0.00530278
  10  1.98999e-05
  11  3.03241e-06
  12  3.18004e-06
  13  8.99471e-05
  14  5.55412e-06
  15  1.07186
  16  2.16739
  17  7.18893e-06
  18  0.00606389
  19  0.172356
  20  0.197953
Done.

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

Extracting fit parameters...

4FGL J0104.8-2416
   Spectrum: PowerLaw
226    Prefactor:  6.288e+00  8.000e+00  0.000e+00  1.000e+06 ( 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:  9.458e-01  1.980e-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.036e+00  1.724e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.72
Ra Dec: 16.215 -24.281
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/723298/likelihoodResults_695520001_695779201_4FGL_J0104.8-2416_daily_bin1760.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): 0
logL (Free Index) = 4896.7051175
delta logL = 0.125773896627

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4896.690954
delta logL = 0.139937391861

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9315       1.0000          .0000       .10000E+07
     2 'Index     '    3.5080       1.0000          .0000       10.000    
     3 'Normalizat'    1.0081       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97353       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4896.691     FROM MIGRAD    STATUS=FAILED        78 CALLS      265 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9330        157.29        .12032E-04    .44213E-01
   2  Index         3.5084        5.5424        .76697E-02    .70800E-03
   3  Normalizat    1.0083        .22463        .21080E-03    .14592E-02
   4  Prefactor     .97334        .28302        .25045E-03    .10231E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4896.691     FROM SIMPLEX   STATUS=UNCHANGED     87 CALLS      352 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9330        157.29        .16028E-04    .44213E-01
   2  Index         3.5084        5.5424        .13963E-02    .70800E-03
   3  Normalizat    1.0083        .22463        .16373E-03    .14592E-02
   4  Prefactor     .97334        .28302        .20699E-03    .10231E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4896.691     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      383 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9337        9.0675        .48129E-06    .20773E-02
   2  Index         3.5081        2.2239        .30679E-03    .22234E-04
   3  Normalizat    1.0083        .21067        .42161E-04    .70110E-05
   4  Prefactor     .97334        .24255        .50090E-04    .91694E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.93374
  Index      = 3.50812
  Normalizat = 1.00832
  Prefactor  = 0.973339
 **********
 **   18 **HESSE 
 **********

 FCN=   4896.691     FROM HESSE     STATUS=OK            23 CALLS      406 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9337        8.8785        .37369E-06   -1.5674    
   2  Index         3.5081        2.1808        .12272E-04   -.30299    
   3  Normalizat    1.0083        .21063        .84321E-05   -.92752    
   4  Prefactor     .97334        .24244        .10018E-04   -.93624    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51515e-11
Minuit parameter uncertainties:
  1  8.87855
  2  2.2649
  3  0.210807
  4  0.242715
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723298': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4896.69095309
delta logL = 0.139938306918

Extracting fit parameters...

4FGL J0104.8-2416
   Spectrum: PowerLaw
226    Prefactor:  2.934e+00  8.879e+00  0.000e+00  1.000e+06 ( 1.000e-12)
227        Index:  3.508e+00  2.265e+00  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:  9.733e-01  2.427e-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.008e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.04
Ra Dec: 16.215 -24.281
Photon Index (Free Index): 3.51 +/- 2.26
Photon Flux (Free Index): 4.82e-08 +/- 5.28e-08
Energy Flux (Free Index): 8.01e-06 +/- 9.37e-06

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/723298/cmap_HighResolution_695520001_695779201_4FGL_J0104.8-2416_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.56e-03', comment='SUCCESS', energy_flux2='8.01e-06', dlogl='1.40e-01', photon_flux2='4.82e-08', job_status='DONE', time_completed='2023-01-19 00:17:51.486188', photon_index_error2='2.26', photon_index2='3.51', ts='0.72', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.22e-07', energy_flux_error2='9.37e-06', EG='1.04', time_epoch_completed='1674116271.49', return_code='0', job_id='723298', GAL2='0.97', EG2='1.01', return_code2='0', photon_flux_error2='5.28e-08', ts2='1.04', photon_index='2.59' WHERE bin_id='1760' AND source_name='4FGL J0104.8-2416' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 00:17:51 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 723298: <4FGL_J0104.8-2416_daily_bin1760> in cluster <slac> Done

Job <4FGL_J0104.8-2416_daily_bin1760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 19 00:04:42 2023
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:09:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:09:24 2023
Terminated at Thu Jan 19 00:17:51 2023
Results reported at Thu Jan 19 00:17:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0104.8-2416_daily_bin1760 16.2146 -24.2808 695520001 695779201 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 :                                   486.20 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             351.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   507 sec.
    Turnaround time :                            789 sec.

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

