/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 119 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 = 7603
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0403.9-3605_daily_bin1110
RA = 60.975, Dec = -36.087
tmin = 527040001, tmax = 527299201
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='193352', job_status='RUN', time_executed='2021-08-20 01:13:29.610873', time_epoch_executed='1629447209.61' WHERE source_name='4FGL J0403.9-3605' and cadence='daily' and bin_id='1110'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193352

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193352/ft1_4FGL_J0403.9-3605_daily_bin1110.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193352/ft2_4FGL_J0403.9-3605_daily_bin1110.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193352/ft1_4FGL_J0403.9-3605_daily_bin1110.fits outfile=/scratch/kocevski/193352/ft1_filteredMKT_4FGL_J0403.9-3605_daily_bin1110.fits ra=60.975 dec=-36.087 rad=12.0 tmin=527040001.0 tmax=527299201.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 9.47
user 5.67
sys 3.75

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/193352/ft2_4FGL_J0403.9-3605_daily_bin1110.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/193352/ft1_filteredMKT_4FGL_J0403.9-3605_daily_bin1110.fits evtable="EVENTS" outfile="/scratch/kocevski/193352/ft1_filtered_4FGL_J0403.9-3605_daily_bin1110.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 3.98
user 0.34
sys 3.62

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193352/ft1_filtered_4FGL_J0403.9-3605_daily_bin1110.fits" evtable="EVENTS" scfile=/scratch/kocevski/193352/ft2_4FGL_J0403.9-3605_daily_bin1110.fits sctable="SC_DATA" outfile=/scratch/kocevski/193352/ltcube_527040001_527299201_4FGL_J0403.9-3605_daily_bin1110.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/193352/ft2_4FGL_J0403.9-3605_daily_bin1110.fits
.....................!
real 16.06
user 11.55
sys 4.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193352/ft1_filtered_4FGL_J0403.9-3605_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/193352/ft2_4FGL_J0403.9-3605_daily_bin1110.fits sctable="SC_DATA" expcube=/scratch/kocevski/193352/ltcube_527040001_527299201_4FGL_J0403.9-3605_daily_bin1110.fits outfile=/scratch/kocevski/193352/expmap_527040001_527299201_4FGL_J0403.9-3605_daily_bin1110.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/193352/ltcube_527040001_527299201_4FGL_J0403.9-3605_daily_bin1110.fits
.....................!
real 195.36
user 185.40
sys 9.61

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

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/193352/ft1_filtered_4FGL_J0403.9-3605_daily_bin1110.fits scfile=/scratch/kocevski/193352/ft2_4FGL_J0403.9-3605_daily_bin1110.fits outfile=/scratch/kocevski/193352/cmap_527040001_527299201_4FGL_J0403.9-3605_daily_bin1110.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 3.93
user 0.37
sys 3.53

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193352/ft1_filtered_4FGL_J0403.9-3605_daily_bin1110.fits scfile=/scratch/kocevski/193352/ft2_4FGL_J0403.9-3605_daily_bin1110.fits outfile=/scratch/kocevski/193352/cmap_HighResolution_527040001_527299201_4FGL_J0403.9-3605_daily_bin1110.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 3.98
user 0.38
sys 3.56

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/193352/ft1_filtered_4FGL_J0403.9-3605_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/193352/ft2_4FGL_J0403.9-3605_daily_bin1110.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193352/Model_4FGL_J0403.9-3605_daily_bin1110.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/193352/ft1_filtered_4FGL_J0403.9-3605_daily_bin1110.fits.....................!
real 79.45
user 73.54
sys 5.76

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/193352/ft1_filtered_4FGL_J0403.9-3605_daily_bin1110.fits', '/scratch/kocevski/193352/ft2_4FGL_J0403.9-3605_daily_bin1110.fits', expMap='/scratch/kocevski/193352/expmap_527040001_527299201_4FGL_J0403.9-3605_daily_bin1110.fits', expCube='/scratch/kocevski/193352/ltcube_527040001_527299201_4FGL_J0403.9-3605_daily_bin1110.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/193352/Model_4FGL_J0403.9-3605_daily_bin1110.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  1.000e-04  1.000e+04 ( 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  0.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/193352/ft1_filtered_4FGL_J0403.9-3605_daily_bin1110.fits
Spacecraft file(s): /scratch/kocevski/193352/ft2_4FGL_J0403.9-3605_daily_bin1110.fits
Exposure map: /scratch/kocevski/193352/expmap_527040001_527299201_4FGL_J0403.9-3605_daily_bin1110.fits
Exposure cube: /scratch/kocevski/193352/ltcube_527040001_527299201_4FGL_J0403.9-3605_daily_bin1110.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/193352/Model_4FGL_J0403.9-3605_daily_bin1110.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) = 3151.1346631

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    73.427       1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.930       1.0000         .10000E-03   10000.    
     3 'norm      '    .10846E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .83567       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.671       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.2840       1.0000         .10000E-03   10000.    
     9 'norm      '    2.7718       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10979E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.7204       1.0000         .10000E-03   10000.    
    13 'norm      '    1.2001       1.0000         .10000E-03   10000.    
    14 'norm      '    .14018E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    77.634       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.4957       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.2289       1.0000         .10000E-03   10000.    
    20 'norm      '    30.765       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .15033E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.7187       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1288       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .42932       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3151.119     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     2926 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     73.430        42.014        .67995E-06   -.16803E-04
   2  Prefactor     18.932        41.612        .91841E-06    .33175E-05
   3  norm          .10000E-03    5.7791       -.33539E-06** at limit **
   4  norm          .83584        1.1987        .17399E-06   -.64747E-04
   5  Prefactor     .10000E-03    18.993       -.74466E-07** at limit **
   6  Prefactor     14.811        65.831        .53779E-05    .19770E-03
   7  Prefactor     .10000E-03    5.6435        .88327E-06** at limit **
   8  Prefactor     5.2854        15.730        .58515E-05   -.91969E-04
   9  norm          2.7712        1.4361        .62972E-07   -.22731E-03
  10  Prefactor     .10000E-03    40.370       -.16350E-06** at limit **
  11  norm          .10000E-03    24.993        .79749E-06** at limit **
  12  Prefactor     8.7507        34.438        .19019E-05    .26491E-04
  13  norm          1.2005        .52178        .53265E-07   -.13409E-02
  14  norm          .10001E-03    10.323        .10535E-05** at limit **
  15  Prefactor     77.660        56.401        .14211E-05    .61115E-04
  16  Prefactor     .10000E-03    12.719       -.48477E-07** at limit **
  17  Prefactor     .10000E-03    8.1405       -.72591E-08** at limit **
  18  norm          3.4959        1.0122        .58754E-07   -.39479E-03
  19  Prefactor     5.2289        5.8410        .41306E-06    .81465E-06
  20  norm          30.764        17.276        .21559E-06    .62837E-05
  21  norm          .10000E-03    1.3322       -.84041E-07** at limit **
  22  Prefactor     .10000E-03    133.94        .53815E-06** at limit **
  23  Prefactor     3.7186        10.396        .11510E-04   -.25702E-03
  24  Normalizat    1.1288        .25263       -.41439E-05   -.51498E-04
  25  Prefactor     .42933        .24806        .97243E-06   -.13440E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 73.4298
  Prefactor  = 18.9316
  norm       = 0.0001
  norm       = 0.835843
  Prefactor  = 0.0001
  Prefactor  = 14.8107
  Prefactor  = 0.0001
  Prefactor  = 5.28543
  norm       = 2.77123
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.75069
  norm       = 1.2005
  norm       = 0.000100006
  Prefactor  = 77.6603
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.49587
  Prefactor  = 5.2289
  norm       = 30.764
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 3.71861
  Normalizat = 1.12884
  Prefactor  = 0.429335
 **********
 **   18 **HESSE 
 **********

 FCN=   3151.119     FROM HESSE     STATUS=OK           427 CALLS     3353 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     73.430        41.932        .46854E-04   -1.3992    
   2  Prefactor     18.932        41.593        .92055E-04   -1.4837    
   3  norm          .10000E-03    6.0094        .26299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .83584        1.1416        .69056E-03   -1.5525    
   5  Prefactor     .10000E-03    18.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.811        65.430        .10457E-03   -1.4938    
   7  Prefactor     .10000E-03    5.7019        .13015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.2854        15.713        .87426E-03   -1.5248    
   9  norm          2.7712        1.4369        .45445E-04   -1.5375    
  10  Prefactor     .10000E-03    40.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    25.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.7507        34.382        .13574E-03   -1.5116    
  13  norm          1.2005        .51363        .24668E-04   -1.5489    
  14  norm          .10001E-03    29.120        .34005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     77.660        56.521        .45576E-04   -1.3943    
  16  Prefactor     .10000E-03    12.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.1712        .15628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.4959        1.0112        .21625E-04   -1.5334    
  19  Prefactor     5.2289        5.8340        .12495E-03   -1.5251    
  20  norm          30.764        17.042        .72237E-04   -1.4598    
  21  norm          .10000E-03    2.0247        .12398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    134.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.7186        10.430        .10470E-02   -1.5322    
  24  Normalizat    1.1288        .28119        .22011E-03   -.88831    
  25  Prefactor     .42933        .27240        .35054E-03   -1.1534    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28701e-09
