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


Performing analysis on: 4FGL_J1801.5+4404_daily_bin904
RA = 270.377, Dec = 44.0747
tmin = 473644801, tmax = 473904001
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='468018', job_status='RUN', time_executed='2021-09-19 08:40:54.261434', time_epoch_executed='1632066054.26' WHERE source_name='4FGL J1801.5+4404' and cadence='daily' and bin_id='904'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/468018

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/468018/ft1_4FGL_J1801.5+4404_daily_bin904.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/468018/ft2_4FGL_J1801.5+4404_daily_bin904.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/468018/ft1_4FGL_J1801.5+4404_daily_bin904.fits outfile=/scratch/kocevski/468018/ft1_filteredMKT_4FGL_J1801.5+4404_daily_bin904.fits ra=270.377 dec=44.0747 rad=12.0 tmin=473644801.0 tmax=473904001.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.77
user 3.53
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/468018/ft2_4FGL_J1801.5+4404_daily_bin904.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/468018/ft2_4FGL_J1801.5+4404_daily_bin904.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/468018/ft1_filteredMKT_4FGL_J1801.5+4404_daily_bin904.fits evtable="EVENTS" outfile="/scratch/kocevski/468018/ft1_filtered_4FGL_J1801.5+4404_daily_bin904.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.49
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/468018/ft1_filtered_4FGL_J1801.5+4404_daily_bin904.fits" evtable="EVENTS" scfile=/scratch/kocevski/468018/ft2_4FGL_J1801.5+4404_daily_bin904.fits sctable="SC_DATA" outfile=/scratch/kocevski/468018/ltcube_473644801_473904001_4FGL_J1801.5+4404_daily_bin904.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/468018/ft2_4FGL_J1801.5+4404_daily_bin904.fits
.....................!
real 11.93
user 11.59
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/468018/ft1_filtered_4FGL_J1801.5+4404_daily_bin904.fits evtable="EVENTS" scfile=/scratch/kocevski/468018/ft2_4FGL_J1801.5+4404_daily_bin904.fits sctable="SC_DATA" expcube=/scratch/kocevski/468018/ltcube_473644801_473904001_4FGL_J1801.5+4404_daily_bin904.fits outfile=/scratch/kocevski/468018/expmap_473644801_473904001_4FGL_J1801.5+4404_daily_bin904.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/468018/ltcube_473644801_473904001_4FGL_J1801.5+4404_daily_bin904.fits
.....................!
real 191.89
user 186.14
sys 5.38

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

Setting source of interest to:
4FGL J1801.5+4404 @ 270.377 44.0747

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/468018/ft1_filtered_4FGL_J1801.5+4404_daily_bin904.fits scfile=/scratch/kocevski/468018/ft2_4FGL_J1801.5+4404_daily_bin904.fits outfile=/scratch/kocevski/468018/cmap_473644801_473904001_4FGL_J1801.5+4404_daily_bin904.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=270.377 yref=44.0747 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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/468018/ft1_filtered_4FGL_J1801.5+4404_daily_bin904.fits scfile=/scratch/kocevski/468018/ft2_4FGL_J1801.5+4404_daily_bin904.fits outfile=/scratch/kocevski/468018/cmap_HighResolution_473644801_473904001_4FGL_J1801.5+4404_daily_bin904.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=270.377 yref=44.0747 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/468018/ft1_filtered_4FGL_J1801.5+4404_daily_bin904.fits evtable="EVENTS" scfile=/scratch/kocevski/468018/ft2_4FGL_J1801.5+4404_daily_bin904.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/468018/Model_4FGL_J1801.5+4404_daily_bin904.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/468018/ft1_filtered_4FGL_J1801.5+4404_daily_bin904.fits.....................!
real 68.47
user 67.13
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/468018/ft1_filtered_4FGL_J1801.5+4404_daily_bin904.fits', '/scratch/kocevski/468018/ft2_4FGL_J1801.5+4404_daily_bin904.fits', expMap='/scratch/kocevski/468018/expmap_473644801_473904001_4FGL_J1801.5+4404_daily_bin904.fits', expCube='/scratch/kocevski/468018/ltcube_473644801_473904001_4FGL_J1801.5+4404_daily_bin904.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/468018/Model_4FGL_J1801.5+4404_daily_bin904.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1801.5+4404'

4FGL J1801.5+4404
   Spectrum: LogParabola
