/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 179 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 = 7401
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1359.1+5544_daily_bin19
RA = 209.785, Dec = 55.7479
tmin = 244252801, tmax = 244512001
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='75567', job_status='RUN', time_executed='2021-09-08 18:34:00.892241', time_epoch_executed='1631151240.89' WHERE source_name='4FGL J1359.1+5544' and cadence='daily' and bin_id='19'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/75567

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/75567/ft1_4FGL_J1359.1+5544_daily_bin19.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/75567/ft2_4FGL_J1359.1+5544_daily_bin19.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/75567/ft1_4FGL_J1359.1+5544_daily_bin19.fits outfile=/scratch/kocevski/75567/ft1_filteredMKT_4FGL_J1359.1+5544_daily_bin19.fits ra=209.785 dec=55.7479 rad=12.0 tmin=244252801.0 tmax=244512001.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 2.41
user 2.16
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/75567/ft2_4FGL_J1359.1+5544_daily_bin19.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/75567/ft2_4FGL_J1359.1+5544_daily_bin19.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/75567/ft1_filteredMKT_4FGL_J1359.1+5544_daily_bin19.fits evtable="EVENTS" outfile="/scratch/kocevski/75567/ft1_filtered_4FGL_J1359.1+5544_daily_bin19.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/75567/ft1_filtered_4FGL_J1359.1+5544_daily_bin19.fits" evtable="EVENTS" scfile=/scratch/kocevski/75567/ft2_4FGL_J1359.1+5544_daily_bin19.fits sctable="SC_DATA" outfile=/scratch/kocevski/75567/ltcube_244252801_244512001_4FGL_J1359.1+5544_daily_bin19.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/75567/ft2_4FGL_J1359.1+5544_daily_bin19.fits
.....................!
real 12.19
user 11.83
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/75567/ft1_filtered_4FGL_J1359.1+5544_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/75567/ft2_4FGL_J1359.1+5544_daily_bin19.fits sctable="SC_DATA" expcube=/scratch/kocevski/75567/ltcube_244252801_244512001_4FGL_J1359.1+5544_daily_bin19.fits outfile=/scratch/kocevski/75567/expmap_244252801_244512001_4FGL_J1359.1+5544_daily_bin19.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/75567/ltcube_244252801_244512001_4FGL_J1359.1+5544_daily_bin19.fits
.....................!
real 191.59
user 185.63
sys 5.55

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

Setting source of interest to:
4FGL J1359.1+5544 @ 209.785 55.7479

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/75567/ft1_filtered_4FGL_J1359.1+5544_daily_bin19.fits scfile=/scratch/kocevski/75567/ft2_4FGL_J1359.1+5544_daily_bin19.fits outfile=/scratch/kocevski/75567/cmap_244252801_244512001_4FGL_J1359.1+5544_daily_bin19.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=209.785 yref=55.7479 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/75567/ft1_filtered_4FGL_J1359.1+5544_daily_bin19.fits scfile=/scratch/kocevski/75567/ft2_4FGL_J1359.1+5544_daily_bin19.fits outfile=/scratch/kocevski/75567/cmap_HighResolution_244252801_244512001_4FGL_J1359.1+5544_daily_bin19.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=209.785 yref=55.7479 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/75567/ft1_filtered_4FGL_J1359.1+5544_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/75567/ft2_4FGL_J1359.1+5544_daily_bin19.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/75567/Model_4FGL_J1359.1+5544_daily_bin19.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/75567/ft1_filtered_4FGL_J1359.1+5544_daily_bin19.fits.....................!
real 39.91
user 38.57
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/75567/ft1_filtered_4FGL_J1359.1+5544_daily_bin19.fits', '/scratch/kocevski/75567/ft2_4FGL_J1359.1+5544_daily_bin19.fits', expMap='/scratch/kocevski/75567/expmap_244252801_244512001_4FGL_J1359.1+5544_daily_bin19.fits', expCube='/scratch/kocevski/75567/ltcube_244252801_244512001_4FGL_J1359.1+5544_daily_bin19.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/75567/Model_4FGL_J1359.1+5544_daily_bin19.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1359.1+5544'

