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


Performing analysis on: 4FGL_J0403.9-3605_daily_bin1709
RA = 60.975, Dec = -36.087
tmin = 682300801, tmax = 682560001
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='18835', job_status='RUN', time_executed='2022-09-16 11:07:13.638315', time_epoch_executed='1663351633.64' WHERE source_name='4FGL J0403.9-3605' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/18835

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/18835/ft1_4FGL_J0403.9-3605_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/18835/ft2_4FGL_J0403.9-3605_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/18835/ft1_4FGL_J0403.9-3605_daily_bin1709.fits outfile=/scratch/kocevski/18835/ft1_filteredMKT_4FGL_J0403.9-3605_daily_bin1709.fits ra=60.975 dec=-36.087 rad=12.0 tmin=682300801.0 tmax=682560001.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.78
user 3.55
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/18835/ft2_4FGL_J0403.9-3605_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/18835/ft2_4FGL_J0403.9-3605_daily_bin1709.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/18835/ft1_filteredMKT_4FGL_J0403.9-3605_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/18835/ft1_filtered_4FGL_J0403.9-3605_daily_bin1709.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.54
user 0.38
sys 0.13

Number of photons that the gtmktime cut: 507

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/18835/ft1_filtered_4FGL_J0403.9-3605_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/18835/ft2_4FGL_J0403.9-3605_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/18835/ltcube_682300801_682560001_4FGL_J0403.9-3605_daily_bin1709.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/18835/ft2_4FGL_J0403.9-3605_daily_bin1709.fits
.....................!
real 14.86
user 14.46
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/18835/ft1_filtered_4FGL_J0403.9-3605_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/18835/ft2_4FGL_J0403.9-3605_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/18835/ltcube_682300801_682560001_4FGL_J0403.9-3605_daily_bin1709.fits outfile=/scratch/kocevski/18835/expmap_682300801_682560001_4FGL_J0403.9-3605_daily_bin1709.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/18835/ltcube_682300801_682560001_4FGL_J0403.9-3605_daily_bin1709.fits
.....................!
real 192.89
user 186.72
sys 5.82

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_8years/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 J0403.9-3605 @ 60.975 -36.087

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/18835/ft1_filtered_4FGL_J0403.9-3605_daily_bin1709.fits scfile=/scratch/kocevski/18835/ft2_4FGL_J0403.9-3605_daily_bin1709.fits outfile=/scratch/kocevski/18835/cmap_682300801_682560001_4FGL_J0403.9-3605_daily_bin1709.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=60.975 yref=-36.087 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/18835/ft1_filtered_4FGL_J0403.9-3605_daily_bin1709.fits scfile=/scratch/kocevski/18835/ft2_4FGL_J0403.9-3605_daily_bin1709.fits outfile=/scratch/kocevski/18835/cmap_HighResolution_682300801_682560001_4FGL_J0403.9-3605_daily_bin1709.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=60.975 yref=-36.087 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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/18835/ft1_filtered_4FGL_J0403.9-3605_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/18835/ft2_4FGL_J0403.9-3605_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/18835/Model_4FGL_J0403.9-3605_daily_bin1709.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/18835/ft1_filtered_4FGL_J0403.9-3605_daily_bin1709.fits.....................!
real 117.96
user 116.44
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/18835/ft1_filtered_4FGL_J0403.9-3605_daily_bin1709.fits', '/scratch/kocevski/18835/ft2_4FGL_J0403.9-3605_daily_bin1709.fits', expMap='/scratch/kocevski/18835/expmap_682300801_682560001_4FGL_J0403.9-3605_daily_bin1709.fits', expCube='/scratch/kocevski/18835/ltcube_682300801_682560001_4FGL_J0403.9-3605_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/18835/Model_4FGL_J0403.9-3605_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0403.9-3605'

4FGL J0403.9-3605
   Spectrum: LogParabola
