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 104 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7499
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0943.6+4207_daily_bin1777
RA = 145.91, Dec = 42.1169
tmin = 699926401, tmax = 700185601
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='911197', job_status='RUN', time_executed='2023-03-11 00:27:23.516502', time_epoch_executed='1678523243.52' WHERE source_name='4FGL J0943.6+4207' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/911197

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/911197/ft1_4FGL_J0943.6+4207_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/911197/ft2_4FGL_J0943.6+4207_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/911197/ft1_4FGL_J0943.6+4207_daily_bin1777.fits outfile=/scratch/kocevski/911197/ft1_filteredMKT_4FGL_J0943.6+4207_daily_bin1777.fits ra=145.91 dec=42.1169 rad=12.0 tmin=699926401.0 tmax=700185601.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.62
user 3.41
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/911197/ft2_4FGL_J0943.6+4207_daily_bin1777.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/911197/ft2_4FGL_J0943.6+4207_daily_bin1777.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/911197/ft1_filteredMKT_4FGL_J0943.6+4207_daily_bin1777.fits evtable="EVENTS" outfile="/scratch/kocevski/911197/ft1_filtered_4FGL_J0943.6+4207_daily_bin1777.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.35
sys 0.15

Number of photons that the gtmktime cut: 600

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/911197/ft1_filtered_4FGL_J0943.6+4207_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/911197/ft2_4FGL_J0943.6+4207_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/911197/ltcube_699926401_700185601_4FGL_J0943.6+4207_daily_bin1777.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/911197/ft2_4FGL_J0943.6+4207_daily_bin1777.fits
.....................!
real 13.74
user 13.37
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/911197/ft1_filtered_4FGL_J0943.6+4207_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/911197/ft2_4FGL_J0943.6+4207_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/911197/ltcube_699926401_700185601_4FGL_J0943.6+4207_daily_bin1777.fits outfile=/scratch/kocevski/911197/expmap_699926401_700185601_4FGL_J0943.6+4207_daily_bin1777.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/911197/ltcube_699926401_700185601_4FGL_J0943.6+4207_daily_bin1777.fits
.....................!
real 191.70
user 186.15
sys 5.04

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

Setting source of interest to:
4FGL J0943.6+4207 @ 145.91 42.1169

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/911197/ft1_filtered_4FGL_J0943.6+4207_daily_bin1777.fits scfile=/scratch/kocevski/911197/ft2_4FGL_J0943.6+4207_daily_bin1777.fits outfile=/scratch/kocevski/911197/cmap_699926401_700185601_4FGL_J0943.6+4207_daily_bin1777.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=145.91 yref=42.1169 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/911197/ft1_filtered_4FGL_J0943.6+4207_daily_bin1777.fits scfile=/scratch/kocevski/911197/ft2_4FGL_J0943.6+4207_daily_bin1777.fits outfile=/scratch/kocevski/911197/cmap_HighResolution_699926401_700185601_4FGL_J0943.6+4207_daily_bin1777.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=145.91 yref=42.1169 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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/911197/ft1_filtered_4FGL_J0943.6+4207_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/911197/ft2_4FGL_J0943.6+4207_daily_bin1777.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/911197/Model_4FGL_J0943.6+4207_daily_bin1777.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/911197/ft1_filtered_4FGL_J0943.6+4207_daily_bin1777.fits....................!
real 55.96
user 54.59
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/911197/ft1_filtered_4FGL_J0943.6+4207_daily_bin1777.fits', '/scratch/kocevski/911197/ft2_4FGL_J0943.6+4207_daily_bin1777.fits', expMap='/scratch/kocevski/911197/expmap_699926401_700185601_4FGL_J0943.6+4207_daily_bin1777.fits', expCube='/scratch/kocevski/911197/ltcube_699926401_700185601_4FGL_J0943.6+4207_daily_bin1777.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/911197/Model_4FGL_J0943.6+4207_daily_bin1777.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0943.6+4207'

4FGL J0943.6+4207
   Spectrum: PowerLaw