365         norm:  8.383e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
366        alpha:  2.308e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
367         beta:  6.673e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
368           Eb:  5.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/468018/ft1_filtered_4FGL_J1801.5+4404_daily_bin904.fits
Spacecraft file(s): /scratch/kocevski/468018/ft2_4FGL_J1801.5+4404_daily_bin904.fits
Exposure map: /scratch/kocevski/468018/expmap_473644801_473904001_4FGL_J1801.5+4404_daily_bin904.fits
Exposure cube: /scratch/kocevski/468018/ltcube_473644801_473904001_4FGL_J1801.5+4404_daily_bin904.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/468018/Model_4FGL_J1801.5+4404_daily_bin904.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) = 7872.55951542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .97377       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.6866       1.0000         .10000E-03   10000.    
     3 'norm      '    .59655       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    8.5615       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    54.654       1.0000         .10000E-03   10000.    
     8 'norm      '    3.5840       1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.662       1.0000         .10000E-03   10000.    
    10 'norm      '    3.0592       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.7344       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.4125       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.2903       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10253E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    53.561       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.9422       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    37.196       1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.2764       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .77020       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0255       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7872.556     FROM MIGRAD    STATUS=CONVERGED    666 CALLS     3451 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .97379        1.3400       -.21524E-06   -.15035E-02
   2  Prefactor     8.6864        8.3217       -.15544E-07   -.92502E-04
   3  norm          .59657        .73559       -.59869E-07   -.77934E-03
   4  norm          .10000E-03    3.9184       -.36193E-07** at limit **
   5  norm          8.5612        2.4269        .32068E-07    .55463E-04
   6  Prefactor     .10000E-03    .88977        .19748E-07** at limit **
   7  Prefactor     54.655        43.161        .98037E-06   -.32662E-05
   8  norm          3.5841        3.3856        .31870E-06    .14290E-03
   9  Prefactor     24.662        48.830       -.41809E-06   -.42105E-05
  10  norm          3.0587        4.1010       -.58912E-06   -.37685E-03
  11  Prefactor     .10000E-03    41.033       -.16680E-04** at limit **
  12  Prefactor     9.7348        5.5505       -.14707E-06   -.32834E-04
  13  Prefactor     .10000E-03    23.224       -.10504E-04** at limit **
  14  Prefactor     .10000E-03    25.116        .11949E-04** at limit **
  15  Prefactor     9.4099        14.645       -.33205E-06   -.87019E-04
  16  Prefactor     7.2902        6.8150       -.34156E-07   -.17041E-04
  17  norm          .10000E-03    .72330        .28736E-07** at limit **
  18  norm          .10000E-03    37.238        .14256E-04** at limit **
  19  Prefactor     .10000E-03    8.3102        .31928E-06** at limit **
  20  norm          53.561        12.744       -.12467E-07   -.71145E-05
  21  Prefactor     .10000E-03    7.4018       -.11633E-06** at limit **
  22  Prefactor     1.9426        4.0604        .10857E-05   -.88252E-03
  23  Prefactor     .10000E-03    7.4329       -.27707E-07** at limit **
  24  norm          .10000E-03    3.4720        .55016E-07** at limit **
  25  norm          37.194        16.307       -.37204E-06   -.17824E-05
  26  Prefactor     3.2766        2.6135       -.33864E-07   -.55773E-03
  27  Normalizat    .77027        .21514        .20301E-06   -.41172E-04
  28  Prefactor     1.0255        .11829       -.91872E-07   -.54772E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.97379
  Prefactor  = 8.68637
  norm       = 0.596572
  norm       = 0.0001
  norm       = 8.56121
  Prefactor  = 0.0001
  Prefactor  = 54.6549
  norm       = 3.58406
  Prefactor  = 24.6617
  norm       = 3.05874
  Prefactor  = 0.0001
  Prefactor  = 9.73478
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.40994
  Prefactor  = 7.29021
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 53.5609
  Prefactor  = 0.0001
  Prefactor  = 1.94257
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 37.1938
  Prefactor  = 3.27656
  Normalizat = 0.770268
  Prefactor  = 1.0255
 **********
 **   18 **HESSE 
 **********

 FCN=   7872.556     FROM HESSE     STATUS=OK           521 CALLS     3972 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .97379        1.2239        .11207E-02   -1.5511    
   2  Prefactor     8.6864        8.1500        .13600E-03   -1.5118    
   3  norm          .59657        .64936        .79306E-03   -1.5553    
   4  norm          .10000E-03    3.9377        .17148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.5612        2.4303        .69506E-04   -1.5123    
   6  Prefactor     .10000E-03    .89026        .81730E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     54.655        43.157        .54257E-04   -1.4228    
   8  norm          3.5841        3.3884        .15191E-03   -1.5329    
   9  Prefactor     24.662        48.807        .80663E-04   -1.4714    
  10  norm          3.0587        4.1023        .20024E-03   -1.5358    
  11  Prefactor     .10000E-03    40.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.7348        5.5551        .12844E-03   -1.5084    
  13  Prefactor     .10000E-03    23.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    25.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.4099        14.647        .13063E-03   -1.5094    
  16  Prefactor     7.2902        6.8116        .14855E-03   -1.5168    
  17  norm          .10000E-03    .72403        .73687E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    37.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.3129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          53.561        12.754        .54805E-04   -1.4243    
  21  Prefactor     .10000E-03    7.4294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.9426        3.9967        .24714E-03   -1.5429    
  23  Prefactor     .10000E-03    7.4342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    3.4835        .16142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          37.194        16.301        .65714E-04   -1.4487    
  26  Prefactor     3.2766        2.6074        .12062E-03   -1.5346    
  27  Normalizat    .77027        .24739        .36180E-03   -1.0118    
  28  Prefactor     1.0255        .13746        .18610E-03   -.91884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11045e-09