280         norm:  1.306e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
281        alpha:  2.393e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  1.376e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  3.485e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/18835/ft1_filtered_4FGL_J0403.9-3605_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/18835/ft2_4FGL_J0403.9-3605_daily_bin1709.fits
Exposure map: /scratch/kocevski/18835/expmap_682300801_682560001_4FGL_J0403.9-3605_daily_bin1709.fits
Exposure cube: /scratch/kocevski/18835/ltcube_682300801_682560001_4FGL_J0403.9-3605_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/18835/Model_4FGL_J0403.9-3605_daily_bin1709.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) = 5582.50567901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6136       1.0000          .0000       .10000E+07
     2 'Prefactor '    .21270E-01   1.0000          .0000       .10000E+07
     3 'norm      '    2.4176       1.0000          .0000       .10000E+07
     4 'norm      '    1.9112       1.0000          .0000       .10000E+07
     5 'Prefactor '    .53809E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    5.1597       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.0295       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.0427       1.0000          .0000       .10000E+07
     9 'norm      '    3.4494       1.0000          .0000       .10000E+07
    10 'Prefactor '    .26813E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .62675E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.0881       1.0000          .0000       .10000E+07
    13 'norm      '    2.0196       1.0000          .0000       .10000E+07
    14 'norm      '    .67723       1.0000          .0000       .10000E+07
    15 'Prefactor '    23.677       1.0000          .0000       .10000E+07
    16 'Prefactor '    .41410E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    3.4166       1.0000          .0000       .10000E+07
    18 'norm      '    .99007       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.1658       1.0000          .0000       .10000E+07
    20 'norm      '    5.0366       1.0000          .0000       .10000E+07
    21 'norm      '    3.3329       1.0000          .0000       .10000E+07
    22 'Prefactor '    .13350E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.2387       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87144       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5582.496     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1935 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5933        10.981        .33192E-07    .83862E-01
   2  Prefactor     .13878E-08    11.785        .19385E-06** at limit **
   3  norm          2.4212        2.7688        .45274E-07    .60552E-02
   4  norm          1.9117        1.0326        .15615E-07    .11998E-01
   5  Prefactor     .55511E-10    29.537       -.26294E-07** at limit **
   6  Prefactor     4.9694        11.910       -.30972E-07    .71802E-01
   7  Prefactor     1.0320        3.2417       -.23949E-07   -.47818E-03
   8  Prefactor     1.0295        4.1096        .74465E-07   -.23448E-02
   9  norm          3.4506        1.2847        .26050E-07    .20310E-01
  10  Prefactor     .40962E-06    38.300       -.18483E-06** at limit **
  11  norm           .0000        7.2661        .78762E-07** at limit **
  12  Prefactor     5.1009        2.3710        .13758E-07   -.20716E-02
  13  norm          2.0201        .53390        .14609E-08    .41856E-02
  14  norm          .65534        5.6970        .92161E-07   -.19778E-01
  15  Prefactor     23.764        1.2523        .90093E-09   -.45226E-02
  16  Prefactor     .82712E-06    22.382       -.64563E-07** at limit **
  17  Prefactor     3.5714        9.4432       -.74103E-07   -.46438E-03
  18  norm          .98735        .52826       -.21222E-08   -.85918E-02
  19  Prefactor     4.1614        3.6809       -.10293E-06   -.12989E-01
  20  norm          5.0642        10.341        .56607E-07   -.66035E-02
  21  norm          3.3319        1.9095       -.49558E-08   -.32098E-02
  22  Prefactor     .26312E-06    19.347        .11219E-06** at limit **
  23  Normalizat    1.2380        .24691       -.17360E-05   -.90761E-04
  24  Prefactor     .87191        .25611        .18891E-05    .36696E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.59327
  Prefactor  = 1.38778e-09
  norm       = 2.42119
  norm       = 1.91171
  Prefactor  = 5.55112e-11
  Prefactor  = 4.96944
  Prefactor  = 1.032
  Prefactor  = 1.02947
  norm       = 3.45059
  Prefactor  = 4.09617e-07
  norm       = 0
  Prefactor  = 5.10093
  norm       = 2.02006
  norm       = 0.65534
  Prefactor  = 23.7638
  Prefactor  = 8.27116e-07
  Prefactor  = 3.57139
  norm       = 0.98735
  Prefactor  = 4.16137
  norm       = 5.06418
  norm       = 3.33192
  Prefactor  = 2.63123e-07
  Normalizat = 1.23795
  Prefactor  = 0.87191
 **********
 **   18 **HESSE 
 **********

 FCN=   5582.496     FROM HESSE     STATUS=OK           459 CALLS     2394 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5933        12.118        .34131E-03   -1.5649    
   2  Prefactor     .13878E-08    11.783        .16955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.4212        2.7991        .65804E-03   -1.5677    
   4  norm          1.9117        1.0364        .75166E-03   -1.5680    
   5  Prefactor     .55511E-10    29.503        .15392E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.9694        106.28        .44234E-03   -1.5663    
   7  Prefactor     1.0320        3.3313        .12528E-02   -1.5688    
   8  Prefactor     1.0295        14.699        .12226E-01   -1.5688    
   9  norm          3.4506        1.3042        .54431E-03   -1.5671    
  10  Prefactor     .40962E-06    38.521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        7.2570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.1009        23.711        .44550E-03   -1.5663    
  13  norm          2.0201        .56826        .58620E-03   -1.5680    
  14  norm          .65534        29.437        .62576E-03   -1.5692    
  15  Prefactor     23.764        32.596        .20556E-03   -1.5610    
  16  Prefactor     .82712E-06    24.007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.5714        9.5403        .54703E-03   -1.5670    
  18  norm          .98735        .52961        .43414E-03   -1.5688    
  19  Prefactor     4.1614        3.7014        .49357E-03   -1.5667    
  20  norm          5.0642        10.417        .44782E-03   -1.5663    
  21  norm          3.3319        1.9081        .55418E-03   -1.5671    
  22  Prefactor     .26312E-06    20.191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2380        .20649        .55799E-01   -.85438    
  24  Prefactor     .87191        .21398        .70178E-01   -.97130    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52512e-06