326    Prefactor:  2.782e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
327        Index:  2.604e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  8.018e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/911197/ft1_filtered_4FGL_J0943.6+4207_daily_bin1777.fits
Spacecraft file(s): /scratch/kocevski/911197/ft2_4FGL_J0943.6+4207_daily_bin1777.fits
Exposure map: /scratch/kocevski/911197/expmap_699926401_700185601_4FGL_J0943.6+4207_daily_bin1777.fits
Exposure cube: /scratch/kocevski/911197/ltcube_699926401_700185601_4FGL_J0943.6+4207_daily_bin1777.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/911197/Model_4FGL_J0943.6+4207_daily_bin1777.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) = 6528.32836122

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .52397E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10100E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.0608       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.5961       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.4272       1.0000          .0000       .10000E+07
     6 'norm      '    .29701       1.0000          .0000       .10000E+07
     7 'Prefactor '    .74260E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .10698E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.7537       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.226       1.0000          .0000       .10000E+07
    11 'Prefactor '    .54144E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.7946       1.0000          .0000       .10000E+07
    13 'norm      '    .21255E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .22204E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    .21190       1.0000          .0000       .10000E+07
    16 'Prefactor '    .18358E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.5266       1.0000          .0000       .10000E+07
    18 'norm      '    .84219E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .10526E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .60672E-04   1.0000          .0000       .10000E+07
    21 'norm      '    3.4276       1.0000          .0000       .10000E+07
    22 'Prefactor '    6.9298       1.0000          .0000       .10000E+07
    23 'norm      '    9.9257       1.0000          .0000       .10000E+07
    24 'Prefactor '    .59796E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    .41162E-05   1.0000          .0000       .10000E+07
    26 'Normalizat'    .79869       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.3416       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6528.270     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     1949 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22204E-09    1.3342       -.38540E-07** at limit **
   2  Prefactor     .18152E-07    113.77       -.75055E-07** at limit **
   3  Prefactor     .19440        625.61        .68362E-05** at limit **
   4  Prefactor     6.6155        3.5868        .23416E-08   -.59739E-02
   5  Prefactor     2.6207        4.9296       -.13117E-06    .60583E-01
   6  norm          .29710        .26603        .32497E-08   -.35082E-02
   7  Prefactor     .83822E-07    1.1010       -.10553E-06** at limit **
   8  norm          .42188E-07    2.4592        .10823E-06** at limit **
   9  Prefactor     1.7532        1.9033        .21231E-07   -.12305E-02
  10  Prefactor     11.214        8.4002        .90438E-07   -.25317E-01
  11  Prefactor     .79048E-07    1.4180        .46924E-07** at limit **
  12  Prefactor     3.7766        11.175        .21938E-06    .15642E-01
  13  norm          .16043E-07    3.3751       -.17050E-06** at limit **
  14  Prefactor     .71054E-08    3.7232        .24178E-06** at limit **
  15  Prefactor     .21030        30.072        .47665E-06** at limit **
  16  Prefactor     .43299E-08    5.8386        .10728E-06** at limit **
  17  Prefactor     7.5378        7.7642        .19403E-08   -.85015E-02
  18  norm          .49960E-09    3.0101        .11798E-08** at limit **
  19  Prefactor     .31475E-07    6.5037        .73272E-07** at limit **
  20  Prefactor     .27756E-09    1.7493        .67626E-07** at limit **
  21  norm          3.4324        2.4188        .11052E-07   -.83827E-03
  22  Prefactor     6.9517        4.0389       -.18158E-07    .27707E-02
  23  norm          9.9309        3.0265        .24323E-07   -.67593E-01
  24  Prefactor     .37748E-08    17.245       -.22531E-06** at limit **
  25  Prefactor     .22204E-09    1.2818        .40631E-07** at limit **
  26  Normalizat    .79830        .18605        .42005E-06   -.88604E-04
  27  Prefactor     1.3421        .23307       -.51352E-06   -.63078E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.22045e-10
  Prefactor  = 1.81521e-08
  Prefactor  = 0.194402
  Prefactor  = 6.61546
  Prefactor  = 2.62073
  norm       = 0.2971
  Prefactor  = 8.38218e-08
  norm       = 4.21885e-08
  Prefactor  = 1.75324
  Prefactor  = 11.2138
  Prefactor  = 7.90479e-08
  Prefactor  = 3.77658
  norm       = 1.60427e-08
  Prefactor  = 7.10543e-09
  Prefactor  = 0.210303
  Prefactor  = 4.32987e-09
  Prefactor  = 7.53777
  norm       = 4.996e-10
  Prefactor  = 3.14748e-08
  Prefactor  = 2.77556e-10
  norm       = 3.43236
  Prefactor  = 6.95168
  norm       = 9.93093
  Prefactor  = 3.77476e-09
  Prefactor  = 2.22045e-10
  Normalizat = 0.7983
  Prefactor  = 1.34212
 **********
 **   18 **HESSE 
 **********

 FCN=   6528.270     FROM HESSE     STATUS=OK           554 CALLS     2503 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22204E-09    1.3347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .18152E-07    112.52        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19440        24.014        .11889E-01   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.6155        3.6636        .39050E-03   -1.5657    
   5  Prefactor     2.6207        14.624        .65662E-03   -1.5676    
   6  norm          .29710        .27998        .86194E-03   -1.5697    
   7  Prefactor     .83822E-07    1.1554        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .42188E-07    8.0392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.7532        1.9329        .79126E-03   -1.5681    
  10  Prefactor     11.214        8.6370        .29876E-03   -1.5641    
  11  Prefactor     .79048E-07    8.5635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.7766        11.575        .51796E-03   -1.5669    
  13  norm          .16043E-07    4.0185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .71054E-08    3.9115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .21030        2.7404        .80237E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .43299E-08    8.1015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.5378        7.8095        .36531E-03   -1.5653    
  18  norm          .49960E-09    3.0732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .31475E-07    7.8567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .27756E-09    1.7534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.4324        2.4179        .54611E-03   -1.5671    
  22  Prefactor     6.9517        4.0492        .38087E-03   -1.5655    
  23  norm          9.9309        8.6667        .31782E-03   -1.5645    
  24  Prefactor     .37748E-08    17.189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .22204E-09    1.2834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .79830        .15872        .43593E-01   -1.0013    
  27  Prefactor     1.3421        .19656        .57534E-01   -.82063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97281e-07
