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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin26
RA = 207.715, Dec = 30.5588
tmin = 246067201, tmax = 246326401
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='609', job_status='RUN', time_executed='2021-09-08 14:38:21.412952', time_epoch_executed='1631137101.41' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='26'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/609

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/609/ft1_4FGL_J1350.8+3033_daily_bin26.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/609/ft2_4FGL_J1350.8+3033_daily_bin26.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/609/ft1_4FGL_J1350.8+3033_daily_bin26.fits outfile=/scratch/kocevski/609/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin26.fits ra=207.715 dec=30.5588 rad=12.0 tmin=246067201.0 tmax=246326401.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 1.55
user 1.34
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/609/ft2_4FGL_J1350.8+3033_daily_bin26.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/609/ft2_4FGL_J1350.8+3033_daily_bin26.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/609/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin26.fits evtable="EVENTS" outfile="/scratch/kocevski/609/ft1_filtered_4FGL_J1350.8+3033_daily_bin26.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.52
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/609/ft1_filtered_4FGL_J1350.8+3033_daily_bin26.fits" evtable="EVENTS" scfile=/scratch/kocevski/609/ft2_4FGL_J1350.8+3033_daily_bin26.fits sctable="SC_DATA" outfile=/scratch/kocevski/609/ltcube_246067201_246326401_4FGL_J1350.8+3033_daily_bin26.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/609/ft2_4FGL_J1350.8+3033_daily_bin26.fits
.....................!
real 18.08
user 17.70
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/609/ft1_filtered_4FGL_J1350.8+3033_daily_bin26.fits evtable="EVENTS" scfile=/scratch/kocevski/609/ft2_4FGL_J1350.8+3033_daily_bin26.fits sctable="SC_DATA" expcube=/scratch/kocevski/609/ltcube_246067201_246326401_4FGL_J1350.8+3033_daily_bin26.fits outfile=/scratch/kocevski/609/expmap_246067201_246326401_4FGL_J1350.8+3033_daily_bin26.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/609/ltcube_246067201_246326401_4FGL_J1350.8+3033_daily_bin26.fits
.....................!
real 194.43
user 188.99
sys 4.49

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

