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


Performing analysis on: 4FGL_J0443.3-6652_daily_bin1685
RA = 70.8483, Dec = -66.8673
tmin = 676080001, tmax = 676339201
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='365418', job_status='RUN', time_executed='2022-06-08 00:38:57.585291', time_epoch_executed='1654673937.59' WHERE source_name='4FGL J0443.3-6652' and cadence='daily' and bin_id='1685'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/365418

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/365418/ft1_4FGL_J0443.3-6652_daily_bin1685.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/365418/ft2_4FGL_J0443.3-6652_daily_bin1685.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/365418/ft1_4FGL_J0443.3-6652_daily_bin1685.fits outfile=/scratch/kocevski/365418/ft1_filteredMKT_4FGL_J0443.3-6652_daily_bin1685.fits ra=70.8483 dec=-66.8673 rad=12.0 tmin=676080001.0 tmax=676339201.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 3.67
user 3.36
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/365418/ft2_4FGL_J0443.3-6652_daily_bin1685.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/365418/ft2_4FGL_J0443.3-6652_daily_bin1685.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/365418/ft1_filteredMKT_4FGL_J0443.3-6652_daily_bin1685.fits evtable="EVENTS" outfile="/scratch/kocevski/365418/ft1_filtered_4FGL_J0443.3-6652_daily_bin1685.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.52
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 1016

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/365418/ft1_filtered_4FGL_J0443.3-6652_daily_bin1685.fits" evtable="EVENTS" scfile=/scratch/kocevski/365418/ft2_4FGL_J0443.3-6652_daily_bin1685.fits sctable="SC_DATA" outfile=/scratch/kocevski/365418/ltcube_676080001_676339201_4FGL_J0443.3-6652_daily_bin1685.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/365418/ft2_4FGL_J0443.3-6652_daily_bin1685.fits
.....................!
real 14.79
user 14.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/365418/ft1_filtered_4FGL_J0443.3-6652_daily_bin1685.fits evtable="EVENTS" scfile=/scratch/kocevski/365418/ft2_4FGL_J0443.3-6652_daily_bin1685.fits sctable="SC_DATA" expcube=/scratch/kocevski/365418/ltcube_676080001_676339201_4FGL_J0443.3-6652_daily_bin1685.fits outfile=/scratch/kocevski/365418/expmap_676080001_676339201_4FGL_J0443.3-6652_daily_bin1685.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/365418/ltcube_676080001_676339201_4FGL_J0443.3-6652_daily_bin1685.fits
.....................!
real 191.78
user 186.06
sys 4.92

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 LMC-FarWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-North.fits is the correct path to the extended template.
Extended source SMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Added 189 point sources and 5 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 J0443.3-6652 @ 70.8483 -66.8673

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/365418/ft1_filtered_4FGL_J0443.3-6652_daily_bin1685.fits scfile=/scratch/kocevski/365418/ft2_4FGL_J0443.3-6652_daily_bin1685.fits outfile=/scratch/kocevski/365418/cmap_676080001_676339201_4FGL_J0443.3-6652_daily_bin1685.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=70.8483 yref=-66.8673 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.60
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/365418/ft1_filtered_4FGL_J0443.3-6652_daily_bin1685.fits scfile=/scratch/kocevski/365418/ft2_4FGL_J0443.3-6652_daily_bin1685.fits outfile=/scratch/kocevski/365418/cmap_HighResolution_676080001_676339201_4FGL_J0443.3-6652_daily_bin1685.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=70.8483 yref=-66.8673 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/365418/ft1_filtered_4FGL_J0443.3-6652_daily_bin1685.fits evtable="EVENTS" scfile=/scratch/kocevski/365418/ft2_4FGL_J0443.3-6652_daily_bin1685.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/365418/Model_4FGL_J0443.3-6652_daily_bin1685.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
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
adding source SMC-Galaxy
Working on...
/scratch/kocevski/365418/ft1_filtered_4FGL_J0443.3-6652_daily_bin1685.fits.....................!
real 9195.35
user 9171.24
sys 4.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/365418/ft1_filtered_4FGL_J0443.3-6652_daily_bin1685.fits', '/scratch/kocevski/365418/ft2_4FGL_J0443.3-6652_daily_bin1685.fits', expMap='/scratch/kocevski/365418/expmap_676080001_676339201_4FGL_J0443.3-6652_daily_bin1685.fits', expCube='/scratch/kocevski/365418/ltcube_676080001_676339201_4FGL_J0443.3-6652_daily_bin1685.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/365418/Model_4FGL_J0443.3-6652_daily_bin1685.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0443.3-6652'