Minuit parameter uncertainties:
  1  41.9486
  2  41.6571
  3  9.35197e-06
  4  1.1416
  5  2.21832e-05
  6  62.3739
  7  1.83534e-06
  8  15.7249
  9  1.43693
  10  0.000110154
  11  2.80674e-05
  12  34.4597
  13  0.513636
  14  0.000832974
  15  56.5599
  16  8.76974e-06
  17  6.13945e-06
  18  1.01121
  19  5.83461
  20  17.0451
  21  1.78724e-05
  22  0.00130388
  23  10.4353
  24  0.281569
  25  0.273231
Done.

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

Extracting fit parameters...

4FGL J0403.9-3605
   Spectrum: LogParabola
280         norm:  1.200e+00  5.136e-01  1.000e-04  1.000e+04 ( 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  0.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:  4.293e-01  2.732e-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.129e+00  2.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.10
Ra Dec: 60.975 -36.087
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 1.54e-07 +/- 6.60e-08
Energy Flux (Fixed Index): 4.27e-05 +/- 1.82e-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) = 3151.08961675
delta logL = 0.0292722097197

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3151.08802394
delta logL = 0.0308650267652

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1945       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2596       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1444       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .41669       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=   3151.088     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      195 TOTAL
                     EDM=   .66E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1948        .57624        .56423E-02    .66217E-04
   2  alpha         2.2597        .54683        .25476       -.91087E-05
   3  Normalizat    1.1440        .24182        .36426E-01    .10458E-04
   4  Prefactor     .41703        .24500        .80162E-01    .18604E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.1948
  alpha      = 2.25969
  Normalizat = 1.14397
  Prefactor  = 0.417026
 **********
 **   18 **HESSE 
 **********

 FCN=   3151.088     FROM HESSE     STATUS=OK            33 CALLS      228 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1948        .51536        .25005E-04   -1.5489    
   2  alpha         2.2597        .52384        .10568E-01   -.96272E-01
   3  Normalizat    1.1440        .26997        .21891E-03   -.88352    
   4  Prefactor     .41703        .26903        .35518E-03   -1.1595    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.2179e-11
