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


Performing analysis on: 4FGL_J1801.5+4404_daily_bin1134
RA = 270.377, Dec = 44.0747
tmin = 533260801, tmax = 533520001
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='469457', job_status='RUN', time_executed='2021-09-19 08:45:53.722373', time_epoch_executed='1632066353.72' WHERE source_name='4FGL J1801.5+4404' and cadence='daily' and bin_id='1134'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469457

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469457/ft1_4FGL_J1801.5+4404_daily_bin1134.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469457/ft2_4FGL_J1801.5+4404_daily_bin1134.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469457/ft1_4FGL_J1801.5+4404_daily_bin1134.fits outfile=/scratch/kocevski/469457/ft1_filteredMKT_4FGL_J1801.5+4404_daily_bin1134.fits ra=270.377 dec=44.0747 rad=12.0 tmin=533260801.0 tmax=533520001.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 4.35
user 4.11
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469457/ft1_filtered_4FGL_J1801.5+4404_daily_bin1134.fits" evtable="EVENTS" scfile=/scratch/kocevski/469457/ft2_4FGL_J1801.5+4404_daily_bin1134.fits sctable="SC_DATA" outfile=/scratch/kocevski/469457/ltcube_533260801_533520001_4FGL_J1801.5+4404_daily_bin1134.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/469457/ft2_4FGL_J1801.5+4404_daily_bin1134.fits
.....................!
real 11.74
user 11.38
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469457/ft1_filtered_4FGL_J1801.5+4404_daily_bin1134.fits evtable="EVENTS" scfile=/scratch/kocevski/469457/ft2_4FGL_J1801.5+4404_daily_bin1134.fits sctable="SC_DATA" expcube=/scratch/kocevski/469457/ltcube_533260801_533520001_4FGL_J1801.5+4404_daily_bin1134.fits outfile=/scratch/kocevski/469457/expmap_533260801_533520001_4FGL_J1801.5+4404_daily_bin1134.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/469457/ltcube_533260801_533520001_4FGL_J1801.5+4404_daily_bin1134.fits
.....................!
real 191.44
user 186.24
sys 4.89

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/469457/ft1_filtered_4FGL_J1801.5+4404_daily_bin1134.fits scfile=/scratch/kocevski/469457/ft2_4FGL_J1801.5+4404_daily_bin1134.fits outfile=/scratch/kocevski/469457/cmap_533260801_533520001_4FGL_J1801.5+4404_daily_bin1134.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/469457/ft1_filtered_4FGL_J1801.5+4404_daily_bin1134.fits scfile=/scratch/kocevski/469457/ft2_4FGL_J1801.5+4404_daily_bin1134.fits outfile=/scratch/kocevski/469457/cmap_HighResolution_533260801_533520001_4FGL_J1801.5+4404_daily_bin1134.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/469457/ft1_filtered_4FGL_J1801.5+4404_daily_bin1134.fits evtable="EVENTS" scfile=/scratch/kocevski/469457/ft2_4FGL_J1801.5+4404_daily_bin1134.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/469457/Model_4FGL_J1801.5+4404_daily_bin1134.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/469457/ft1_filtered_4FGL_J1801.5+4404_daily_bin1134.fits.....................!
real 74.45
user 73.10
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/469457/ft1_filtered_4FGL_J1801.5+4404_daily_bin1134.fits', '/scratch/kocevski/469457/ft2_4FGL_J1801.5+4404_daily_bin1134.fits', expMap='/scratch/kocevski/469457/expmap_533260801_533520001_4FGL_J1801.5+4404_daily_bin1134.fits', expCube='/scratch/kocevski/469457/ltcube_533260801_533520001_4FGL_J1801.5+4404_daily_bin1134.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/469457/Model_4FGL_J1801.5+4404_daily_bin1134.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/469457/ft1_filtered_4FGL_J1801.5+4404_daily_bin1134.fits
Spacecraft file(s): /scratch/kocevski/469457/ft2_4FGL_J1801.5+4404_daily_bin1134.fits
Exposure map: /scratch/kocevski/469457/expmap_533260801_533520001_4FGL_J1801.5+4404_daily_bin1134.fits
Exposure cube: /scratch/kocevski/469457/ltcube_533260801_533520001_4FGL_J1801.5+4404_daily_bin1134.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/469457/Model_4FGL_J1801.5+4404_daily_bin1134.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) = 8529.69127244

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27455E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.2158       1.0000         .10000E-03   10000.    
     3 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.8510       1.0000         .10000E-03   10000.    
     5 'norm      '    .25834E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4990       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    9.0543       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.369       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.0620       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .27888       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    14.777       1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.251       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .23971       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.6718       1.0000         .10000E-03   10000.    
    24 'norm      '    4.9049       1.0000         .10000E-03   10000.    
    25 'norm      '    27.832       1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.1299       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.3428       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .76727       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8529.675     FROM MIGRAD    STATUS=CONVERGED    115 CALLS     2976 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26671E-01    3.5836       -.61289E-05    .39812E-05
   2  Prefactor     4.2172        6.2025        .95571E-05    .86894E-04
   3  norm          .10000E-03    .23402       -.14759E-06** at limit **
   4  norm          1.8509        4.1649       -.12858E-06    .19387E-05
   5  norm          .10000E-03    13.298        .61557E-05** at limit **
   6  Prefactor     4.4986        3.0164       -.11460E-06    .56213E-04
   7  Prefactor     .10002E-03    46.653        .38534E-04** at limit **
   8  norm          9.0503        5.2259        .30309E-06    .14326E-03
   9  Prefactor     .10000E-03    115.32       -.36546E-04** at limit **
  10  norm          .10000E-03    1.4231       -.48805E-06** at limit **
  11  Prefactor     .10012E-03    14.807       -.70519E-05** at limit **
  12  Prefactor     .10000E-03    3.6778       -.14045E-05** at limit **
  13  Prefactor     .10000E-03    18.209        .12688E-04** at limit **
  14  Prefactor     22.360        1.8262       -.10584E-05    .99030E-03
  15  Prefactor     5.0557        1.0377        .23281E-07    .55390E-05
  16  Prefactor     .25202        2.3289       -.82423E-05   -.20508E-03
  17  norm          .10000E-03    1.2147       -.43265E-06** at limit **
  18  norm          .10003E-03    20.873       -.20907E-04** at limit **
  19  Prefactor     .10000E-03    14.010       -.46640E-05** at limit **
  20  norm          14.779        1.1259       -.11035E-06    .35035E-04
  21  Prefactor     19.248        1.1970        .35588E-06    .27782E-03
  22  Prefactor     .22613        1.2188       -.53785E-05   -.40319E-03
  23  Prefactor     4.6713        1.0094       -.15071E-06   -.42616E-05
  24  norm          4.9039        1.1723       -.10181E-05   -.58576E-04
  25  norm          27.831        1.0070       -.62213E-07    .11282E-03
  26  Prefactor     1.1298        1.6519       -.18393E-06    .65365E-04
  27  Normalizat    1.3429        .22054       -.95000E-06    .12375E-03
  28  Prefactor     .76727        .12560       -.10369E-05    .17014E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0266709
  Prefactor  = 4.21717
  norm       = 0.0001
  norm       = 1.85093
  norm       = 0.0001
  Prefactor  = 4.49863
  Prefactor  = 0.000100019
  norm       = 9.05026
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.000100123
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.3601
  Prefactor  = 5.0557
  Prefactor  = 0.252023
  norm       = 0.0001
  norm       = 0.00010003
  Prefactor  = 0.0001
  norm       = 14.7792
  Prefactor  = 19.2479
  Prefactor  = 0.226128
  Prefactor  = 4.67129
  norm       = 4.90394
  norm       = 27.8311
  Prefactor  = 1.12976
  Normalizat = 1.34289
  Prefactor  = 0.76727
 **********
 **   18 **HESSE 
 **********

 FCN=   8529.675     FROM HESSE     STATUS=OK           603 CALLS     3579 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26671E-01    .57874        .21554E-01   -1.5675    
   2  Prefactor     4.2172        6.3072        .49066E-02   -1.5297    
   3  norm          .10000E-03    .22619        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.8509        4.2048        .76609E-02   -1.5436    
   5  norm          .10000E-03    .61761        .49189E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4986        3.0174        .47454E-02   -1.5284    
   7  Prefactor     .10002E-03    50.044        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.0503        5.2447        .33299E-02   -1.5106    
   9  Prefactor     .10000E-03    115.27        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.4200        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10012E-03    37.138        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.5766        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    18.250        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.360        32.296        .21172E-02   -1.4762    
  15  Prefactor     5.0557        14.020        .44679E-02   -1.5258    
  16  Prefactor     .25202        4.1101        .10332       -1.5608    
  17  norm          .10000E-03    1.2069        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10003E-03    34.199        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.993        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          14.779        8.3588        .26048E-02   -1.4939    
  21  Prefactor     19.248        14.738        .22821E-02   -1.4830    
  22  Prefactor     .22613        2.6825        .83345E-01   -1.5613    
  23  Prefactor     4.6713        10.398        .46547E-02   -1.5276    
  24  norm          4.9039        7.4572        .45403E-02   -1.5265    
  25  norm          27.831        11.612        .18985E-02   -1.4652    
  26  Prefactor     1.1298        1.6864        .10991E-01   -1.5495    
  27  Normalizat    1.3429        .19201        .61238E-01   -.82295    
  28  Prefactor     .76727        .10488        .43290E-01   -1.0095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.69103e-08
