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


Performing analysis on: 4FGL_J1800.6+7828_daily_bin731
RA = 270.173, Dec = 78.4674
tmin = 428803201, tmax = 429062401
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='452365', job_status='RUN', time_executed='2021-09-19 07:48:50.601636', time_epoch_executed='1632062930.6' WHERE source_name='4FGL J1800.6+7828' and cadence='daily' and bin_id='731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/452365

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/452365/ft1_4FGL_J1800.6+7828_daily_bin731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/452365/ft2_4FGL_J1800.6+7828_daily_bin731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/452365/ft1_4FGL_J1800.6+7828_daily_bin731.fits outfile=/scratch/kocevski/452365/ft1_filteredMKT_4FGL_J1800.6+7828_daily_bin731.fits ra=270.173 dec=78.4674 rad=12.0 tmin=428803201.0 tmax=429062401.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 6.52
user 6.25
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/452365/ft2_4FGL_J1800.6+7828_daily_bin731.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/452365/ft2_4FGL_J1800.6+7828_daily_bin731.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/452365/ft1_filteredMKT_4FGL_J1800.6+7828_daily_bin731.fits evtable="EVENTS" outfile="/scratch/kocevski/452365/ft1_filtered_4FGL_J1800.6+7828_daily_bin731.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.48
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/452365/ft1_filtered_4FGL_J1800.6+7828_daily_bin731.fits" evtable="EVENTS" scfile=/scratch/kocevski/452365/ft2_4FGL_J1800.6+7828_daily_bin731.fits sctable="SC_DATA" outfile=/scratch/kocevski/452365/ltcube_428803201_429062401_4FGL_J1800.6+7828_daily_bin731.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/452365/ft2_4FGL_J1800.6+7828_daily_bin731.fits
.....................!
real 11.99
user 11.63
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/452365/ft1_filtered_4FGL_J1800.6+7828_daily_bin731.fits evtable="EVENTS" scfile=/scratch/kocevski/452365/ft2_4FGL_J1800.6+7828_daily_bin731.fits sctable="SC_DATA" expcube=/scratch/kocevski/452365/ltcube_428803201_429062401_4FGL_J1800.6+7828_daily_bin731.fits outfile=/scratch/kocevski/452365/expmap_428803201_429062401_4FGL_J1800.6+7828_daily_bin731.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/452365/ltcube_428803201_429062401_4FGL_J1800.6+7828_daily_bin731.fits
.....................!
real 190.79
user 185.71
sys 4.73

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

Setting source of interest to:
4FGL J1800.6+7828 @ 270.173 78.4674

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/452365/ft1_filtered_4FGL_J1800.6+7828_daily_bin731.fits scfile=/scratch/kocevski/452365/ft2_4FGL_J1800.6+7828_daily_bin731.fits outfile=/scratch/kocevski/452365/cmap_428803201_429062401_4FGL_J1800.6+7828_daily_bin731.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.173 yref=78.4674 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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/452365/ft1_filtered_4FGL_J1800.6+7828_daily_bin731.fits scfile=/scratch/kocevski/452365/ft2_4FGL_J1800.6+7828_daily_bin731.fits outfile=/scratch/kocevski/452365/cmap_HighResolution_428803201_429062401_4FGL_J1800.6+7828_daily_bin731.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.173 yref=78.4674 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/452365/ft1_filtered_4FGL_J1800.6+7828_daily_bin731.fits evtable="EVENTS" scfile=/scratch/kocevski/452365/ft2_4FGL_J1800.6+7828_daily_bin731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/452365/Model_4FGL_J1800.6+7828_daily_bin731.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/452365/ft1_filtered_4FGL_J1800.6+7828_daily_bin731.fits.....................!
real 79.89
user 78.53
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/452365/ft1_filtered_4FGL_J1800.6+7828_daily_bin731.fits', '/scratch/kocevski/452365/ft2_4FGL_J1800.6+7828_daily_bin731.fits', expMap='/scratch/kocevski/452365/expmap_428803201_429062401_4FGL_J1800.6+7828_daily_bin731.fits', expCube='/scratch/kocevski/452365/ltcube_428803201_429062401_4FGL_J1800.6+7828_daily_bin731.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/452365/Model_4FGL_J1800.6+7828_daily_bin731.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1800.6+7828'

4FGL J1800.6+7828
   Spectrum: LogParabola