Minuit parameter uncertainties:
  1  12.1184
  2  0.000254844
  3  2.79909
  4  1.03639
  5  6.12587e-05
  6  45.9648
  7  3.33133
  8  7.78014
  9  1.30419
  10  0.00794451
  11  1.16529e-06
  12  21.9957
  13  0.568256
  14  8.78435
  15  32.5967
  16  0.00891223
  17  9.54038
  18  0.529614
  19  3.70142
  20  10.4173
  21  1.90808
  22  0.00461004
  23  0.206622
  24  0.214183
Done.

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

Extracting fit parameters...

4FGL J0403.9-3605
   Spectrum: LogParabola
280         norm:  2.020e+00  5.683e-01  0.000e+00  1.000e+06 ( 1.000e-10)
281        alpha:  2.393e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  1.376e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  3.485e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  8.719e-01  2.142e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.238e+00  2.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 31.86
Ra Dec: 60.975 -36.087
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 2.60e-07 +/- 7.31e-08
Energy Flux (Fixed Index): 7.18e-05 +/- 2.02e-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) = 5581.87258499
delta logL = 0.623591313531

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5581.82332768
delta logL = 0.672848620073

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8889       1.0000          .0000       .10000E+07
     2 'alpha     '    2.7605       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1819       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91895       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5581.823     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      207 TOTAL
                     EDM=   .87E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8889        1.8305        .54217E-03   -.43601E-03
   2  alpha         2.7602        1.1043        .19207        .34828E-05
   3  Normalizat    1.1818        .20050        .56828E-01    .10079E-05
   4  Prefactor     .91925        .22196        .68592E-01    .19622E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.88886
  alpha      = 2.76016
  Normalizat = 1.18181
  Prefactor  = 0.919247
 **********
 **   18 **HESSE 
 **********

 FCN=   5581.823     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8889        .52125        .24019E-05   -1.5680    
   2  alpha         2.7602        .33039        .83708E-03    .10425    
   3  Normalizat    1.1818        .24507        .25130E-03   -.87167    
   4  Prefactor     .91925        .25972        .30343E-03   -.95472    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79977e-12
Minuit parameter uncertainties:
  1  0.521248
  2  0.331366
  3  0.245306
  4  0.260067
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/18835': 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) = 5581.82332497
delta logL = 0.672851332501

Extracting fit parameters...

4FGL J0403.9-3605
   Spectrum: LogParabola
280         norm:  1.889e+00  5.212e-01  0.000e+00  1.000e+06 ( 1.000e-10)
281        alpha:  2.760e+00  3.314e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  1.376e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  3.485e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  9.192e-01  2.601e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.182e+00  2.453e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 33.23
Ra Dec: 60.975 -36.087
Photon Index (Free Index): 2.76 +/- 0.33
Photon Flux (Free Index): 3.04e-07 +/- 8.20e-08
Energy Flux (Free Index): 6.69e-05 +/- 1.72e-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/18835/cmap_HighResolution_682300801_682560001_4FGL_J0403.9-3605_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.60e-07', energy_flux2='6.69e-05', photon_flux_error='7.31e-08', dlogl='6.73e-01', energy_flux='7.18e-05', photon_flux2='3.04e-07', job_status='DONE', time_completed='2022-09-16 11:17:24.317191', photon_index_error2='0.33', photon_index2='2.76', ts='31.86', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.72e-05', EG='1.24', time_epoch_completed='1663352244.32', return_code='0', job_id='18835', GAL2='0.92', EG2='1.18', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='8.20e-08', ts2='33.23', photon_index='2.39' WHERE bin_id='1709' AND source_name='4FGL J0403.9-3605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 11:17:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 18835: <4FGL_J0403.9-3605_daily_bin1709> in cluster <slac> Done

Job <4FGL_J0403.9-3605_daily_bin1709> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 11:05:20 2022
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 11:06:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 11:06:42 2022
Terminated at Fri Sep 16 11:17:25 2022
Results reported at Fri Sep 16 11:17:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0403.9-3605_daily_bin1709 60.975 -36.087 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0403.9-3605 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   613.04 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             354.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            725 sec.

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