Minuit parameter uncertainties:
  1  1.22397
  2  8.15103
  3  0.64937
  4  1.98283e-06
  5  2.43036
  6  6.26858e-07
  7  43.1818
  8  3.38858
  9  48.8866
  10  4.10265
  11  2.87171e-05
  12  5.55537
  13  9.12516e-06
  14  1.41348e-05
  15  14.6525
  16  6.81228
  17  1.62344e-07
  18  1.7993e-05
  19  8.56163e-07
  20  12.7547
  21  2.33313e-06
  22  3.99728
  23  1.9444e-07
  24  1.94708e-06
  25  16.3034
  26  2.60745
  27  0.247747
  28  0.137506
Done.

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

Extracting fit parameters...

4FGL J1801.5+4404
   Spectrum: LogParabola
365         norm:  5.356e+01  1.275e+01  1.000e-04  1.000e+04 ( 1.000e-12)
366        alpha:  2.308e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
367         beta:  6.673e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
368           Eb:  5.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
683    Prefactor:  1.026e+00  1.375e-01  0.000e+00  1.000e+01 ( 1.000e+00)
684        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
685        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
682   Normalization:  7.703e-01  2.477e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 57.73
Ra Dec: 270.377 44.075
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 2.19e-07 +/- 5.20e-08
Energy Flux (Fixed Index): 7.54e-05 +/- 1.79e-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) = 7872.42179393
delta logL = 0.134688495641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7872.40009991
delta logL = 0.156382510885

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    55.970       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1610       1.0000          .0000       5.0000    
     3 'Normalizat'    .79512       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0164       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7872.400     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      205 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          55.970        18.841        .13405E-02    .32586E-03
   2  alpha         2.1611        .33621        .19333        .22871E-04
   3  Normalizat    .79511        .20222        .80580E-01    .33262E-04
   4  Prefactor     1.0164        .11682        .42521E-01    .94420E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 55.9701
  alpha      = 2.16106
  Normalizat = 0.795111
  Prefactor  = 1.01638
 **********
 **   18 **HESSE 
 **********

 FCN=   7872.400     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          55.970        13.909        .53619E-04   -1.4210    
   2  alpha         2.1611        .25950        .81534E-02   -.13599    
   3  Normalizat    .79511        .23294        .35675E-03   -1.0025    
   4  Prefactor     1.0164        .13508        .18687E-03   -.92186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02286e-10
Minuit parameter uncertainties:
  1  13.9096
  2  0.259978
  3  0.233235
  4  0.135124
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/468018': 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) = 7872.40009991
delta logL = 0.156382515798

Extracting fit parameters...

4FGL J1801.5+4404
   Spectrum: LogParabola
365         norm:  5.597e+01  1.391e+01  1.000e-04  1.000e+04 ( 1.000e-12)
366        alpha:  2.161e+00  2.600e-01  0.000e+00  5.000e+00 ( 1.000e+00)
367         beta:  6.673e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
368           Eb:  5.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
683    Prefactor:  1.016e+00  1.351e-01  0.000e+00  1.000e+01 ( 1.000e+00)
684        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
685        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
682   Normalization:  7.951e-01  2.332e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 57.78
Ra Dec: 270.377 44.075
Photon Index (Free Index): 2.16 +/- 0.26
Photon Flux (Free Index): 1.99e-07 +/- 5.93e-08
Energy Flux (Free Index): 8.30e-05 +/- 2.59e-05

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/468018/cmap_HighResolution_473644801_473904001_4FGL_J1801.5+4404_daily_bin904.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.19e-07', energy_flux2='8.30e-05', photon_flux_error='5.20e-08', dlogl='1.56e-01', energy_flux='7.54e-05', photon_flux2='1.99e-07', job_status='DONE', time_completed='2021-09-19 08:55:40.632029', photon_index_error2='0.26', photon_index2='2.16', ts='57.73', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='2.59e-05', EG='0.77', time_epoch_completed='1632066940.63', return_code='0', job_id='468018', GAL2='1.02', EG2='0.80', return_code2='0', energy_flux_error='1.79e-05', photon_flux_error2='5.93e-08', ts2='57.78', photon_index='2.31' WHERE bin_id='904' AND source_name='4FGL J1801.5+4404' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 19 08:55:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 468018: <4FGL_J1801.5+4404_daily_bin904> in cluster <slac> Done

Job <4FGL_J1801.5+4404_daily_bin904> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 19 08:40:36 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 19 08:40:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 19 08:40:38 2021
Terminated at Sun Sep 19 08:55:41 2021
Results reported at Sun Sep 19 08:55:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1801.5+4404_daily_bin904 270.377 44.0747 473644801 473904001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1801.5+4404 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   883.12 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             330.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            905 sec.

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