Minuit parameter uncertainties:
  1  0.248017
  2  6.30819
  3  9.17695e-08
  4  4.20552
  5  3.98529e-06
  6  3.01755
  7  0.00194581
  8  5.24497
  9  0.001277
  10  2.04141e-06
  11  0.00426866
  12  8.37363e-06
  13  0.000143434
  14  32.3208
  15  14.0292
  16  2.03527
  17  1.16088e-06
  18  0.00203675
  19  7.60429e-05
  20  8.3595
  21  14.7408
  22  1.55742
  23  10.4018
  24  7.45861
  25  11.6128
  26  1.6865
  27  0.192116
  28  0.104904
Done.

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

Extracting fit parameters...

4FGL J1801.5+4404
   Spectrum: LogParabola
365         norm:  1.478e+01  8.360e+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

GAL_V02
   Spectrum: PowerLaw
683    Prefactor:  7.673e-01  1.049e-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:  1.343e+00  1.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.93
Ra Dec: 270.377 44.075
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 6.03e-08 +/- 3.41e-08
Energy Flux (Fixed Index): 2.08e-05 +/- 1.18e-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) = 8529.48808445
delta logL = 0.186923185887

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8529.48438549
delta logL = 0.190622139804

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.016       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7227       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3088       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78006       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8529.484     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      308 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.018        9.0196        .55512E-03   -.41532E-04
   2  alpha         2.7231        .72429        .14491E-01    .98944E-05
   3  Normalizat    1.3088        .22199        .27373E-03    .65372E-04
   4  Prefactor     .78002        .12545        .19919E-03    .96568E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.0184
  alpha      = 2.72313
  Normalizat = 1.30879
  Prefactor  = 0.780022
 **********
 **   18 **HESSE 
 **********

 FCN=   8529.484     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .67E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.018        8.4982        .22205E-04   -1.4986    
   2  alpha         2.7231        .68249        .57965E-03    .89369E-01
   3  Normalizat    1.3088        .22171        .10949E-04   -.83304    
   4  Prefactor     .78002        .12536        .79678E-05   -1.0047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.71937e-12
