/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 92 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 = 7439
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1350.8+3033_daily_bin1074
RA = 207.715, Dec = 30.5588
tmin = 517708801, tmax = 517968001
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='8671', job_status='RUN', time_executed='2021-09-08 15:02:55.338723', time_epoch_executed='1631138575.34' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='1074'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/8671

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/8671/ft1_4FGL_J1350.8+3033_daily_bin1074.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/8671/ft2_4FGL_J1350.8+3033_daily_bin1074.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/8671/ft1_4FGL_J1350.8+3033_daily_bin1074.fits outfile=/scratch/kocevski/8671/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin1074.fits ra=207.715 dec=30.5588 rad=12.0 tmin=517708801.0 tmax=517968001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.77
user 3.50
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/8671/ft2_4FGL_J1350.8+3033_daily_bin1074.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/8671/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin1074.fits evtable="EVENTS" outfile="/scratch/kocevski/8671/ft1_filtered_4FGL_J1350.8+3033_daily_bin1074.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.56
user 0.37
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/8671/ft1_filtered_4FGL_J1350.8+3033_daily_bin1074.fits" evtable="EVENTS" scfile=/scratch/kocevski/8671/ft2_4FGL_J1350.8+3033_daily_bin1074.fits sctable="SC_DATA" outfile=/scratch/kocevski/8671/ltcube_517708801_517968001_4FGL_J1350.8+3033_daily_bin1074.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/8671/ft2_4FGL_J1350.8+3033_daily_bin1074.fits
.....................!
real 16.79
user 16.36
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/8671/ft1_filtered_4FGL_J1350.8+3033_daily_bin1074.fits evtable="EVENTS" scfile=/scratch/kocevski/8671/ft2_4FGL_J1350.8+3033_daily_bin1074.fits sctable="SC_DATA" expcube=/scratch/kocevski/8671/ltcube_517708801_517968001_4FGL_J1350.8+3033_daily_bin1074.fits outfile=/scratch/kocevski/8671/expmap_517708801_517968001_4FGL_J1350.8+3033_daily_bin1074.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/8671/ltcube_517708801_517968001_4FGL_J1350.8+3033_daily_bin1074.fits
.....................!
real 192.93
user 186.71
sys 5.32

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/8671/ft1_filtered_4FGL_J1350.8+3033_daily_bin1074.fits scfile=/scratch/kocevski/8671/ft2_4FGL_J1350.8+3033_daily_bin1074.fits outfile=/scratch/kocevski/8671/cmap_517708801_517968001_4FGL_J1350.8+3033_daily_bin1074.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/8671/ft1_filtered_4FGL_J1350.8+3033_daily_bin1074.fits scfile=/scratch/kocevski/8671/ft2_4FGL_J1350.8+3033_daily_bin1074.fits outfile=/scratch/kocevski/8671/cmap_HighResolution_517708801_517968001_4FGL_J1350.8+3033_daily_bin1074.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.58
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/8671/ft1_filtered_4FGL_J1350.8+3033_daily_bin1074.fits', '/scratch/kocevski/8671/ft2_4FGL_J1350.8+3033_daily_bin1074.fits', expMap='/scratch/kocevski/8671/expmap_517708801_517968001_4FGL_J1350.8+3033_daily_bin1074.fits', expCube='/scratch/kocevski/8671/ltcube_517708801_517968001_4FGL_J1350.8+3033_daily_bin1074.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/8671/Model_4FGL_J1350.8+3033_daily_bin1074.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/8671/ft1_filtered_4FGL_J1350.8+3033_daily_bin1074.fits
Spacecraft file(s): /scratch/kocevski/8671/ft2_4FGL_J1350.8+3033_daily_bin1074.fits
Exposure map: /scratch/kocevski/8671/expmap_517708801_517968001_4FGL_J1350.8+3033_daily_bin1074.fits
Exposure cube: /scratch/kocevski/8671/ltcube_517708801_517968001_4FGL_J1350.8+3033_daily_bin1074.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/8671/Model_4FGL_J1350.8+3033_daily_bin1074.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) = 5694.08767289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6312       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.394       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.348       1.0000         .10000E-03   10000.    
     4 'norm      '    .31605       1.0000         .10000E-03   10000.    
     5 'norm      '    .20696E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    24.233       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .75584       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    8.1706       1.0000         .10000E-03   10000.    
    11 'Prefactor '    75.217       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    34.143       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    56.948       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .75381       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.9885       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10795E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    18.671       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .97145       1.0000         .10000E-03   10000.    
    24 'norm      '    6.4762       1.0000         .10000E-03   10000.    
    25 'norm      '    11.586       1.0000         .10000E-03   10000.    
    26 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .72554       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.1433       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .82679       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=   5694.077     FROM MIGRAD    STATUS=CONVERGED    749 CALLS     3753 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6308        3.8457       -.94018E-07    .47876E-04
   2  Prefactor     15.387        23.307       -.82826E-06    .96095E-04
   3  Prefactor     10.363        15.466       -.39792E-08    .11453E-03
   4  norm          .29708        3.8513       -.63616E-06    .47247E-03
   5  norm          .10001E-03    3.0722       -.14989E-05** at limit **
   6  norm          .10000E-03    3.1886        .75136E-08** at limit **
   7  norm          24.233        24.072        .14008E-06   -.49845E-04
   8  Prefactor     .76061        2.7246        .78783E-06    .48384E-03
   9  Prefactor     .10000E-03    9.2849       -.29682E-06** at limit **
  10  norm          8.1717        5.8404        .16106E-07   -.73092E-05
  11  Prefactor     75.202        56.066       -.92471E-06   -.69446E-04
  12  norm          .10000E-03    2.6311        .99238E-07** at limit **
  13  Prefactor     34.152        21.944       -.10164E-05   -.31855E-03
  14  Prefactor     .10000E-03    7.4373       -.16899E-06** at limit **
  15  Prefactor     56.884        83.969       -.29821E-05   -.17168E-03
  16  Prefactor     .75394        5.1502        .34470E-05    .22778E-03
  17  Prefactor     .10000E-03    5.5606        .23748E-06** at limit **
  18  norm          4.9950        17.659        .79614E-06    .15219E-04
  19  Prefactor     .10000E-03    7.5171        .12675E-07** at limit **
  20  norm          .10000E-03    2.1200        .10242E-07** at limit **
  21  Prefactor     .10000E-03    11.425       -.93970E-06** at limit **
  22  Prefactor     18.689        18.402       -.38864E-06   -.11945E-03
  23  Prefactor     .97244        3.6195        .19551E-05    .26651E-03
  24  norm          6.4758        9.0294        .10202E-06   -.62396E-05
  25  norm          11.585        3.5877        .80175E-07   -.36968E-04
  26  norm          .10000E-03    6.1330        .27506E-06** at limit **
  27  Prefactor     .59659        43.618       -.35822E-05    .15584E-03
  28  Normalizat    1.1423        .21048        .32872E-05   -.26452E-03
  29  Prefactor     .82781        .20868       -.61158E-05   -.37381E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.63084
  Prefactor  = 15.3867
  Prefactor  = 10.3632
  norm       = 0.297082
  norm       = 0.000100009
  norm       = 0.0001
  norm       = 24.2333
  Prefactor  = 0.760606
  Prefactor  = 0.0001
  norm       = 8.17171
  Prefactor  = 75.2023
  norm       = 0.0001
  Prefactor  = 34.1516
  Prefactor  = 0.0001
  Prefactor  = 56.8842
  Prefactor  = 0.753944
  Prefactor  = 0.0001
  norm       = 4.99496
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.6894
  Prefactor  = 0.972445
  norm       = 6.47579
  norm       = 11.5853
  norm       = 0.0001
  Prefactor  = 0.59659
  Normalizat = 1.1423
  Prefactor  = 0.827809
 **********
 **   18 **HESSE 
 **********

 FCN=   5694.077     FROM HESSE     STATUS=OK           563 CALLS     4316 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6308        3.8381        .14536E-03   -1.5327    
   2  Prefactor     15.387        23.072        .10208E-03   -1.4923    
   3  Prefactor     10.363        16.159        .12455E-03   -1.5064    
   4  norm          .29708        27.491        .26184E-02   -1.5599    
   5  norm          .10001E-03    6.4522        .23087E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.2062        .13141E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          24.233        24.077        .81372E-04   -1.4723    
   8  Prefactor     .76061        2.6241        .21534E-03   -1.5534    
   9  Prefactor     .10000E-03    9.3133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1717        5.8423        .14026E-03   -1.5136    
  11  Prefactor     75.202        55.849        .23148E-03   -1.3971    
  12  norm          .10000E-03    2.6370        .11953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     34.152        22.057        .68580E-04   -1.4539    
  14  Prefactor     .10000E-03    7.4415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     56.884        85.187        .53159E-04   -1.4198    
  16  Prefactor     .75394        5.5399        .32828E-03   -1.5534    
  17  Prefactor     .10000E-03    5.5786        .17383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.9950        17.657        .18005E-03   -1.5261    
  19  Prefactor     .10000E-03    7.5222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.1484        .10723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    11.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     18.689        18.436        .92692E-04   -1.4843    
  23  Prefactor     .97244        3.6897        .26364E-03   -1.5511    
  24  norm          6.4758        9.0224        .15771E-03   -1.5199    
  25  norm          11.585        3.5902        .76924E-04   -1.5027    
  26  norm          .10000E-03    6.1965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .59659        44.768        .15098       -1.5553    
  28  Normalizat    1.1423        .23856        .23131E-03   -.88405    
  29  Prefactor     .82781        .23263        .28320E-03   -.98711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.64135e-09
