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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin677
RA = 207.715, Dec = 30.5588
tmin = 414806401, tmax = 415065601
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='5781', job_status='RUN', time_executed='2021-09-08 14:51:48.639360', time_epoch_executed='1631137908.64' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='677'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/5781

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/5781/ft1_4FGL_J1350.8+3033_daily_bin677.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/5781/ft2_4FGL_J1350.8+3033_daily_bin677.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/5781/ft1_4FGL_J1350.8+3033_daily_bin677.fits outfile=/scratch/kocevski/5781/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin677.fits ra=207.715 dec=30.5588 rad=12.0 tmin=414806401.0 tmax=415065601.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 5.90
user 5.63
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/5781/ft2_4FGL_J1350.8+3033_daily_bin677.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/5781/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin677.fits evtable="EVENTS" outfile="/scratch/kocevski/5781/ft1_filtered_4FGL_J1350.8+3033_daily_bin677.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.32
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/5781/ft1_filtered_4FGL_J1350.8+3033_daily_bin677.fits evtable="EVENTS" scfile=/scratch/kocevski/5781/ft2_4FGL_J1350.8+3033_daily_bin677.fits sctable="SC_DATA" expcube=/scratch/kocevski/5781/ltcube_414806401_415065601_4FGL_J1350.8+3033_daily_bin677.fits outfile=/scratch/kocevski/5781/expmap_414806401_415065601_4FGL_J1350.8+3033_daily_bin677.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/5781/ltcube_414806401_415065601_4FGL_J1350.8+3033_daily_bin677.fits
.....................!
real 191.41
user 185.50
sys 5.44

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/5781/ft1_filtered_4FGL_J1350.8+3033_daily_bin677.fits scfile=/scratch/kocevski/5781/ft2_4FGL_J1350.8+3033_daily_bin677.fits outfile=/scratch/kocevski/5781/cmap_414806401_415065601_4FGL_J1350.8+3033_daily_bin677.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/5781/ft1_filtered_4FGL_J1350.8+3033_daily_bin677.fits scfile=/scratch/kocevski/5781/ft2_4FGL_J1350.8+3033_daily_bin677.fits outfile=/scratch/kocevski/5781/cmap_HighResolution_414806401_415065601_4FGL_J1350.8+3033_daily_bin677.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5343       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .23027E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    5.1302       1.0000         .10000E-03   10000.    
     6 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.0131       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    13.090       1.0000         .10000E-03   10000.    
    11 'Prefactor '    35.299       1.0000         .10000E-03   10000.    
    12 'norm      '    8.5118       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.135       1.0000         .10000E-03   10000.    
    15 'Prefactor '    135.96       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.2377       1.0000         .10000E-03   10000.    
    17 'Prefactor '    24.906       1.0000         .10000E-03   10000.    
    18 'norm      '    .10081E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.9357       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .90399E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    32.817       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    15.588       1.0000         .10000E-03   10000.    
    25 'norm      '    6.8692       1.0000         .10000E-03   10000.    
    26 'norm      '    7.5486       1.0000         .10000E-03   10000.    
    27 'Prefactor '    31.443       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .49262       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.2573       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=   3919.288     FROM MIGRAD    STATUS=CONVERGED    731 CALLS     4372 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5344        6.1054        .21006E-06    .30942E-03
   2  Prefactor     .10000E-03    10.303       -.10129E-05** at limit **
   3  Prefactor     .10000E-03    23.380       -.33036E-05** at limit **
   4  norm          .10001E-03    30.206       -.17991E-04** at limit **
   5  norm          5.1324        4.4712        .17273E-07    .27505E-03
   6  norm          .10000E-03    5.9744        .17345E-06** at limit **
   7  norm          9.0130        12.285       -.42027E-07    .31492E-05
   8  Prefactor     .10000E-03    1.4098        .17633E-06** at limit **
   9  Prefactor     .10000E-03    7.9660        .11322E-06** at limit **
  10  norm          13.093        9.9908        .94294E-06    .12308E-02
  11  Prefactor     35.312        54.808       -.34745E-05   -.42002E-04
  12  norm          8.5103        14.172       -.37665E-06    .11510E-03
  13  Prefactor     .10000E-03    10.019        .65652E-06** at limit **
  14  Prefactor     10.136        28.920       -.30737E-06   -.69880E-05
  15  Prefactor     135.96        106.52       -.40949E-06    .10565E-04
  16  Prefactor     4.2408        6.2594        .79910E-06    .53128E-03
  17  Prefactor     24.908        17.773       -.20585E-06   -.23247E-05
  18  norm          .10000E-03    65.843       -.12827E-05** at limit **
  19  Prefactor     .10000E-03    13.331        .30043E-06** at limit **
  20  norm          2.9364        6.5469       -.13230E-06    .36726E-03
  21  Prefactor     .10000E-03    31.788       -.10253E-05** at limit **
  22  Prefactor     32.829        33.332        .56924E-06   -.63131E-04
  23  Prefactor     .10000E-03    3.7356       -.51912E-07** at limit **
  24  norm          15.584        34.162        .19081E-05    .47070E-04
  25  norm          6.8689        2.9814       -.54157E-07   -.68555E-04
  26  norm          7.5488        11.170        .17651E-06    .97724E-04
  27  Prefactor     31.449        57.566       -.18446E-05   -.17500E-04
  28  Normalizat    .49212        .22959       -.16556E-05    .99694E-04
  29  Prefactor     1.2578        .22979        .16124E-05    .34737E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.53442
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100007
  norm       = 5.13237
  norm       = 0.0001
  norm       = 9.01298
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.0925
  Prefactor  = 35.3117
  norm       = 8.51027
  Prefactor  = 0.0001
  Prefactor  = 10.1361
  Prefactor  = 135.96
  Prefactor  = 4.24078
  Prefactor  = 24.908
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.9364
  Prefactor  = 0.000100001
  Prefactor  = 32.8289
  Prefactor  = 0.0001
  norm       = 15.584
  norm       = 6.8689
  norm       = 7.54884
  Prefactor  = 31.449
  Normalizat = 0.492118
  Prefactor  = 1.25781
 **********
 **   18 **HESSE 
 **********

 FCN=   3919.288     FROM HESSE     STATUS=OK           559 CALLS     4931 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5344        6.0972        .17119E-03   -1.5282    
   2  Prefactor     .10000E-03    10.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    23.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10001E-03    29.833        .26902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.1324        4.4498        .11597E-03   -1.5255    
   6  norm          .10000E-03    5.9901        .14885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.0130        12.283        .13350E-03   -1.5107    
   8  Prefactor     .10000E-03    1.4171        .72607E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.9848        .17254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.093        10.114        .55355E-03   -1.4984    
  11  Prefactor     35.312        54.794        .67451E-04   -1.4519    
  12  norm          8.5103        14.137        .13740E-03   -1.5124    
  13  Prefactor     .10000E-03    10.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.136        29.044        .12587E-03   -1.5071    
  15  Prefactor     135.96        106.65        .34541E-04   -1.3371    
  16  Prefactor     4.2408        6.2977        .17530E-03   -1.5296    
  17  Prefactor     24.908        17.780        .80267E-04   -1.4709    
  18  norm          .10000E-03    66.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.9364        6.4114        .20768E-03   -1.5365    
  21  Prefactor     .10000E-03    211.34        .57523E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     32.829        34.280        .69948E-04   -1.4561    
  23  Prefactor     .10000E-03    3.8569        .23590E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          15.584        33.954        .10144E-03   -1.4918    
  25  norm          6.8689        2.9890        .68522E-04   -1.5184    
  26  norm          7.5488        11.154        .14597E-03   -1.5158    
  27  Prefactor     31.449        57.583        .71456E-04   -1.4586    
  28  Normalizat    .49212        .26784        .31015E-03   -1.1278    
  29  Prefactor     1.2578        .27471        .22102E-03   -.84570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24818e-09
