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 35 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.
Done.


Performing analysis on: 4FGL_J0347.7-3616_daily_bin1670
RA = 56.947, Dec = -36.2808
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='862770', job_status='RUN', time_executed='2022-04-24 00:15:24.496284', time_epoch_executed='1650784524.5' WHERE source_name='4FGL J0347.7-3616' and cadence='daily' and bin_id='1670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/862770

Creating custom pfile directory:
/scratch/kocevski/862770/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/862770/ft1_4FGL_J0347.7-3616_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/862770/ft2_4FGL_J0347.7-3616_daily_bin1670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/862770/ft1_4FGL_J0347.7-3616_daily_bin1670.fits outfile=/scratch/kocevski/862770/ft1_filteredMKT_4FGL_J0347.7-3616_daily_bin1670.fits ra=56.947 dec=-36.2808 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.08
user 4.83
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/862770/ft2_4FGL_J0347.7-3616_daily_bin1670.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/862770/ft2_4FGL_J0347.7-3616_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/862770/ft1_filteredMKT_4FGL_J0347.7-3616_daily_bin1670.fits evtable="EVENTS" outfile="/scratch/kocevski/862770/ft1_filtered_4FGL_J0347.7-3616_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 2.10
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 393

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/862770/ft1_filtered_4FGL_J0347.7-3616_daily_bin1670.fits" evtable="EVENTS" scfile=/scratch/kocevski/862770/ft2_4FGL_J0347.7-3616_daily_bin1670.fits sctable="SC_DATA" outfile=/scratch/kocevski/862770/ltcube_672192001_672451201_4FGL_J0347.7-3616_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/862770/ft2_4FGL_J0347.7-3616_daily_bin1670.fits
.....................!
real 14.11
user 13.73
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/862770/ft1_filtered_4FGL_J0347.7-3616_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862770/ft2_4FGL_J0347.7-3616_daily_bin1670.fits sctable="SC_DATA" expcube=/scratch/kocevski/862770/ltcube_672192001_672451201_4FGL_J0347.7-3616_daily_bin1670.fits outfile=/scratch/kocevski/862770/expmap_672192001_672451201_4FGL_J0347.7-3616_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/862770/ltcube_672192001_672451201_4FGL_J0347.7-3616_daily_bin1670.fits
.....................!
real 192.01
user 185.31
sys 6.25

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
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 178 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0347.7-3616 @ 56.947 -36.2808

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/862770/ft1_filtered_4FGL_J0347.7-3616_daily_bin1670.fits scfile=/scratch/kocevski/862770/ft2_4FGL_J0347.7-3616_daily_bin1670.fits outfile=/scratch/kocevski/862770/cmap_672192001_672451201_4FGL_J0347.7-3616_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=56.947 yref=-36.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/862770/ft1_filtered_4FGL_J0347.7-3616_daily_bin1670.fits scfile=/scratch/kocevski/862770/ft2_4FGL_J0347.7-3616_daily_bin1670.fits outfile=/scratch/kocevski/862770/cmap_HighResolution_672192001_672451201_4FGL_J0347.7-3616_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=56.947 yref=-36.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.57
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/862770/ft1_filtered_4FGL_J0347.7-3616_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862770/ft2_4FGL_J0347.7-3616_daily_bin1670.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/862770/Model_4FGL_J0347.7-3616_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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/862770/ft1_filtered_4FGL_J0347.7-3616_daily_bin1670.fits.....................!
real 93.36
user 91.85
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/862770/ft1_filtered_4FGL_J0347.7-3616_daily_bin1670.fits', '/scratch/kocevski/862770/ft2_4FGL_J0347.7-3616_daily_bin1670.fits', expMap='/scratch/kocevski/862770/expmap_672192001_672451201_4FGL_J0347.7-3616_daily_bin1670.fits', expCube='/scratch/kocevski/862770/ltcube_672192001_672451201_4FGL_J0347.7-3616_daily_bin1670.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/862770/Model_4FGL_J0347.7-3616_daily_bin1670.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0347.7-3616'

4FGL J0347.7-3616
   Spectrum: PowerLaw