Minuit parameter uncertainties:
  1  3.51664e-05
  2  0.00285751
  3  4.32133
  4  3.66357
  5  12.3817
  6  0.279977
  7  0.000622378
  8  0.001165
  9  1.93289
  10  8.63698
  11  0.00164564
  12  11.5752
  13  0.000507816
  14  0.000333301
  15  1.5183
  16  0.000374661
  17  7.80954
  18  7.7856e-05
  19  0.00099434
  20  4.43768e-05
  21  2.41793
  22  4.04921
  23  8.66675
  24  0.000510605
  25  3.22679e-05
  26  0.158813
  27  0.196671
Done.

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

Extracting fit parameters...

4FGL J0943.6+4207
   Spectrum: PowerLaw
326    Prefactor:  7.105e-09  3.333e-04  0.000e+00  1.000e+06 ( 1.000e-13)
327        Index:  2.604e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  8.018e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  1.342e+00  1.967e-01  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  7.983e-01  1.588e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 145.910 42.117
Photon Flux Upper Limit: 3.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/911197/likelihoodResults_699926401_700185601_4FGL_J0943.6+4207_daily_bin1777.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) = 6528.27046
delta logL = -0.000632099674476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6528.26982823
delta logL = -3.34302967531e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34533E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.1149       1.0000          .0000       10.000    
     3 'Normalizat'    .79822       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3423       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6528.270     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      264 TOTAL
                     EDM=   .32E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .28878E-01    .42118E-03** at limit **
   2  Index         2.6739        5.5016        .37046        .36826E-10
   3  Normalizat    .79830        .33825E-03    .43587E-01   -.34125E-03
   4  Prefactor     1.3421        .43669E-03    .57534E-01   -.25143E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.67386
  Normalizat = 0.798299
  Prefactor  = 1.34212
 **********
 **   18 **HESSE 
 **********

 FCN=   6528.270     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      293 TOTAL
                     EDM=   .71E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .85285E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6739        6.2868        .50000       -.48389    
   3  Normalizat    .79830        .58079E-03    .24941E-03   -1.0013    
   4  Prefactor     1.3421        .74984E-03    .25441E-03   -.82063    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.11761e-13
Minuit parameter uncertainties:
  1  5.28691e-06
  2  22334.6
  3  0.000580788
  4  0.000749838
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/911197': 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) = 6528.2698279
delta logL = 8.33097146824e-10

Extracting fit parameters...

4FGL J0943.6+4207
   Spectrum: PowerLaw
326    Prefactor:  5.551e-11  5.287e-06  0.000e+00  1.000e+06 ( 1.000e-13)
327        Index:  2.674e+00  2.233e+04  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  8.018e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  1.342e+00  7.498e-04  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  7.983e-01  5.808e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 145.910 42.117

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/911197/cmap_HighResolution_699926401_700185601_4FGL_J0943.6+4207_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-03', job_status='DONE', photon_flux_upper_limit='3.18e-08', time_completed='2023-03-11 00:39:31.079642', job_id='911197', GAL2='1.34', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1678523971.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.34', dlogl='8.33e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1777' AND source_name='4FGL J0943.6+4207' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 00:39:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 911197: <4FGL_J0943.6+4207_daily_bin1777> in cluster <slac> Done

Job <4FGL_J0943.6+4207_daily_bin1777> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Mar 11 00:25:27 2023
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:25:31 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:25:31 2023
Terminated at Sat Mar 11 00:39:31 2023
Results reported at Sat Mar 11 00:39:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0943.6+4207_daily_bin1777 145.91 42.1169 699926401 700185601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0943.6+4207 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   729.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            844 sec.

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