411         norm:  1.608e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
412        alpha:  2.159e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
413         beta:  3.593e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
414           Eb:  6.563e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/452365/ft1_filtered_4FGL_J1800.6+7828_daily_bin731.fits
Spacecraft file(s): /scratch/kocevski/452365/ft2_4FGL_J1800.6+7828_daily_bin731.fits
Exposure map: /scratch/kocevski/452365/expmap_428803201_429062401_4FGL_J1800.6+7828_daily_bin731.fits
Exposure cube: /scratch/kocevski/452365/ltcube_428803201_429062401_4FGL_J1800.6+7828_daily_bin731.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/452365/Model_4FGL_J1800.6+7828_daily_bin731.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) = 6118.41751644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5288       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15085E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    161.43       1.0000         .10000E-03   10000.    
     4 'norm      '    25.906       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.704       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15336E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    8.3612       1.0000         .10000E-03   10000.    
    13 'norm      '    7.1811       1.0000         .10000E-03   10000.    
    14 'norm      '    .10459E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10795E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.0544       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10737E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.0669       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.1529       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .66985       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1099       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6118.409     FROM MIGRAD    STATUS=CONVERGED    632 CALLS     3093 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5307        14.863        .63832E-05   -.48922E-05
   2  Prefactor     .10000E-03    177.85       -.27492E-05** at limit **
   3  Prefactor     161.38        119.73        .40773E-05   -.36849E-05
   4  norm          25.903        22.754        .14234E-07    .32762E-05
   5  Prefactor     .10000E-03    99.232        .11100E-05** at limit **
   6  Prefactor     .10000E-03    33.543        .14941E-06** at limit **
   7  norm          .10000E-03    .45252        .18199E-07** at limit **
   8  Prefactor     .10000E-03    1.1868        .31503E-07** at limit **
   9  Prefactor     22.706        24.656        .14132E-06   -.63402E-05
  10  Prefactor     .10000E-03    106.37       -.10599E-05** at limit **
  11  Prefactor     .10000E-03    49.096        .64555E-06** at limit **
  12  norm          8.3613        5.5832       -.26755E-07   -.84506E-04
  13  norm          7.1799        1.5510        .27817E-07    .16416E-03
  14  norm          .10000E-03    7.3170       -.70383E-07** at limit **
  15  Prefactor     .10000E-03    188.16        .12685E-05** at limit **
  16  Prefactor     4.0455        8.8921        .66025E-07   -.42436E-04
  17  Prefactor     .10000E-03    48.320        .90234E-06** at limit **
  18  Prefactor     .10000E-03    45.840       -.15682E-05** at limit **
  19  norm          2.0664        3.9078        .50466E-07   -.42110E-04
  20  Prefactor     4.1534        7.1881        .34932E-06    .12381E-04
  21  norm          .10000E-03    28.004       -.75831E-07** at limit **
  22  norm          .10000E-03    4.0689        .10531E-06** at limit **
  23  norm          .10000E-03    1.5047        .13182E-08** at limit **
  24  Prefactor     .10000E-03    6.9807        .32737E-07** at limit **
  25  Normalizat    .66961        .23413       -.63712E-06    .21597E-04
  26  Prefactor     1.1099        .10242       -.32614E-06   -.92632E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.53073
  Prefactor  = 0.000100002
  Prefactor  = 161.375
  norm       = 25.9034
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.706
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.3613
  norm       = 7.17988
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 4.04553
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.06636
  Prefactor  = 4.15335
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.669608
  Prefactor  = 1.10988
 **********
 **   18 **HESSE 
 **********

 FCN=   6118.409     FROM HESSE     STATUS=OK           454 CALLS     3547 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5307        14.903        .12843E-02   -1.5390    
   2  Prefactor     .10000E-03    179.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     161.38        119.92        .15870E-03   -1.3160    
   4  norm          25.903        22.751        .78706E-04   -1.4690    
   5  Prefactor     .10000E-03    99.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    33.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .45975        .51237E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.1909        .83194E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     22.706        24.593        .84063E-04   -1.4755    
  10  Prefactor     .10000E-03    109.13        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    49.184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.3613        5.1099        .13056E-03   -1.5130    
  13  norm          7.1799        1.5509        .42982E-04   -1.5172    
  14  norm          .10000E-03    33.109        .35478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    188.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.0455        8.5850        .20025E-03   -1.5306    
  17  Prefactor     .10000E-03    50.308        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    45.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.0664        3.8744        .20657E-03   -1.5420    
  20  Prefactor     4.1534        7.1694        .19779E-03   -1.5300    
  21  norm          .10000E-03    28.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    4.2280        .30801E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.5084        .93665E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    6.9959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .66961        .24678        .42268E-03   -1.0511    
  26  Prefactor     1.1099        .10916        .15949E-03   -.89151    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90491e-10
