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


Performing analysis on: 4FGL_J0141.4-0928_daily_bin1689
RA = 25.3626, Dec = -9.4825
tmin = 677116801, tmax = 677376001
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='975101', job_status='RUN', time_executed='2022-06-20 00:10:04.056599', time_epoch_executed='1655709004.06' WHERE source_name='4FGL J0141.4-0928' and cadence='daily' and bin_id='1689'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/975101

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/975101/ft1_4FGL_J0141.4-0928_daily_bin1689.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/975101/ft2_4FGL_J0141.4-0928_daily_bin1689.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/975101/ft1_4FGL_J0141.4-0928_daily_bin1689.fits outfile=/scratch/kocevski/975101/ft1_filteredMKT_4FGL_J0141.4-0928_daily_bin1689.fits ra=25.3626 dec=-9.4825 rad=12.0 tmin=677116801.0 tmax=677376001.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.77
user 2.53
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/975101/ft2_4FGL_J0141.4-0928_daily_bin1689.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/975101/ft2_4FGL_J0141.4-0928_daily_bin1689.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/975101/ft1_filteredMKT_4FGL_J0141.4-0928_daily_bin1689.fits evtable="EVENTS" outfile="/scratch/kocevski/975101/ft1_filtered_4FGL_J0141.4-0928_daily_bin1689.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.51
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 637

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/975101/ft1_filtered_4FGL_J0141.4-0928_daily_bin1689.fits" evtable="EVENTS" scfile=/scratch/kocevski/975101/ft2_4FGL_J0141.4-0928_daily_bin1689.fits sctable="SC_DATA" outfile=/scratch/kocevski/975101/ltcube_677116801_677376001_4FGL_J0141.4-0928_daily_bin1689.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/975101/ft2_4FGL_J0141.4-0928_daily_bin1689.fits
.....................!
real 16.29
user 15.86
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/975101/ft1_filtered_4FGL_J0141.4-0928_daily_bin1689.fits evtable="EVENTS" scfile=/scratch/kocevski/975101/ft2_4FGL_J0141.4-0928_daily_bin1689.fits sctable="SC_DATA" expcube=/scratch/kocevski/975101/ltcube_677116801_677376001_4FGL_J0141.4-0928_daily_bin1689.fits outfile=/scratch/kocevski/975101/expmap_677116801_677376001_4FGL_J0141.4-0928_daily_bin1689.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/975101/ltcube_677116801_677376001_4FGL_J0141.4-0928_daily_bin1689.fits
.....................!
real 192.29
user 186.26
sys 5.65

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

Setting source of interest to:
4FGL J0141.4-0928 @ 25.3626 -9.4825

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/975101/ft1_filtered_4FGL_J0141.4-0928_daily_bin1689.fits scfile=/scratch/kocevski/975101/ft2_4FGL_J0141.4-0928_daily_bin1689.fits outfile=/scratch/kocevski/975101/cmap_677116801_677376001_4FGL_J0141.4-0928_daily_bin1689.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=25.3626 yref=-9.4825 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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/975101/ft1_filtered_4FGL_J0141.4-0928_daily_bin1689.fits scfile=/scratch/kocevski/975101/ft2_4FGL_J0141.4-0928_daily_bin1689.fits outfile=/scratch/kocevski/975101/cmap_HighResolution_677116801_677376001_4FGL_J0141.4-0928_daily_bin1689.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=25.3626 yref=-9.4825 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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/975101/ft1_filtered_4FGL_J0141.4-0928_daily_bin1689.fits evtable="EVENTS" scfile=/scratch/kocevski/975101/ft2_4FGL_J0141.4-0928_daily_bin1689.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/975101/Model_4FGL_J0141.4-0928_daily_bin1689.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/975101/ft1_filtered_4FGL_J0141.4-0928_daily_bin1689.fits.....................!
real 68.06
user 66.67
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/975101/ft1_filtered_4FGL_J0141.4-0928_daily_bin1689.fits', '/scratch/kocevski/975101/ft2_4FGL_J0141.4-0928_daily_bin1689.fits', expMap='/scratch/kocevski/975101/expmap_677116801_677376001_4FGL_J0141.4-0928_daily_bin1689.fits', expCube='/scratch/kocevski/975101/ltcube_677116801_677376001_4FGL_J0141.4-0928_daily_bin1689.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/975101/Model_4FGL_J0141.4-0928_daily_bin1689.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0141.4-0928'