Minuit parameter uncertainties:
  1  3.83837
  2  23.085
  3  16.1661
  4  5.71739
  5  0.000491149
  6  1.76624e-05
  7  24.0863
  8  2.62453
  9  1.70862e-05
  10  5.84274
  11  55.8878
  12  5.20972e-06
  13  22.062
  14  2.42935e-06
  15  85.3699
  16  4.0877
  17  1.4732e-05
  18  17.6754
  19  1.85776e-05
  20  1.6382e-06
  21  4.15567e-05
  22  18.4412
  23  3.69056
  24  9.02431
  25  3.59026
  26  5.00415e-05
  27  10.3432
  28  0.238789
  29  0.232908
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  7.539e-01  4.088e+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.278e-01  2.329e-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.142e+00  2.388e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 207.715 30.559
Photon Flux Upper Limit: 9.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/8671/likelihoodResults_517708801_517968001_4FGL_J1350.8+3033_daily_bin1074.txt

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) = 5694.07639529
delta logL = 0.000644096012365

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5694.07637462
delta logL = 0.000664763245368

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75387       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4760       1.0000          .0000       10.000    
     3 'Normalizat'    1.1418       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82806       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5694.076     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      258 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .74163        5.6408        .31895E-03   -.82338E-04
   2  Index         2.4783        1.7222        .11504E-01    .61541E-04
   3  Normalizat    1.1419        .21378        .23135E-03   -.36314E-03
   4  Prefactor     .82807        .22603        .28317E-03   -.35238E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.741633
  Index      = 2.47826
  Normalizat = 1.14187
  Prefactor  = 0.828066
 **********
 **   18 **HESSE 
 **********

 FCN=   5694.076     FROM HESSE     STATUS=OK            23 CALLS      281 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .74163        5.3737        .12758E-04   -1.5536    
   2  Index         2.4783        1.6842        .46015E-03   -.52863    
   3  Normalizat    1.1419        .21402        .46269E-04   -.88419    
   4  Prefactor     .82807        .22621        .56633E-04   -.98702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.15285e-10
Minuit parameter uncertainties:
  1  3.9929
  2  1.73014
  3  0.214179
  4  0.226468
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/8671': 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) = 5694.07636967
delta logL = 0.000669717382152

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  7.416e-01  3.993e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.478e+00  1.730e+00  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.281e-01  2.265e-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.142e+00  2.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 207.715 30.559

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/8671/cmap_HighResolution_517708801_517968001_4FGL_J1350.8+3033_daily_bin1074.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.07e-03', job_status='DONE', photon_flux_upper_limit='9.14e-08', time_completed='2021-09-08 15:16:44.456319', job_id='8671', GAL2='0.83', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1631139404.46', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='6.70e-04', ts2='0.04', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1074' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 15:16:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 8671: <4FGL_J1350.8+3033_daily_bin1074> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin1074> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 15:00:25 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 15:01:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 15:01:07 2021
Terminated at Wed Sep  8 15:16:45 2021
Results reported at Wed Sep  8 15:16:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin1074 207.715 30.5588 517708801 517968001 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 :                                   757.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            980 sec.

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

