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


Performing analysis on: 4FGL_J0141.4-0928_daily_bin1670
RA = 25.3626, Dec = -9.4825
tmin = 672192001, tmax = 672451201
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='862352', job_status='RUN', time_executed='2022-04-24 00:14:54.225307', time_epoch_executed='1650784494.23' WHERE source_name='4FGL J0141.4-0928' and cadence='daily' and bin_id='1670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/862352

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/862352/ft1_4FGL_J0141.4-0928_daily_bin1670.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/862352/ft2_4FGL_J0141.4-0928_daily_bin1670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/862352/ft1_4FGL_J0141.4-0928_daily_bin1670.fits outfile=/scratch/kocevski/862352/ft1_filteredMKT_4FGL_J0141.4-0928_daily_bin1670.fits ra=25.3626 dec=-9.4825 rad=12.0 tmin=672192001.0 tmax=672451201.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 5.13
user 4.82
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/862352/ft2_4FGL_J0141.4-0928_daily_bin1670.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/862352/ft1_filteredMKT_4FGL_J0141.4-0928_daily_bin1670.fits evtable="EVENTS" outfile="/scratch/kocevski/862352/ft1_filtered_4FGL_J0141.4-0928_daily_bin1670.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.36
sys 0.16

Number of photons that the gtmktime cut: 424

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/862352/ft1_filtered_4FGL_J0141.4-0928_daily_bin1670.fits" evtable="EVENTS" scfile=/scratch/kocevski/862352/ft2_4FGL_J0141.4-0928_daily_bin1670.fits sctable="SC_DATA" outfile=/scratch/kocevski/862352/ltcube_672192001_672451201_4FGL_J0141.4-0928_daily_bin1670.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/862352/ft2_4FGL_J0141.4-0928_daily_bin1670.fits
.....................!
real 16.46
user 15.78
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/862352/ft1_filtered_4FGL_J0141.4-0928_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862352/ft2_4FGL_J0141.4-0928_daily_bin1670.fits sctable="SC_DATA" expcube=/scratch/kocevski/862352/ltcube_672192001_672451201_4FGL_J0141.4-0928_daily_bin1670.fits outfile=/scratch/kocevski/862352/expmap_672192001_672451201_4FGL_J0141.4-0928_daily_bin1670.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/862352/ltcube_672192001_672451201_4FGL_J0141.4-0928_daily_bin1670.fits
.....................!
real 191.01
user 185.48
sys 5.18

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/862352/ft1_filtered_4FGL_J0141.4-0928_daily_bin1670.fits scfile=/scratch/kocevski/862352/ft2_4FGL_J0141.4-0928_daily_bin1670.fits outfile=/scratch/kocevski/862352/cmap_672192001_672451201_4FGL_J0141.4-0928_daily_bin1670.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/862352/ft1_filtered_4FGL_J0141.4-0928_daily_bin1670.fits scfile=/scratch/kocevski/862352/ft2_4FGL_J0141.4-0928_daily_bin1670.fits outfile=/scratch/kocevski/862352/cmap_HighResolution_672192001_672451201_4FGL_J0141.4-0928_daily_bin1670.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/862352/ft1_filtered_4FGL_J0141.4-0928_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862352/ft2_4FGL_J0141.4-0928_daily_bin1670.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/862352/Model_4FGL_J0141.4-0928_daily_bin1670.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/862352/ft1_filtered_4FGL_J0141.4-0928_daily_bin1670.fits.....................!
real 54.19
user 52.79
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/862352/ft1_filtered_4FGL_J0141.4-0928_daily_bin1670.fits', '/scratch/kocevski/862352/ft2_4FGL_J0141.4-0928_daily_bin1670.fits', expMap='/scratch/kocevski/862352/expmap_672192001_672451201_4FGL_J0141.4-0928_daily_bin1670.fits', expCube='/scratch/kocevski/862352/ltcube_672192001_672451201_4FGL_J0141.4-0928_daily_bin1670.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/862352/Model_4FGL_J0141.4-0928_daily_bin1670.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/862352/ft1_filtered_4FGL_J0141.4-0928_daily_bin1670.fits
Spacecraft file(s): /scratch/kocevski/862352/ft2_4FGL_J0141.4-0928_daily_bin1670.fits
Exposure map: /scratch/kocevski/862352/expmap_672192001_672451201_4FGL_J0141.4-0928_daily_bin1670.fits
Exposure cube: /scratch/kocevski/862352/ltcube_672192001_672451201_4FGL_J0141.4-0928_daily_bin1670.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/862352/Model_4FGL_J0141.4-0928_daily_bin1670.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) = 4863.46715216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62713       1.0000         .10000E-03   10000.    
     2 'Prefactor '    48.125       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    33.402       1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.024       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.7793       1.0000         .10000E-03   10000.    
     7 'Prefactor '    58.493       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10308E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.7091       1.0000         .10000E-03   10000.    
    11 'norm      '    16.476       1.0000         .10000E-03   10000.    
    12 'Prefactor '    64.852       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    7.8828       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.5862       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1867       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0213       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=   4863.465     FROM MIGRAD    STATUS=CONVERGED    436 CALLS     2044 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16963        30.393       -.14121E-05    .20100E-03
   2  Prefactor     48.182        47.183        .11601E-06    .26040E-03
   3  Prefactor     .10000E-03    23.485        .45730E-06** at limit **
   4  Prefactor     33.380        74.828        .75573E-06   -.22366E-04
   5  Prefactor     39.018        18.384        .21240E-06    .22000E-04
   6  Prefactor     2.7807        4.7550        .30127E-06    .36093E-04
   7  Prefactor     58.487        50.481        .13229E-07   -.17108E-04
   8  Prefactor     .10000E-03    13.822       -.90693E-06** at limit **
   9  norm          .10000E-03    39.876       -.38865E-06** at limit **
  10  norm          1.7087        1.4709        .83198E-07    .19613E-04
  11  norm          16.473        9.0402        .18911E-06   -.10932E-04
  12  Prefactor     64.642        152.79       -.19517E-05   -.10040E-03
  13  Prefactor     .10000E-03    6.2102        .16374E-06** at limit **
  14  norm          7.8816        3.7027        .83602E-07   -.33375E-04
  15  Prefactor     .10000E-03    4.1558        .25620E-06** at limit **
  16  Prefactor     .10000E-03    10.883        .11734E-06** at limit **
  17  Prefactor     .10000E-03    11.112        .92685E-07** at limit **
  18  Prefactor     2.5788        30.490        .23410E-04    .21991E-04
  19  Normalizat    1.1866        .23180        .14624E-05   -.15822E-03
  20  Prefactor     1.0217        .21517       -.48129E-05    .39720E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.169632
  Prefactor  = 48.1822
  Prefactor  = 0.0001
  Prefactor  = 33.3803
  Prefactor  = 39.0185
  Prefactor  = 2.7807
  Prefactor  = 58.4872
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.70868
  norm       = 16.4725
  Prefactor  = 64.6424
  Prefactor  = 0.0001
  norm       = 7.8816
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.57883
  Normalizat = 1.18661
  Prefactor  = 1.0217
 **********
 **   18 **HESSE 
 **********

 FCN=   4863.465     FROM HESSE     STATUS=OK           299 CALLS     2343 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16963        41.969        .10805       -1.5626    
   2  Prefactor     48.182        47.162        .28901E-03   -1.4319    
   3  Prefactor     .10000E-03    23.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     33.380        74.868        .69335E-04   -1.4552    
   5  Prefactor     39.018        18.415        .64162E-04   -1.4458    
   6  Prefactor     2.7807        4.7388        .18691E-03   -1.5374    
   7  Prefactor     58.487        50.438        .52456E-04   -1.4177    
   8  Prefactor     .10000E-03    14.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    40.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.7087        1.4727        .74964E-04   -1.5447    
  11  norm          16.473        9.0400        .98673E-04   -1.4896    
  12  Prefactor     64.642        153.21        .24917E-03   -1.4098    
  13  Prefactor     .10000E-03    6.2677        .16972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.8816        3.7175        .87194E-04   -1.5146    
  15  Prefactor     .10000E-03    4.2159        .13876E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.5788        30.765        .12688E-02   -1.5387    
  19  Normalizat    1.1866        .26942        .27713E-03   -.87018    
  20  Prefactor     1.0217        .24636        .28187E-03   -.92010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0416e-09