4FGL J0141.4-0928
   Spectrum: LogParabola
291         norm:  5.910e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        alpha:  2.087e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  4.785e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  7.076e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/975101/ft1_filtered_4FGL_J0141.4-0928_daily_bin1689.fits
Spacecraft file(s): /scratch/kocevski/975101/ft2_4FGL_J0141.4-0928_daily_bin1689.fits
Exposure map: /scratch/kocevski/975101/expmap_677116801_677376001_4FGL_J0141.4-0928_daily_bin1689.fits
Exposure cube: /scratch/kocevski/975101/ltcube_677116801_677376001_4FGL_J0141.4-0928_daily_bin1689.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/975101/Model_4FGL_J0141.4-0928_daily_bin1689.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) = 7069.61210795

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33795E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.597       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.1880       1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.621       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    12.439       1.0000         .10000E-03   10000.    
    10 'norm      '    .58595       1.0000         .10000E-03   10000.    
    11 'norm      '    6.7623       1.0000         .10000E-03   10000.    
    12 'Prefactor '    44.707       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    11.093       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.2493       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .43549E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .84632       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3052       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7069.605     FROM MIGRAD    STATUS=CONVERGED    449 CALLS     2093 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    81.969        .50866E-05** at limit **
   2  Prefactor     .10000E-03    23.955        .52562E-06** at limit **
   3  Prefactor     .10000E-03    29.259       -.62335E-06** at limit **
   4  Prefactor     .10000E-03    42.782        .15913E-05** at limit **
   5  Prefactor     15.596        8.3206        .47857E-06   -.12673E-03
   6  Prefactor     4.1882        3.4660       -.33028E-06    .20382E-03
   7  Prefactor     25.624        32.624       -.32062E-07    .22262E-04
   8  Prefactor     .10000E-03    4.4565        .13604E-07** at limit **
   9  norm          12.439        19.223       -.36383E-07    .35870E-04
  10  norm          .58787        1.0138       -.89678E-06   -.82690E-03
  11  norm          6.7619        6.5182       -.40619E-06    .63497E-04
  12  Prefactor     44.720        88.907       -.59346E-06   -.58188E-05
  13  Prefactor     .10000E-03    2.3606        .97618E-07** at limit **
  14  norm          11.093        3.1366       -.28214E-09    .28629E-03
  15  Prefactor     4.2481        4.9752       -.15898E-05    .29167E-03
  16  Prefactor     .10134E-03    13.664       -.92504E-06** at limit **
  17  Prefactor     .10000E-03    14.819        .17639E-06** at limit **
  18  Prefactor     .10000E-03    3.7935        .53160E-07** at limit **
  19  Normalizat    .84620        .18227        .12424E-05    .15642E-03
  20  Prefactor     1.3052        .17202       -.42632E-06    .21705E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.5965
  Prefactor  = 4.18817
  Prefactor  = 25.6238
  Prefactor  = 0.0001
  norm       = 12.4394
  norm       = 0.587865
  norm       = 6.76189
  Prefactor  = 44.7196
  Prefactor  = 0.0001
  norm       = 11.0925
  Prefactor  = 4.24815
  Prefactor  = 0.000101343
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.846203
  Prefactor  = 1.30519
 **********
 **   18 **HESSE 
 **********

 FCN=   7069.605     FROM HESSE     STATUS=OK           305 CALLS     2398 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    80.281        .60327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    24.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    29.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    43.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.596        8.2709        .10142E-03   -1.4918    
   6  Prefactor     4.1882        3.4465        .13415E-03   -1.5299    
   7  Prefactor     25.624        32.593        .79142E-04   -1.4695    
   8  Prefactor     .10000E-03    4.4824        .17330E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          12.439        19.208        .11358E-03   -1.5002    
  10  norm          .58787        .96904        .11291E-02   -1.5555    
  11  norm          6.7619        6.4975        .15430E-03   -1.5188    
  12  Prefactor     44.720        88.978        .59962E-04   -1.4370    
  13  Prefactor     .10000E-03    2.3909        .12613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.093        3.1474        .74716E-04   -1.5042    
  15  Prefactor     4.2481        4.9535        .18589E-03   -1.5296    
  16  Prefactor     .10134E-03    13.888        .82457E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.7953        .15994E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .84620        .21215        .28953E-03   -.98377    
  20  Prefactor     1.3052        .20269        .24172E-03   -.83153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.06037e-10