Setting source of interest to:
4FGL J1350.8+3033 @ 207.715 30.5588

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/609/ft1_filtered_4FGL_J1350.8+3033_daily_bin26.fits scfile=/scratch/kocevski/609/ft2_4FGL_J1350.8+3033_daily_bin26.fits outfile=/scratch/kocevski/609/cmap_246067201_246326401_4FGL_J1350.8+3033_daily_bin26.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=207.715 yref=30.5588 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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/609/ft1_filtered_4FGL_J1350.8+3033_daily_bin26.fits scfile=/scratch/kocevski/609/ft2_4FGL_J1350.8+3033_daily_bin26.fits outfile=/scratch/kocevski/609/cmap_HighResolution_246067201_246326401_4FGL_J1350.8+3033_daily_bin26.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=207.715 yref=30.5588 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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/609/ft1_filtered_4FGL_J1350.8+3033_daily_bin26.fits evtable="EVENTS" scfile=/scratch/kocevski/609/ft2_4FGL_J1350.8+3033_daily_bin26.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/609/Model_4FGL_J1350.8+3033_daily_bin26.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/609/ft1_filtered_4FGL_J1350.8+3033_daily_bin26.fits.....................!
real 63.47
user 62.03
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/609/ft1_filtered_4FGL_J1350.8+3033_daily_bin26.fits', '/scratch/kocevski/609/ft2_4FGL_J1350.8+3033_daily_bin26.fits', expMap='/scratch/kocevski/609/expmap_246067201_246326401_4FGL_J1350.8+3033_daily_bin26.fits', expCube='/scratch/kocevski/609/ltcube_246067201_246326401_4FGL_J1350.8+3033_daily_bin26.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/609/Model_4FGL_J1350.8+3033_daily_bin26.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1350.8+3033'

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.772e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.415e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  7.126e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/609/ft1_filtered_4FGL_J1350.8+3033_daily_bin26.fits
Spacecraft file(s): /scratch/kocevski/609/ft2_4FGL_J1350.8+3033_daily_bin26.fits
Exposure map: /scratch/kocevski/609/expmap_246067201_246326401_4FGL_J1350.8+3033_daily_bin26.fits
Exposure cube: /scratch/kocevski/609/ltcube_246067201_246326401_4FGL_J1350.8+3033_daily_bin26.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/609/Model_4FGL_J1350.8+3033_daily_bin26.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) = 8350.96469504

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8154       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .12066E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    30.225       1.0000         .10000E-03   10000.    
     6 'norm      '    13.156       1.0000         .10000E-03   10000.    
     7 'norm      '    26.218       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.2598       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.5987       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    128.75       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.8235       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .33323       1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    4.8378       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    24.676       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.2524       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .82088       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8350.961     FROM MIGRAD    STATUS=CONVERGED    692 CALLS     3653 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8153        3.4364        .28996E-07    .10337E-03
   2  Prefactor     .10000E-03    11.385        .14645E-06** at limit **
   3  Prefactor     .10000E-03    7.4194        .12737E-06** at limit **
   4  norm          .10018E-03    4.0942       -.34264E-05** at limit **
   5  norm          30.228        8.3098        .90296E-07    .43233E-03
   6  norm          13.151        12.833       -.83041E-07   -.10745E-03
   7  norm          26.218        22.842       -.11751E-05   -.22056E-04
   8  Prefactor     .10000E-03    .89021        .84672E-07** at limit **
   9  Prefactor     .10000E-03    2.9221       -.53875E-09** at limit **
  10  norm          3.2643        6.5503        .58000E-05    .37531E-03
  11  Prefactor     .10000E-03    12.801       -.11030E-06** at limit **
  12  norm          2.5941        9.6671       -.41363E-05   -.48951E-04
  13  Prefactor     .10000E-03    8.7351        .16459E-06** at limit **
  14  Prefactor     .10000E-03    15.826       -.21662E-06** at limit **
  15  Prefactor     128.77        67.982       -.40724E-06    .30154E-03
  16  Prefactor     5.8243        3.6301        .12092E-06    .71796E-05
  17  Prefactor     .10000E-03    2.7008        .11602E-06** at limit **
  18  norm          .10000E-03    4.8952        .23417E-06** at limit **
  19  Prefactor     .10000E-03    5.8571       -.41852E-07** at limit **
  20  norm          .10000E-03    1.9163       -.42415E-07** at limit **
  21  Prefactor     .10000E-03    4.3199        .21637E-07** at limit **
  22  Prefactor     .10000E-03    6.1112       -.69380E-07** at limit **
  23  Prefactor     .33444        1.8847        .30531E-06   -.22256E-03
  24  norm          .10000E-03    6.0581       -.70949E-07** at limit **
  25  norm          4.8376        2.0438       -.18362E-07   -.60389E-05
  26  norm          .10000E-03    2.6275       -.13512E-06** at limit **
  27  Prefactor     24.670        39.343        .10910E-05   -.86883E-04
  28  Normalizat    1.2521        .15781       -.22623E-05   -.94261E-04
  29  Prefactor     .82120        .16030        .24016E-05    .15698E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.8153
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.00010018
  norm       = 30.2279
  norm       = 13.1506
  norm       = 26.2179
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.2643
  Prefactor  = 0.0001
  norm       = 2.59411
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 128.773
  Prefactor  = 5.82426
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.334437
  norm       = 0.0001
  norm       = 4.83758
  norm       = 0.0001
  Prefactor  = 24.6695
  Normalizat = 1.25211
  Prefactor  = 0.821199
 **********
 **   18 **HESSE 
 **********

 FCN=   8350.961     FROM HESSE     STATUS=OK           555 CALLS     4208 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8153        3.4266        .18071E-03   -1.5372    
   2  Prefactor     .10000E-03    11.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.4316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10018E-03    2.6047        .49752E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          30.228        8.4243        .72878E-04   -1.4608    
   6  norm          13.151        12.980        .11043E-03   -1.4983    
   7  norm          26.218        22.848        .78237E-04   -1.4683    
   8  Prefactor     .10000E-03    .89751        .84173E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.9245        .15256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.2643        6.7706        .11215E-02   -1.5347    
  11  Prefactor     .10000E-03    12.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.5941        9.7730        .25309E-03   -1.5386    
  13  Prefactor     .10000E-03    8.7931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     128.77        68.965        .17741E-03   -1.3433    
  16  Prefactor     5.8243        3.6370        .13131E-03   -1.5225    
  17  Prefactor     .10000E-03    2.7093        .14678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.9187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.8728        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.9578        .12346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.3333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.1324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .33444        3.7998        .23641E-02   -1.5592    
  24  norm          .10000E-03    6.0849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          4.8376        2.0463        .82403E-04   -1.5268    
  26  norm          .10000E-03    2.6354        .14472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     24.670        39.472        .80640E-04   -1.4714    
  28  Normalizat    1.2521        .18828        .23074E-03   -.85008    
  29  Prefactor     .82120        .19160        .29808E-03   -.98952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.87674e-08