4FGL J0443.3-6652
   Spectrum: PowerLaw
292    Prefactor:  3.806e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
293        Index:  2.393e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.110e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/365418/ft1_filtered_4FGL_J0443.3-6652_daily_bin1685.fits
Spacecraft file(s): /scratch/kocevski/365418/ft2_4FGL_J0443.3-6652_daily_bin1685.fits
Exposure map: /scratch/kocevski/365418/expmap_676080001_676339201_4FGL_J0443.3-6652_daily_bin1685.fits
Exposure cube: /scratch/kocevski/365418/ltcube_676080001_676339201_4FGL_J0443.3-6652_daily_bin1685.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/365418/Model_4FGL_J0443.3-6652_daily_bin1685.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) = 10737.7291819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.359       1.0000         .10000E-03   10000.    
     2 'norm      '    15.566       1.0000         .10000E-03   10000.    
     3 'norm      '    .97995       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13613E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.989       1.0000         .10000E-03   10000.    
     7 'norm      '    1.3285       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.470       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10282E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.0127       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10552E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.2889       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.1565       1.0000         .10000E-03   10000.    
    15 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.5219       1.0000         .10000E-03   10000.    
    17 'norm      '    18.113       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.4777       1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.071       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .92049       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0169       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10737.65     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2565 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.344        29.320       -.12739E-04   -.19481E-04
   2  norm          15.566        7.0646       -.23058E-07   -.14081E-04
   3  norm          .97989        .89041       -.21045E-07   -.86822E-04
   4  Prefactor     .10000E-03    2.1762        .18139E-06** at limit **
   5  Prefactor     .10000E-03    2.1483       -.49947E-07** at limit **
   6  Prefactor     26.988        21.107       -.46322E-06    .11379E-04
   7  norm          1.3198        1.7757        .44499E-06   -.16321E-02
   8  Prefactor     .10000E-03    7.5958       -.23876E-05** at limit **
   9  Prefactor     17.483        31.112        .15269E-04    .30784E-04
  10  Prefactor     .10000E-03    12.256       -.53900E-05** at limit **
  11  Prefactor     3.0122        25.494       -.91471E-06    .45464E-05
  12  Prefactor     .10000E-03    45.320        .11134E-05** at limit **
  13  norm          3.2885        2.8583       -.14768E-06    .17696E-03
  14  Prefactor     3.1566        7.6939       -.12201E-06   -.17054E-04
  15  norm          .10000E-03    13.267        .44017E-05** at limit **
  16  Prefactor     5.5213        4.5203       -.12246E-06   -.30503E-04
  17  norm          18.112        7.9616       -.55561E-07    .13151E-05
  18  Prefactor     .10000E-03    7.7918        .24893E-05** at limit **
  19  Prefactor     6.4767        8.1052       -.19939E-06   -.42361E-04
  20  Prefactor     23.069        13.601        .54646E-07   -.33522E-05
  21  norm          .10000E-03    1.2042        .14031E-07** at limit **
  22  Normalizat    .92062        .15459        .65765E-06    .43706E-04
  23  Prefactor     1.0169        .10153       -.15525E-07    .70934E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.3441
  norm       = 15.5658
  norm       = 0.979892
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 26.9882
  norm       = 1.31985
  Prefactor  = 0.0001
  Prefactor  = 17.4834
  Prefactor  = 0.0001
  Prefactor  = 3.01215
  Prefactor  = 0.0001
  norm       = 3.28847
  Prefactor  = 3.15657
  norm       = 0.0001
  Prefactor  = 5.52134
  norm       = 18.1124
  Prefactor  = 0.0001
  Prefactor  = 6.47673
  Prefactor  = 23.0691
  norm       = 0.0001
  Normalizat = 0.920615
  Prefactor  = 1.01695
 **********
 **   18 **HESSE 
 **********

 FCN=   10737.65     FROM HESSE     STATUS=OK           378 CALLS     2943 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.344        29.402        .65571E-04   -1.4485    
   2  norm          15.566        7.0010        .10152E-03   -1.4919    
   3  norm          .97989        .85910        .85469E-04   -1.5510    
   4  Prefactor     .10000E-03    9.7843        .29607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.1516        .14832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     26.988        21.131        .77113E-04   -1.4668    
   7  norm          1.3198        6.1905        .19058E-02   -1.5478    
   8  Prefactor     .10000E-03    7.6506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.483        32.837        .95824E-04   -1.4871    
  10  Prefactor     .10000E-03    12.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.0122        25.439        .23383E-03   -1.5361    
  12  Prefactor     .10000E-03    45.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.2885        2.8456        .15558E-03   -1.5345    
  14  Prefactor     3.1566        7.6678        .22814E-03   -1.5353    
  15  norm          .10000E-03    13.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.5213        4.5177        .17098E-03   -1.5238    
  17  norm          18.112        7.9567        .94107E-04   -1.4857    
  18  Prefactor     .10000E-03    7.7952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.4767        8.0975        .15769E-03   -1.5199    
  20  Prefactor     23.069        13.601        .83394E-04   -1.4747    
  21  norm          .10000E-03    1.2614        .22207E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .92062        .17758        .31742E-03   -.95739    
  23  Prefactor     1.0169        .11530        .20265E-03   -.92167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.56498e-09