Minuit parameter uncertainties:
  1  6.09806
  2  4.19433e-05
  3  0.00019028
  4  0.000920411
  5  4.45012
  6  2.93892e-05
  7  12.2866
  8  1.56477e-05
  9  4.21673e-05
  10  10.1157
  11  54.8719
  12  14.1421
  13  4.3451e-06
  14  29.0848
  15  106.8
  16  6.29871
  17  17.7836
  18  0.000278013
  19  2.24717e-05
  20  6.41288
  21  0.000653917
  22  34.3006
  23  9.60173e-06
  24  33.9957
  25  2.98909
  26  11.1568
  27  57.685
  28  0.268544
  29  0.275028
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  4.241e+00  6.299e+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:  1.258e+00  2.750e-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:  4.921e-01  2.685e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.60
Ra Dec: 207.715 30.559
Photon Flux Upper Limit: 1.46e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.13e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/5781/likelihoodResults_414806401_415065601_4FGL_J1350.8+3033_daily_bin677.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): 102
logL (Free Index) = 3918.54703587
delta logL = 0.741216560328

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3918.54052908
delta logL = 0.747723349094

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35598       1.0000         .10000E-03   10000.    
     2 'Index     '    4.5519       1.0000          .0000       10.000    
     3 'Normalizat'    .42215       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3190       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=   3918.541     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      311 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35576        6.0799        .67075E-02    .60668E-03
   2  Index         4.5530        3.5869        .12825        .86167E-04
   3  Normalizat    .42189        .54983E-01    .75409E-01    .27204E-04
   4  Prefactor     1.3194        .60747E-01    .48970E-01   -.29021E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.355756
  Index      = 4.55303
  Normalizat = 0.42189
  Prefactor  = 1.3194
 **********
 **   18 **HESSE 
 **********

 FCN=   3918.541     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      346 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35576        12.325        .30565E-03   -1.5589    
   2  Index         4.5530        7.2521        .49846E-02   -.89513E-01
   3  Normalizat    .42189        .19501        .33393E-03   -1.1618    
   4  Prefactor     1.3194        .21033        .21647E-03   -.82732    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.34272e-08