Minuit parameter uncertainties:
  1  3.42684
  2  3.29956e-05
  3  2.34669e-06
  4  0.00136967
  5  8.42459
  6  12.9833
  7  22.856
  8  6.77052e-06
  9  2.00428e-05
  10  6.77221
  11  9.45243e-05
  12  9.779
  13  8.90838e-05
  14  3.59058e-06
  15  69.0081
  16  3.6371
  17  3.32642e-05
  18  1.07545e-05
  19  1.70815e-05
  20  1.72019e-06
  21  3.6594e-06
  22  2.13593e-05
  23  2.25442
  24  1.90779e-05
  25  2.04634
  26  1.3793e-05
  27  39.514
  28  0.18838
  29  0.191752
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  5.824e+00  3.637e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.415e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  7.126e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  8.212e-01  1.918e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.252e+00  1.884e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.92
Ra Dec: 207.715 30.559
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 4.73e-08 +/- 2.95e-08
Energy Flux (Fixed Index): 1.52e-05 +/- 9.48e-06

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) = 8350.95387981
delta logL = 0.00721903001613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8350.95233655
delta logL = 0.00876229435016

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9988       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3350       1.0000          .0000       10.000    
     3 'Normalizat'    1.2568       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81781       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8350.952     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      205 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9988        79.377        .40985E-02    .40161E-03
   2  Index         2.3350        6.1589        .24162        .65480E-05
   3  Normalizat    1.2568        .73840E-01    .52104E-01   -.14355E-04
   4  Prefactor     .81781        .61743E-01    .67497E-01    .36997E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.99882
  Index      = 2.33496
  Normalizat = 1.2568
  Prefactor  = 0.817813
 **********
 **   18 **HESSE 
 **********

 FCN=   8350.952     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9988        3.9820        .13530E-03   -1.5218    
   2  Index         2.3350        .60659        .82365E-02   -.56215    
   3  Normalizat    1.2568        .17985        .23037E-03   -.84865    
   4  Prefactor     .81781        .18978        .29861E-03   -.99075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13002e-11
Minuit parameter uncertainties:
  1  3.98216
  2  0.608688
  3  0.179943
  4  0.189935
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/609': 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) = 8350.95233655
delta logL = 0.00876229444111

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  5.999e+00  3.982e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.335e+00  6.087e-01  0.000e+00  1.000e+01 (-1.000e+00)
290        Scale:  7.126e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  8.178e-01  1.899e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.257e+00  1.799e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.89
Ra Dec: 207.715 30.559
Photon Index (Free Index): 2.33 +/- 0.61
Photon Flux (Free Index): 4.41e-08 +/- 3.64e-08
Energy Flux (Free Index): 1.58e-05 +/- 1.15e-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/609/cmap_HighResolution_246067201_246326401_4FGL_J1350.8+3033_daily_bin26.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.73e-08', energy_flux2='1.58e-05', photon_flux_error='2.95e-08', dlogl='8.76e-03', energy_flux='1.52e-05', photon_flux2='4.41e-08', job_status='DONE', time_completed='2021-09-08 14:52:09.222633', photon_index_error2='0.61', photon_index2='2.33', ts='4.92', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='1.15e-05', EG='1.25', time_epoch_completed='1631137929.22', return_code='0', job_id='609', GAL2='0.82', EG2='1.26', return_code2='0', energy_flux_error='9.48e-06', photon_flux_error2='3.64e-08', ts2='4.89', photon_index='2.42' WHERE bin_id='26' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:52:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 609: <4FGL_J1350.8+3033_daily_bin26> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin26> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep  8 14:35:35 2021
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 14:35:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 14:35:47 2021
Terminated at Wed Sep  8 14:52:10 2021
Results reported at Wed Sep  8 14:52:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin26 207.715 30.5588 246067201 246326401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1350.8+3033 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   823.20 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             312.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            995 sec.

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