Minuit parameter uncertainties:
  1  12.2871
  2  0.00124666
  3  120.104
  4  22.759
  5  5.41296e-06
  6  1.67291e-05
  7  6.51914e-07
  8  5.42993e-07
  9  24.6038
  10  0.000303153
  11  3.75979e-05
  12  5.1102
  13  1.5509
  14  0.000362875
  15  1.38865e-05
  16  8.58756
  17  9.50045e-05
  18  1.93549e-05
  19  3.87488
  20  7.17086
  21  1.42045e-06
  22  1.09172e-05
  23  2.74117e-07
  24  5.34941e-06
  25  0.247184
  26  0.109181
Done.

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

Extracting fit parameters...

4FGL J1800.6+7828
   Spectrum: LogParabola
411         norm:  7.180e+00  1.551e+00  1.000e-04  1.000e+04 ( 1.000e-11)
412        alpha:  2.159e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
413         beta:  3.593e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
414           Eb:  6.563e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  1.110e+00  1.092e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  6.696e-01  2.472e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 70.00
Ra Dec: 270.173 78.467
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 3.38e-07 +/- 7.30e-08
Energy Flux (Fixed Index): 1.51e-04 +/- 3.27e-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) = 6118.35605713
delta logL = 0.0530840578513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6118.34170816
delta logL = 0.0674330258771

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6118.342     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      197 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.9272        2.7125        .38107E-02    .11243E-04
   2  alpha         2.2325        .32750        .12165        .33139E-04
   3  Normalizat    .65606        .21769        .96238E-01    .33936E-04
   4  Prefactor     1.1133        .10188        .37102E-01   -.64362E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.92716
  alpha      = 2.23252
  Normalizat = 0.656058
  Prefactor  = 1.1133
 **********
 **   18 **HESSE 
 **********

 FCN=   6118.342     FROM HESSE     STATUS=OK            31 CALLS      228 TOTAL
                     EDM=   .14E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.9272        1.6625        .41780E-04   -1.5182    
   2  alpha         2.2325        .20345        .52983E-03   -.10720    
   3  Normalizat    .65606        .23003        .42651E-03   -1.0565    
   4  Prefactor     1.1133        .10793        .15925E-03   -.89043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40765e-14
Minuit parameter uncertainties:
  1  1.66251
  2  0.203679
  3  0.230367
  4  0.107952
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/452365': 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) = 6118.34170797
delta logL = 0.067433212711

Extracting fit parameters...

4FGL J1800.6+7828
   Spectrum: LogParabola
411         norm:  6.927e+00  1.663e+00  1.000e-04  1.000e+04 ( 1.000e-11)
412        alpha:  2.233e+00  2.037e-01  0.000e+00  5.000e+00 ( 1.000e+00)
413         beta:  3.593e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
414           Eb:  6.563e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  1.113e+00  1.080e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  6.561e-01  2.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 70.09
Ra Dec: 270.173 78.467
Photon Index (Free Index): 2.23 +/- 0.20
Photon Flux (Free Index): 3.52e-07 +/- 8.37e-08
Energy Flux (Free Index): 1.40e-04 +/- 4.08e-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/452365/cmap_HighResolution_428803201_429062401_4FGL_J1800.6+7828_daily_bin731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.38e-07', energy_flux2='1.40e-04', photon_flux_error='7.30e-08', dlogl='6.74e-02', energy_flux='1.51e-04', photon_flux2='3.52e-07', job_status='DONE', time_completed='2021-09-19 08:01:05.808992', photon_index_error2='0.20', photon_index2='2.23', ts='70.00', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='4.08e-05', EG='0.67', time_epoch_completed='1632063665.81', return_code='0', job_id='452365', GAL2='1.11', EG2='0.66', return_code2='0', energy_flux_error='3.27e-05', photon_flux_error2='8.37e-08', ts2='70.09', photon_index='2.16' WHERE bin_id='731' AND source_name='4FGL J1800.6+7828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 19 08:01:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 452365: <4FGL_J1800.6+7828_daily_bin731> in cluster <slac> Done

Job <4FGL_J1800.6+7828_daily_bin731> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sun Sep 19 07:45:26 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 19 07:45:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 19 07:45:28 2021
Terminated at Sun Sep 19 08:01:06 2021
Results reported at Sun Sep 19 08:01:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1800.6+7828_daily_bin731 270.173 78.4674 428803201 429062401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1800.6+7828 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   733.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             252.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   938 sec.
    Turnaround time :                            940 sec.

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