Minuit parameter uncertainties:
  1  0.00100868
  2  4.21798e-05
  3  0.000177361
  4  0.000190171
  5  8.27147
  6  3.44663
  7  32.6157
  8  1.84636e-06
  9  19.2178
  10  0.969065
  11  6.49815
  12  89.2441
  13  3.38551e-06
  14  3.14749
  15  4.95395
  16  0.00863818
  17  1.63857e-06
  18  1.29162e-06
  19  0.212359
  20  0.202813
Done.

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

Extracting fit parameters...

4FGL J0141.4-0928
   Spectrum: LogParabola
291         norm:  6.762e+00  6.498e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        alpha:  2.087e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  4.785e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  7.076e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  1.305e+00  2.028e-01  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  8.462e-01  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.63
Ra Dec: 25.363 -9.482
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 3.38e-08 +/- 3.25e-08
Energy Flux (Fixed Index): 1.69e-05 +/- 1.62e-05

TS (Fixed Index): 1.63
Ra Dec: 25.363 -9.482
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.21e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/975101/likelihoodResults_677116801_677376001_4FGL_J0141.4-0928_daily_bin1689.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) = 7069.128424
delta logL = 0.476383667763

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7069.1272538
delta logL = 0.477553865838

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5983       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9392       1.0000          .0000       5.0000    
     3 'Normalizat'    .80198       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3331       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7069.127     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      242 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5983        64.708        .46927E-02    .11818E-02
   2  alpha         2.9392        3.9673        .39023        .91411E-04
   3  Normalizat    .80197        .59356E-01    .67056E-01    .19209E-04
   4  Prefactor     1.3331        .55752E-01    .54173E-01    .73420E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.59832
  alpha      = 2.93916
  Normalizat = 0.801973
  Prefactor  = 1.33314
 **********
 **   18 **HESSE 
 **********

 FCN=   7069.127     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5983        6.4059        .12550E-03   -1.5279    
   2  alpha         2.9392        .99464        .14054E-01    .17658    
   3  Normalizat    .80197        .20632        .29667E-03   -.99996    
   4  Prefactor     1.3331        .20510        .23951E-03   -.82327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68102e-10
Minuit parameter uncertainties:
  1  6.40689
  2  1.02392
  3  0.206525
  4  0.205229
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/975101': 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) = 7069.1272538
delta logL = 0.477553870113

Extracting fit parameters...

4FGL J0141.4-0928
   Spectrum: LogParabola
291         norm:  4.598e+00  6.407e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        alpha:  2.939e+00  1.024e+00  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  4.785e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  7.076e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  1.333e+00  2.052e-01  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  8.020e-01  2.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.64
Ra Dec: 25.363 -9.482
Photon Index (Free Index): 2.94 +/- 1.02
Photon Flux (Free Index): 6.69e-08 +/- 5.31e-08
Energy Flux (Free Index): 1.41e-05 +/- 1.12e-05

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/975101/cmap_HighResolution_677116801_677376001_4FGL_J0141.4-0928_daily_bin1689.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.21e-05', comment='SUCCESS', photon_flux='3.38e-08', energy_flux2='1.41e-05', photon_flux_error='3.25e-08', dlogl='4.78e-01', energy_flux='1.69e-05', photon_flux2='6.69e-08', job_status='DONE', time_completed='2022-06-20 00:20:55.398915', photon_index_error2='1.02', photon_index2='2.94', ts='1.63', fit_tolerance='1e-08', GAL='1.31', photon_index_error='0.00', photon_flux_upper_limit='1.04e-07', energy_flux_error2='1.12e-05', EG='0.85', time_epoch_completed='1655709655.4', return_code='0', job_id='975101', GAL2='1.33', EG2='0.80', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='5.31e-08', ts2='2.64', photon_index='2.09' WHERE bin_id='1689' AND source_name='4FGL J0141.4-0928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun 20 00:20:55 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 975101: <4FGL_J0141.4-0928_daily_bin1689> in cluster <slac> Done

Job <4FGL_J0141.4-0928_daily_bin1689> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Jun 20 00:04:44 2022
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jun 20 00:08:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jun 20 00:08:18 2022
Terminated at Mon Jun 20 00:20:56 2022
Results reported at Mon Jun 20 00:20:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0141.4-0928_daily_bin1689 25.3626 -9.4825 677116801 677376001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0141.4-0928 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   652.55 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            972 sec.

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