4FGL J1359.1+5544
   Spectrum: LogParabola
333         norm:  2.033e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
334        alpha:  2.361e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
335         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  7.465e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/75567/ft1_filtered_4FGL_J1359.1+5544_daily_bin19.fits
Spacecraft file(s): /scratch/kocevski/75567/ft2_4FGL_J1359.1+5544_daily_bin19.fits
Exposure map: /scratch/kocevski/75567/expmap_244252801_244512001_4FGL_J1359.1+5544_daily_bin19.fits
Exposure cube: /scratch/kocevski/75567/ltcube_244252801_244512001_4FGL_J1359.1+5544_daily_bin19.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/75567/Model_4FGL_J1359.1+5544_daily_bin19.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) = 4310.28982522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8367       1.0000         .10000E-03   10000.    
     2 'norm      '    1.4122       1.0000         .10000E-03   10000.    
     3 'norm      '    3.5610       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10268E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.897       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .80953E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.8618       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .55024E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10275E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    12.533       1.0000         .10000E-03   10000.    
    18 'Prefactor '    61.633       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .39509E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.9958       1.0000         .10000E-03   10000.    
    23 'Prefactor '    47.797       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    42.263       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    23.347       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    5.2889       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .54858E-02   1.0000         .10000E-03   10000.    
    32 'norm      '    1.7441       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    3.9167       1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.2191       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .82801       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4310.217     FROM MIGRAD    STATUS=CONVERGED   1052 CALLS     5364 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8371        6.2044       -.56972E-06    .40342E-03
   2  norm          1.4122        1.5444        .24398E-06    .66399E-03
   3  norm          3.5611        2.4911        .15085E-06    .18377E-03
   4  Prefactor     .10008E-03    134.58       -.11007E-04** at limit **
   5  Prefactor     .10000E-03    8.0538        .13892E-05** at limit **
   6  norm          .10000E-03    2.2312        .74652E-07** at limit **
   7  Prefactor     21.906        30.186        .54035E-07    .33004E-04
   8  Prefactor     .10008E-03    35.537        .14272E-04** at limit **
   9  Prefactor     .10000E-03    10.834        .57989E-06** at limit **
  10  norm          7.8701        4.7073       -.95808E-07   -.35931E-04
  11  Prefactor     .10000E-03    23.138        .92581E-06** at limit **
  12  Prefactor     .10000E-03    3.6748        .12474E-06** at limit **
  13  Prefactor     .10007E-03    1055.7        .27461E-04** at limit **
  14  Prefactor     .10000E-03    12.297        .78563E-07** at limit **
  15  norm          .10000E-03    .41929        .49588E-07** at limit **
  16  norm          .10007E-03    114.97        .94773E-05** at limit **
  17  norm          12.532        6.5509       -.27697E-06   -.32809E-03
  18  Prefactor     61.620        73.624        .65542E-06   -.17770E-05
  19  Prefactor     .10067E-03    2268.4        .30343E-04** at limit **
  20  Prefactor     .10000E-03    32.365       -.21563E-05** at limit **
  21  Prefactor     .10000E-03    34.041        .19175E-05** at limit **
  22  Prefactor     5.9957        5.1698        .27498E-06    .15562E-03
  23  Prefactor     47.801        27.026       -.15261E-06   -.20869E-05
  24  Prefactor     .10000E-03    1.5764        .10605E-06** at limit **
  25  Prefactor     42.257        46.381       -.57760E-06    .18477E-04
  26  Prefactor     .10000E-03    10.686       -.38278E-06** at limit **
  27  Prefactor     .10000E-03    19.429       -.34986E-06** at limit **
  28  Prefactor     23.347        60.203        .10740E-05    .49321E-05
  29  Prefactor     .10000E-03    7.3960        .70478E-07** at limit **
  30  Prefactor     5.2840        34.675        .10137E-05   -.13290E-04
  31  Prefactor     .10018E-03    507.88       -.73336E-04** at limit **
  32  norm          1.7434        1.8680       -.14758E-06   -.36430E-03
  33  Prefactor     .10000E-03    5.8447        .36433E-06** at limit **
  34  Prefactor     3.9176        9.1286        .14290E-06    .44990E-04
  35  Normalizat    1.2188        .24820        .48832E-05   -.50699E-03
  36  Prefactor     .82834        .29073       -.97362E-05   -.97815E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.83712
  norm       = 1.4122
  norm       = 3.56111
  Prefactor  = 0.000100083
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 21.9058
  Prefactor  = 0.000100077
  Prefactor  = 0.0001
  norm       = 7.87006
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100065
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100069
  norm       = 12.5323
  Prefactor  = 61.6198
  Prefactor  = 0.000100673
  Prefactor  = 0.000100004
  Prefactor  = 0.000100002
  Prefactor  = 5.99566
  Prefactor  = 47.8006
  Prefactor  = 0.0001
  Prefactor  = 42.2573
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.3469
  Prefactor  = 0.0001
  Prefactor  = 5.284
  Prefactor  = 0.000100178
  norm       = 1.74345
  Prefactor  = 0.0001
  Prefactor  = 3.91759
  Normalizat = 1.2188
  Prefactor  = 0.828345
 **********
 **   18 **HESSE 
 **********

 FCN=   4310.217     FROM HESSE     STATUS=OK           831 CALLS     6195 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8371        6.2294        .81493E-03   -1.5225    
   2  norm          1.4122        1.5517        .82952E-04   -1.5470    
   3  norm          3.5611        2.4914        .83968E-04   -1.5331    
   4  Prefactor     .10008E-03    138.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.1461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.2543        .95788E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.906        30.206        .85597E-04   -1.4772    
   8  Prefactor     .10008E-03    18.962        .79585E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.8701        4.7235        .10462E-03   -1.5147    
  11  Prefactor     .10000E-03    23.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.7288        .12294E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10007E-03    86.504        .15719       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .42135        .41527E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10007E-03    117.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.532        6.5750        .11315E-03   -1.5000    
  18  Prefactor     61.620        73.676        .51111E-04   -1.4136    
  19  Prefactor     .10067E-03    2291.4        .21269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    32.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    34.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     5.9957        5.1692        .13445E-03   -1.5218    
  23  Prefactor     47.801        27.060        .57999E-04   -1.4324    
  24  Prefactor     .10000E-03    1.5944        .80554E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     42.257        46.325        .61664E-04   -1.4407    
  26  Prefactor     .10000E-03    10.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    19.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     23.347        60.146        .82900E-04   -1.4741    
  29  Prefactor     .10000E-03    7.4206        .17440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     5.2840        34.759        .17477E-03   -1.5248    
  31  Prefactor     .10018E-03    19.096        .74826E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          1.7434        1.8537        .87442E-04   -1.5444    
  33  Prefactor     .10000E-03    5.8637        .15504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     3.9176        9.1335        .20385E-03   -1.5312    
  35  Normalizat    1.2188        .25977        .22503E-03   -.86024    
  36  Prefactor     .82834        .29439        .31378E-03   -.98692    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36556e-09