268    Prefactor:  1.940e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.094e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/862770/ft1_filtered_4FGL_J0347.7-3616_daily_bin1670.fits
Spacecraft file(s): /scratch/kocevski/862770/ft2_4FGL_J0347.7-3616_daily_bin1670.fits
Exposure map: /scratch/kocevski/862770/expmap_672192001_672451201_4FGL_J0347.7-3616_daily_bin1670.fits
Exposure cube: /scratch/kocevski/862770/ltcube_672192001_672451201_4FGL_J0347.7-3616_daily_bin1670.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/862770/Model_4FGL_J0347.7-3616_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) = 4290.0624574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13383E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    39.363       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .80700       1.0000         .10000E-03   10000.    
     7 'Prefactor '    66.971       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.9866       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.7825       1.0000         .10000E-03   10000.    
    12 'Prefactor '    56.677       1.0000         .10000E-03   10000.    
    13 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .82850       1.0000         .10000E-03   10000.    
    15 'norm      '    35.779       1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.032       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.0711       1.0000         .10000E-03   10000.    
    19 'norm      '    2.4545       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3154       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .65721       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4290.050     FROM MIGRAD    STATUS=CONVERGED    436 CALLS     2174 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    453.68       -.34405E-04** at limit **
   2  Prefactor     39.371        28.442       -.10837E-04   -.23922E-04
   3  Prefactor     .10000E-03    21.791       -.28887E-04** at limit **
   4  Prefactor     .10000E-03    12.631       -.20049E-05** at limit **
   5  norm          .10000E-03    .93952        .86823E-08** at limit **
   6  norm          .80695        .98750        .21953E-06   -.17876E-03
   7  Prefactor     66.979        50.504        .20294E-05    .39821E-04
   8  Prefactor     .10000E-03    27.699        .60620E-05** at limit **
   9  Prefactor     3.9880        7.2659       -.51068E-05   -.34792E-03
  10  Prefactor     .10000E-03    20.852        .23838E-04** at limit **
  11  norm          2.7825        1.4654        .16940E-06   -.11953E-03
  12  Prefactor     56.725        162.92        .57672E-04   -.13912E-04
  13  norm          .10000E-03    6.4310       -.19964E-06** at limit **
  14  norm          .82860        .49783       -.20651E-06   -.22469E-02
  15  norm          35.779        14.465       -.52993E-06   -.15292E-03
  16  Prefactor     27.043        43.160       -.43709E-06   -.16677E-05
  17  Prefactor     .10000E-03    12.386        .15404E-05** at limit **
  18  Prefactor     6.0706        17.343        .25002E-05   -.76890E-04
  19  norm          2.4547        1.0562       -.11875E-06   -.92951E-04
  20  Normalizat    1.3152        .22906        .10428E-05   -.93360E-04
  21  Prefactor     .65737        .23369       -.11898E-05   -.17212E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 39.3712
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.806947
  Prefactor  = 66.9789
  Prefactor  = 0.0001
  Prefactor  = 3.98803
  Prefactor  = 0.0001
  norm       = 2.78249
  Prefactor  = 56.7248
  norm       = 0.0001
  norm       = 0.828601
  norm       = 35.779
  Prefactor  = 27.0426
  Prefactor  = 0.0001
  Prefactor  = 6.07062
  norm       = 2.45465
  Normalizat = 1.31518
  Prefactor  = 0.657375
 **********
 **   18 **HESSE 
 **********

 FCN=   4290.050     FROM HESSE     STATUS=OK           315 CALLS     2489 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    454.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     39.371        28.591        .63886E-04   -1.4452    
   3  Prefactor     .10000E-03    21.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .94107        .61997E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .80695        .94303        .68097E-03   -1.5528    
   7  Prefactor     66.979        50.561        .49044E-04   -1.4069    
   8  Prefactor     .10000E-03    27.714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.9880        7.3018        .20200E-03   -1.5309    
  10  Prefactor     .10000E-03    20.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.7825        1.4612        .52688E-04   -1.5374    
  12  Prefactor     56.725        163.04        .53285E-04   -1.4200    
  13  norm          .10000E-03    6.4342        .16223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .82860        .49175        .32955E-04   -1.5526    
  15  norm          35.779        14.450        .66999E-04   -1.4511    
  16  Prefactor     27.043        43.346        .77052E-04   -1.4667    
  17  Prefactor     .10000E-03    12.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.0706        17.452        .16295E-03   -1.5215    
  19  norm          2.4547        1.0596        .37816E-04   -1.5395    
  20  Normalizat    1.3152        .27397        .22828E-03   -.83114    
  21  Prefactor     .65737        .27434        .33886E-03   -1.0522    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.95445e-10