Minuit parameter uncertainties:
  1  5.3386
  2  47.1989
  3  3.74848e-05
  4  75.0796
  5  18.4176
  6  4.73941
  7  50.4748
  8  5.34809e-05
  9  7.83483e-05
  10  1.4727
  11  9.04077
  12  154.157
  13  1.78735e-05
  14  3.71762
  15  6.91021e-06
  16  1.22047e-05
  17  1.08787e-05
  18  17.8254
  19  0.269738
  20  0.246636
Done.

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

Extracting fit parameters...

4FGL J0141.4-0928
   Spectrum: LogParabola
291         norm:  1.647e+01  9.041e+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.022e+00  2.466e-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:  1.187e+00  2.697e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.62
Ra Dec: 25.363 -9.482
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 8.23e-08 +/- 4.52e-08
Energy Flux (Fixed Index): 4.12e-05 +/- 2.26e-05

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) = 4863.18223251
delta logL = 0.283207990362

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4863.16291599
delta logL = 0.302524512819

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.975       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7595       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2074       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0116       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=   4863.163     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      210 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.975        9.1832        .25052E-02    .30175E-02
   2  alpha         1.7592        .36328        .24989       -.20230E-04
   3  Normalizat    1.2074        .21828        .62201E-01    .58166E-05
   4  Prefactor     1.0117        .20884        .64027E-01    .64042E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 15.9749
  alpha      = 1.75925
  Normalizat = 1.20736
  Prefactor  = 1.01167
 **********
 **   18 **HESSE 
 **********

 FCN=   4863.163     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.975        9.5065        .10021E-03   -1.4908    
   2  alpha         1.7592        .40566        .10227E-01   -.30082    
   3  Normalizat    1.2074        .25406        .27512E-03   -.86376    
   4  Prefactor     1.0117        .24295        .28318E-03   -.92342    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71016e-09