Minuit parameter uncertainties:
  1  6.23013
  2  1.55175
  3  2.49146
  4  0.00681428
  5  0.00019528
  6  1.32022e-06
  7  30.2266
  8  0.00241298
  9  7.86891e-05
  10  4.72375
  11  0.000223232
  12  1.66521e-05
  13  0.00475259
  14  9.05808e-05
  15  2.63556e-07
  16  0.00569321
  17  6.57539
  18  73.7856
  19  0.0819117
  20  0.000683948
  21  0.000507473
  22  5.16963
  23  27.0674
  24  9.49517e-07
  25  46.3643
  26  8.34446e-05
  27  9.7554e-05
  28  60.3025
  29  3.97939e-06
  30  27.1272
  31  0.0036872
  32  1.85377
  33  3.77282e-05
  34  9.13677
  35  0.260043
  36  0.294954
Done.

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

Extracting fit parameters...

4FGL J1359.1+5544
   Spectrum: LogParabola
333         norm:  1.253e+01  6.575e+00  1.000e-04  1.000e+04 ( 1.000e-12)
334        alpha:  2.361e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
335         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  7.465e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  8.283e-01  2.950e-01  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.219e+00  2.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.73
Ra Dec: 209.785 55.748
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 8.39e-08 +/- 4.40e-08
Energy Flux (Fixed Index): 2.83e-05 +/- 1.49e-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) = 4308.70385103
delta logL = 1.51338159269

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4308.68630981
delta logL = 1.53092281632

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4308.686     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      222 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.095        7.7776        .26674E-02   -.22279E-03
   2  alpha         1.5932        .37909        .24760       -.13441E-04
   3  Normalizat    1.2526        .20468        .50323E-01    .10424E-04
   4  Prefactor     .80656        .24129        .71798E-01    .21544E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.0954
  alpha      = 1.59322
  Normalizat = 1.25257
  Prefactor  = 0.806563
 **********
 **   18 **HESSE 
 **********

 FCN=   4308.686     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .31E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.095        8.3254        .53348E-03   -1.4957    
   2  alpha         1.5932        .42497        .10436E-01   -.37118    
   3  Normalizat    1.2526        .24522        .22248E-03   -.84993    
   4  Prefactor     .80656        .28867        .31772E-03   -.99487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14776e-13