Minuit parameter uncertainties:
  1  0.000410356
  2  28.6006
  3  6.70468e-05
  4  9.97781e-06
  5  1.70813e-06
  6  0.943046
  7  50.5933
  8  7.1952e-06
  9  7.30344
  10  0.000178846
  11  1.46126
  12  164.348
  13  5.0354e-07
  14  0.491754
  15  14.4511
  16  43.3969
  17  1.39454e-05
  18  17.4663
  19  1.05959
  20  0.274273
  21  0.274902
Done.

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

Extracting fit parameters...

4FGL J0347.7-3616
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.788e-04  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.094e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  6.574e-01  2.749e-01  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
562   Normalization:  1.315e+00  2.743e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 56.947 -36.281
Photon Flux Upper Limit: 9.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/862770/likelihoodResults_672192001_672451201_4FGL_J0347.7-3616_daily_bin1670.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) = 4290.0506762
delta logL = -0.000228128688832

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4290.05044965
delta logL = -1.56946771313e-06

Fit tolerance = 1e-08

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

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

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10168E-03    .32759        .72572E-01** at limit **
   2  Index         2.6831        8.3974        .50000        .13026E-04
   3  Normalizat    1.3152        .10013E-02    .22828E-03   -.27072E-04
   4  Prefactor     .65738        .10920E-02    .33886E-03    .20599E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101677
  Index      = 2.68313
  Normalizat = 1.31518
  Prefactor  = 0.657375
 **********
 **   18 **HESSE 
 **********

 FCN=   4290.050     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      324 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10168E-03    47.746        .39241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6831        8.5955        .50000       -.48180    
   3  Normalizat    1.3152        .89249E-02    .45657E-04   -.83114    
   4  Prefactor     .65738        .97330E-02    .13555E-04   -1.0522    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.42825e-09
Minuit parameter uncertainties:
  1  0.0179111
  2  184.786
  3  0.00892487
  4  0.00973303
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/862770': 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) = 4290.0504486
delta logL = -5.23834387423e-07

Extracting fit parameters...

4FGL J0347.7-3616
   Spectrum: PowerLaw
268    Prefactor:  1.017e-04  1.791e-02  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.683e+00  1.848e+02  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  1.094e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  6.574e-01  9.733e-03  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
562   Normalization:  1.315e+00  8.925e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 56.947 -36.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/862770/cmap_HighResolution_672192001_672451201_4FGL_J0347.7-3616_daily_bin1670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.53e-03', job_status='DONE', photon_flux_upper_limit='9.75e-08', time_completed='2022-04-24 00:25:17.953081', job_id='862770', GAL2='0.66', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1650785117.95', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='-5.24e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1670' AND source_name='4FGL J0347.7-3616' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 00:25:17 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 862717: <4FGL_J0347.7-3616_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0347.7-3616_daily_bin1670> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:43 2022
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:14:23 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:14:23 2022
Terminated at Sun Apr 24 00:24:51 2022
Results reported at Sun Apr 24 00:24:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0347.7-3616_daily_bin1670 56.947 -36.2808 672192001 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0347.7-3616 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   588.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             360.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   628 sec.
    Turnaround time :                            968 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 862770: <4FGL_J0347.7-3616_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0347.7-3616_daily_bin1670> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:45 2022
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:14:39 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:14:39 2022
Terminated at Sun Apr 24 00:25:18 2022
Results reported at Sun Apr 24 00:25:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0347.7-3616_daily_bin1670 56.947 -36.2808 672192001 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0347.7-3616 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   593.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   639 sec.
    Turnaround time :                            993 sec.

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