Minuit parameter uncertainties:
  1  9.50743
  2  0.407634
  3  0.254318
  4  0.243216
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/862352': 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) = 4863.16291579
delta logL = 0.302524715024

Extracting fit parameters...

4FGL J0141.4-0928
   Spectrum: LogParabola
291         norm:  1.597e+01  9.507e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        alpha:  1.759e+00  4.076e-01  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.012e+00  2.432e-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:  1.207e+00  2.543e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.20
Ra Dec: 25.363 -9.482
Photon Index (Free Index): 1.76 +/- 0.41
Photon Flux (Free Index): 6.00e-08 +/- 4.38e-08
Energy Flux (Free Index): 6.06e-05 +/- 4.88e-05

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/862352/cmap_HighResolution_672192001_672451201_4FGL_J0141.4-0928_daily_bin1670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.23e-08', energy_flux2='6.06e-05', photon_flux_error='4.52e-08', dlogl='3.03e-01', energy_flux='4.12e-05', photon_flux2='6.00e-08', job_status='DONE', time_completed='2022-04-24 00:23:23.838645', photon_index_error2='0.41', photon_index2='1.76', ts='10.62', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='4.88e-05', EG='1.19', time_epoch_completed='1650785003.84', return_code='0', job_id='862352', GAL2='1.01', EG2='1.21', return_code2='0', energy_flux_error='2.26e-05', photon_flux_error2='4.38e-08', ts2='11.20', photon_index='2.09' WHERE bin_id='1670' AND source_name='4FGL J0141.4-0928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 00:23:23 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 862282: <4FGL_J0141.4-0928_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0141.4-0928_daily_bin1670> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:23 2022
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:11:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:11:46 2022
Terminated at Sun Apr 24 00:21:24 2022
Results reported at Sun Apr 24 00:21:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0141.4-0928_daily_bin1670 25.3626 -9.4825 672192001 672451201 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 :                                   505.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             296.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   578 sec.
    Turnaround time :                            781 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 862352: <4FGL_J0141.4-0928_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0141.4-0928_daily_bin1670> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:26 2022
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:12:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:12:06 2022
Terminated at Sun Apr 24 00:23:25 2022
Results reported at Sun Apr 24 00:23:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0141.4-0928_daily_bin1670 25.3626 -9.4825 672192001 672451201 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 :                                   512.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   678 sec.
    Turnaround time :                            899 sec.

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