Minuit parameter uncertainties:
  1  8.49901
  2  0.691339
  3  0.221869
  4  0.12541
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469457': 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) = 8529.48438489
delta logL = 0.190622740061

Extracting fit parameters...

4FGL J1801.5+4404
   Spectrum: LogParabola
365         norm:  1.302e+01  8.499e+00  1.000e-04  1.000e+04 ( 1.000e-12)
366        alpha:  2.723e+00  6.913e-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:  7.800e-01  1.254e-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:  1.309e+00  2.219e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.34
Ra Dec: 270.377 44.075
Photon Index (Free Index): 2.72 +/- 0.69
Photon Flux (Free Index): 8.31e-08 +/- 5.43e-08
Energy Flux (Free Index): 1.98e-05 +/- 1.03e-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/469457/cmap_HighResolution_533260801_533520001_4FGL_J1801.5+4404_daily_bin1134.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.03e-08', energy_flux2='1.98e-05', photon_flux_error='3.41e-08', dlogl='1.91e-01', energy_flux='2.08e-05', photon_flux2='8.31e-08', job_status='DONE', time_completed='2021-09-19 09:00:52.774042', photon_index_error2='0.69', photon_index2='2.72', ts='6.93', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.03e-05', EG='1.34', time_epoch_completed='1632067252.77', return_code='0', job_id='469457', GAL2='0.78', EG2='1.31', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='5.43e-08', ts2='7.34', photon_index='2.31' WHERE bin_id='1134' AND source_name='4FGL J1801.5+4404' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 19 09:00:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 469457: <4FGL_J1801.5+4404_daily_bin1134> in cluster <slac> Done

Job <4FGL_J1801.5+4404_daily_bin1134> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sun Sep 19 08:45:35 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 19 08:45:36 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:45:36 2021
Terminated at Sun Sep 19 09:00:53 2021
Results reported at Sun Sep 19 09:00:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1801.5+4404_daily_bin1134 270.377 44.0747 533260801 533520001 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 :                                   896.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             342.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            918 sec.

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