Minuit parameter uncertainties:
  1  8.32605
  2  0.427365
  3  0.245448
  4  0.289211
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/75567': 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) = 4308.68630955
delta logL = 1.53092307125

Extracting fit parameters...

4FGL J1359.1+5544
   Spectrum: LogParabola
333         norm:  1.410e+01  8.326e+00  1.000e-04  1.000e+04 ( 1.000e-12)
334        alpha:  1.593e+00  4.274e-01  0.000e+00  5.000e+00 ( 1.000e+00)
335         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  7.465e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  8.066e-01  2.892e-01  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.253e+00  2.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.82
Ra Dec: 209.785 55.748
Photon Index (Free Index): 1.59 +/- 0.43
Photon Flux (Free Index): 4.65e-08 +/- 3.29e-08
Energy Flux (Free Index): 5.34e-05 +/- 3.97e-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/75567/cmap_HighResolution_244252801_244512001_4FGL_J1359.1+5544_daily_bin19.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.39e-08', energy_flux2='5.34e-05', photon_flux_error='4.40e-08', dlogl='1.53e+00', energy_flux='2.83e-05', photon_flux2='4.65e-08', job_status='DONE', time_completed='2021-09-08 18:47:13.354293', photon_index_error2='0.43', photon_index2='1.59', ts='14.73', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='3.97e-05', EG='1.22', time_epoch_completed='1631152033.35', return_code='0', job_id='75567', GAL2='0.81', EG2='1.25', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='3.29e-08', ts2='17.82', photon_index='2.36' WHERE bin_id='19' AND source_name='4FGL J1359.1+5544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 18:47:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 75567: <4FGL_J1359.1+5544_daily_bin19> in cluster <slac> Done

Job <4FGL_J1359.1+5544_daily_bin19> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 18:30:51 2021
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 18:30:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 18:30:52 2021
Terminated at Wed Sep  8 18:47:14 2021
Results reported at Wed Sep  8 18:47:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1359.1+5544_daily_bin19 209.785 55.7479 244252801 244512001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1359.1+5544 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   791.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            983 sec.

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