Minuit parameter uncertainties:
  1  29.4138
  2  7.00136
  3  0.859114
  4  0.000275256
  5  2.3211e-07
  6  21.1366
  7  5.71759
  8  4.14845e-06
  9  32.8709
  10  6.51933e-05
  11  17.517
  12  1.83404e-05
  13  2.84572
  14  7.6702
  15  3.07255e-06
  16  4.51798
  17  7.95714
  18  1.76265e-06
  19  8.0989
  20  13.6029
  21  5.91209e-07
  22  0.177689
  23  0.115328
Done.

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

Extracting fit parameters...

4FGL J0443.3-6652
   Spectrum: PowerLaw
292    Prefactor:  1.000e-04  4.148e-06  1.000e-04  1.000e+04 ( 1.000e-13)
293        Index:  2.393e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.110e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.017e+00  1.153e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  9.206e-01  1.777e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 70.848 -66.867
Photon Flux Upper Limit: 5.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/365418/likelihoodResults_676080001_676339201_4FGL_J0443.3-6652_daily_bin1685.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) = 10737.6536141
delta logL = -0.000623003434157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10737.6529911
delta logL = 1.09266693471e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3868       1.0000          .0000       10.000    
     3 'Normalizat'    .92061       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0169       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6190E+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=   10737.65     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      246 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10021E-03    93.357        .18142E-02** at limit **
   2  Index         2.3611        8.3910        .50000        .59822E-05
   3  Normalizat    .92061        .14193E-01    .31741E-03   -.11175E-04
   4  Prefactor     1.0169        .95391E-02    .20265E-03   -.11220E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100206
  Index      = 2.36115
  Normalizat = 0.920615
  Prefactor  = 1.01695
 **********
 **   18 **HESSE 
 **********

 FCN=   10737.65     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10021E-03    424.22        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3611        5.6194        .50000       -.55597    
   3  Normalizat    .92061        .32057E-01    .12697E-04   -.95739    
   4  Prefactor     1.0169        .21542E-01    .81060E-05   -.92167    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.58696e-09
Minuit parameter uncertainties:
  1  0.0188277
  2  890.357
  3  0.0320574
  4  0.021542
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/365418': 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) = 10737.6529911
delta logL = 3.70018824469e-08

Extracting fit parameters...

4FGL J0443.3-6652
   Spectrum: PowerLaw
292    Prefactor:  1.002e-04  1.883e-02  1.000e-04  1.000e+04 ( 1.000e-13)
293        Index:  2.361e+00  8.904e+02  0.000e+00  1.000e+01 (-1.000e+00)
294        Scale:  1.110e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.017e+00  2.154e-02  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  9.206e-01  3.206e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 70.848 -66.867

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/365418/cmap_HighResolution_676080001_676339201_4FGL_J0443.3-6652_daily_bin1685.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.12e-03', job_status='DONE', photon_flux_upper_limit='5.34e-08', time_completed='2022-06-08 03:28:28.999466', job_id='365418', GAL2='1.02', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1654684109.0', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.70e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1685' AND source_name='4FGL J0443.3-6652' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun  8 03:28:29 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 365418: <4FGL_J0443.3-6652_daily_bin1685> in cluster <slac> Done

Job <4FGL_J0443.3-6652_daily_bin1685> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Jun  8 00:05:09 2022
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun  8 00:37:58 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun  8 00:37:58 2022
Terminated at Wed Jun  8 03:28:29 2022
Results reported at Wed Jun  8 03:28:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0443.3-6652_daily_bin1685 70.8483 -66.8673 676080001 676339201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0443.3-6652 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   10156.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             592.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10231 sec.
    Turnaround time :                            12200 sec.

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