Minuit parameter uncertainties:
  1  4.18829
  2  6.68016
  3  0.195326
  4  0.210463
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/5781': 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): 102
logL (Free Index) = 3918.5405266
delta logL = 0.747725831248

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  3.558e-01  4.188e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  4.553e+00  6.680e+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:  1.319e+00  2.105e-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:  4.219e-01  1.953e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.26
Ra Dec: 207.715 30.559
Photon Index (Free Index): 4.55 +/- 6.68
Photon Flux (Free Index): 7.69e-08 +/- 7.33e-08
Energy Flux (Free Index): 1.07e-05 +/- 1.58e-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/5781/cmap_HighResolution_414806401_415065601_4FGL_J1350.8+3033_daily_bin677.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', comment='SUCCESS', energy_flux2='1.07e-05', dlogl='7.48e-01', photon_flux2='7.69e-08', job_status='DONE', time_completed='2021-09-08 15:02:46.975839', photon_index_error2='6.68', photon_index2='4.55', ts='0.60', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.46e-07', energy_flux_error2='1.58e-05', EG='0.49', time_epoch_completed='1631138566.98', return_code='0', job_id='5781', GAL2='1.32', EG2='0.42', return_code2='102', photon_flux_error2='7.33e-08', ts2='2.26', photon_index='2.42' WHERE bin_id='677' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 15:02:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0182>
Subject: Job 5781: <4FGL_J1350.8+3033_daily_bin677> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin677> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 14:50:33 2021
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 14:51:34 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:51:34 2021
Terminated at Wed Sep  8 15:02:47 2021
Results reported at Wed Sep  8 15:02:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin677 207.715 30.5588 414806401 415065601 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 :                                   652.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             317.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   675 sec.
    Turnaround time :                            734 sec.

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