Minuit parameter uncertainties:
  1  0.515365
  2  0.527785
  3  0.270297
  4  0.269845
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193352': 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) = 3151.08802279
delta logL = 0.0308661768345

Extracting fit parameters...

4FGL J0403.9-3605
   Spectrum: LogParabola
280         norm:  1.195e+00  5.154e-01  1.000e-04  1.000e+04 ( 1.000e-10)
281        alpha:  2.260e+00  5.278e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  1.376e-01  0.000e+00  0.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:  4.170e-01  2.698e-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.144e+00  2.703e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.91
Ra Dec: 60.975 -36.087
Photon Index (Free Index): 2.26 +/- 0.53
Photon Flux (Free Index): 1.44e-07 +/- 7.55e-08
Energy Flux (Free Index): 4.42e-05 +/- 2.00e-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/193352/cmap_HighResolution_527040001_527299201_4FGL_J0403.9-3605_daily_bin1110.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.54e-07', energy_flux2='4.42e-05', photon_flux_error='6.60e-08', dlogl='3.09e-02', energy_flux='4.27e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2021-08-20 01:23:39.978390', photon_index_error2='0.53', photon_index2='2.26', ts='14.10', fit_tolerance='1e-08', GAL='0.43', photon_index_error='0.00', energy_flux_error2='2.00e-05', EG='1.13', time_epoch_completed='1629447819.98', return_code='0', job_id='193352', GAL2='0.42', EG2='1.14', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='7.55e-08', ts2='13.91', photon_index='2.39' WHERE bin_id='1110' AND source_name='4FGL J0403.9-3605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 01:23:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 193352: <4FGL_J0403.9-3605_daily_bin1110> in cluster <slac> Done

Job <4FGL_J0403.9-3605_daily_bin1110> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 20 01:10:24 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 01:10:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 01:10:25 2021
Terminated at Fri Aug 20 01:23:41 2021
Results reported at Fri Aug 20 01:23:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0403.9-3605_daily_bin1110 60.975 -36.087 527040001 527299201 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 :                                   636.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            797 sec.

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

