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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin56
RA = 207.715, Dec = 30.5588
tmin = 253843201, tmax = 254102401
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='1815', job_status='RUN', time_executed='2021-09-08 14:43:09.144859', time_epoch_executed='1631137389.14' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='56'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/1815

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/1815/ft1_4FGL_J1350.8+3033_daily_bin56.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/1815/ft2_4FGL_J1350.8+3033_daily_bin56.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/1815/ft1_4FGL_J1350.8+3033_daily_bin56.fits outfile=/scratch/kocevski/1815/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin56.fits ra=207.715 dec=30.5588 rad=12.0 tmin=253843201.0 tmax=254102401.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.48
user 1.32
sys 0.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/1815/ft1_filtered_4FGL_J1350.8+3033_daily_bin56.fits" evtable="EVENTS" scfile=/scratch/kocevski/1815/ft2_4FGL_J1350.8+3033_daily_bin56.fits sctable="SC_DATA" outfile=/scratch/kocevski/1815/ltcube_253843201_254102401_4FGL_J1350.8+3033_daily_bin56.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/1815/ft2_4FGL_J1350.8+3033_daily_bin56.fits
.....................!
real 14.71
user 14.34
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/1815/ft1_filtered_4FGL_J1350.8+3033_daily_bin56.fits evtable="EVENTS" scfile=/scratch/kocevski/1815/ft2_4FGL_J1350.8+3033_daily_bin56.fits sctable="SC_DATA" expcube=/scratch/kocevski/1815/ltcube_253843201_254102401_4FGL_J1350.8+3033_daily_bin56.fits outfile=/scratch/kocevski/1815/expmap_253843201_254102401_4FGL_J1350.8+3033_daily_bin56.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/1815/ltcube_253843201_254102401_4FGL_J1350.8+3033_daily_bin56.fits
.....................!
real 191.92
user 186.97
sys 4.54

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/1815/ft1_filtered_4FGL_J1350.8+3033_daily_bin56.fits scfile=/scratch/kocevski/1815/ft2_4FGL_J1350.8+3033_daily_bin56.fits outfile=/scratch/kocevski/1815/cmap_253843201_254102401_4FGL_J1350.8+3033_daily_bin56.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/1815/ft1_filtered_4FGL_J1350.8+3033_daily_bin56.fits scfile=/scratch/kocevski/1815/ft2_4FGL_J1350.8+3033_daily_bin56.fits outfile=/scratch/kocevski/1815/cmap_HighResolution_253843201_254102401_4FGL_J1350.8+3033_daily_bin56.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.57
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10382E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    62.005       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .20875       1.0000         .10000E-03   10000.    
     4 'norm      '    .10521E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.4298       1.0000         .10000E-03   10000.    
     6 'norm      '    16.026       1.0000         .10000E-03   10000.    
     7 'norm      '    33.958       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.239       1.0000         .10000E-03   10000.    
    10 'norm      '    .11107E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.058       1.0000         .10000E-03   10000.    
    12 'norm      '    9.6587       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    50.374       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.1538       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.0038       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.3411       1.0000         .10000E-03   10000.    
    20 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    29.099       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10097E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    6.1387       1.0000         .10000E-03   10000.    
    26 'norm      '    4.0869       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10700E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0014       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .90645       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=   5060.298     FROM MIGRAD    STATUS=CONVERGED    763 CALLS     3761 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.4324       -.43827E-06** at limit **
   2  Prefactor     62.077        36.167       -.23330E-05   -.82403E-04
   3  Prefactor     .11446E-03    20.048       -.45461E-06** at limit **
   4  norm          .10000E-03    7.9697       -.94122E-07** at limit **
   5  norm          2.4203        8.2734        .21654E-05   -.44606E-05
   6  norm          16.040        14.563       -.70520E-06    .48484E-04
   7  norm          33.948        23.885        .90814E-08    .20259E-04
   8  Prefactor     .10000E-03    2.2485        .40107E-06** at limit **
   9  Prefactor     25.254        21.513       -.54245E-06   -.21970E-04
  10  norm          .10001E-03    7.0179       -.69624E-07** at limit **
  11  Prefactor     26.107        78.087        .51009E-05    .13238E-04
  12  norm          9.6486        8.4538       -.22377E-06    .67037E-04
  13  Prefactor     .10000E-03    8.1341       -.44819E-07** at limit **
  14  Prefactor     .10000E-03    19.003        .20496E-06** at limit **
  15  Prefactor     50.365        62.276       -.18219E-06   -.69460E-05
  16  Prefactor     1.1527        5.7215        .20572E-05   -.68281E-04
  17  Prefactor     4.0006        12.713        .71474E-06   -.78761E-05
  18  norm          .10000E-03    15.316       -.60755E-06** at limit **
  19  Prefactor     6.3391        15.741        .51485E-07   -.92427E-05
  20  norm          .10000E-03    1.9706        .21219E-07** at limit **
  21  Prefactor     29.092        17.448        .35906E-06   -.36569E-04
  22  Prefactor     .10000E-03    33.187        .74638E-06** at limit **
  23  Prefactor     .10000E-03    .72800        .41750E-08** at limit **
  24  norm          .10000E-03    15.761        .65872E-06** at limit **
  25  norm          6.1384        2.9281        .48767E-07   -.15806E-04
  26  norm          4.0865        6.3485        .13498E-06   -.18773E-04
  27  Prefactor     .10000E-03    114.77        .14886E-05** at limit **
  28  Normalizat    1.0015        .19194       -.42481E-06   -.96682E-04
  29  Prefactor     .90644        .20180       -.84504E-06   -.57738E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 62.0767
  Prefactor  = 0.00011446
  norm       = 0.0001
  norm       = 2.4203
  norm       = 16.0404
  norm       = 33.9476
  Prefactor  = 0.0001
  Prefactor  = 25.2535
  norm       = 0.000100006
  Prefactor  = 26.1065
  norm       = 9.64864
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 50.3652
  Prefactor  = 1.15266
  Prefactor  = 4.00065
  norm       = 0.0001
  Prefactor  = 6.33913
  norm       = 0.0001
  Prefactor  = 29.0921
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.13838
  norm       = 4.08654
  Prefactor  = 0.0001
  Normalizat = 1.00153
  Prefactor  = 0.906436
 **********
 **   18 **HESSE 
 **********

 FCN=   5060.298     FROM HESSE     STATUS=OK           563 CALLS     4324 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.4222        .10786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     62.077        36.380        .50958E-04   -1.4131    
   3  Prefactor     .11446E-03    27.196        .92868E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    8.2273        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4203        8.2087        .21059E-03   -1.5397    
   6  norm          16.040        14.513        .10005E-03   -1.4907    
   7  norm          33.948        23.687        .68766E-04   -1.4542    
   8  Prefactor     .10000E-03    2.2579        .10353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.254        21.482        .79736E-04   -1.4702    
  10  norm          .10001E-03    21.714        .33345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     26.107        78.130        .78475E-04   -1.4686    
  12  norm          9.6486        7.8658        .12894E-03   -1.5087    
  13  Prefactor     .10000E-03    8.1491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    19.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     50.365        62.530        .56503E-04   -1.4287    
  16  Prefactor     1.1527        5.7969        .30914E-03   -1.5493    
  17  Prefactor     4.0006        12.707        .20155E-03   -1.5308    
  18  norm          .10000E-03    15.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.3391        15.718        .15940E-03   -1.5204    
  20  norm          .10000E-03    1.9834        .97475E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     29.092        17.386        .74271E-04   -1.4629    
  22  Prefactor     .10000E-03    33.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    .72914        .59270E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    15.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          6.1384        2.9328        .81177E-04   -1.5212    
  26  norm          4.0865        6.3372        .19943E-03   -1.5304    
  27  Prefactor     .10000E-03    116.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0015        .22855        .22880E-03   -.92979    
  29  Prefactor     .90644        .23905        .26686E-03   -.95917    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.12815e-10
Minuit parameter uncertainties:
  1  1.34425e-05
  2  36.3927
  3  0.0396794
  4  4.43525e-05
  5  8.21256
  6  14.5163
  7  23.6931
  8  8.26534e-06
  9  21.4889
  10  0.00072843
  11  78.4383
  12  7.86666
  13  5.0174e-06
  14  1.20113e-05
  15  62.6113
  16  5.17043
  17  12.7157
  18  4.25475e-06
  19  15.7285
  20  5.10986e-07
  21  17.3895
  22  4.42388e-05
  23  1.86259e-07
  24  1.1802e-05
  25  2.93283
  26  6.33821
  27  0.000204136
  28  0.228769
  29  0.239326
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.153e+00  5.170e+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:  9.064e-01  2.393e-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.002e+00  2.288e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 207.715 30.559
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/1815/likelihoodResults_253843201_254102401_4FGL_J1350.8+3033_daily_bin56.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) = 5059.76729373
delta logL = 0.531022270758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5059.76059475
delta logL = 0.537721247406

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75920E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    6.4557       1.0000          .0000       10.000    
     3 'Normalizat'    .94192       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95559       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=   5059.761     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      341 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73477E-02    .12529        .14348E-02    .14179E-01
   2  Index         6.4739        3.0317        .18624        .11578E-03
   3  Normalizat    .94148        .35458E-01    .45435E-01    .58757E-04
   4  Prefactor     .95606        .39775E-01    .45710E-01    .94637E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00734769
  Index      = 6.47394
  Normalizat = 0.941485
  Prefactor  = 0.956062
 **********
 **   18 **HESSE 
 **********

 FCN=   5059.761     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      376 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .73477E-02    .41625        .65251E-04   -1.5691    
   2  Index         6.4739        8.2080        .63362E-02    .29923    
   3  Normalizat    .94148        .15184        .23519E-03   -.95017    
   4  Prefactor     .95606        .16711        .26072E-03   -.94209    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.02872e-10
Minuit parameter uncertainties:
  1  0.109852
  2  8.20627
  3  0.151906
  4  0.167201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/1815': 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) = 5059.76058507
delta logL = 0.537730925992

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  7.348e-03  1.099e-01  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  6.474e+00  8.206e+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:  9.561e-01  1.672e-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:  9.415e-01  1.519e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 207.715 30.559
Photon Index (Free Index): 6.47 +/- 8.21
Photon Flux (Free Index): 4.51e-08 +/- 4.66e-08
Energy Flux (Free Index): 5.50e-06 +/- 6.47e-06

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/1815/cmap_HighResolution_253843201_254102401_4FGL_J1350.8+3033_daily_bin56.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', comment='SUCCESS', energy_flux2='5.50e-06', dlogl='5.38e-01', photon_flux2='4.51e-08', job_status='DONE', time_completed='2021-09-08 14:55:09.805728', photon_index_error2='8.21', photon_index2='6.47', ts='0.06', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='6.47e-06', EG='1.00', time_epoch_completed='1631138109.81', return_code='0', job_id='1815', GAL2='0.96', EG2='0.94', return_code2='102', photon_flux_error2='4.66e-08', ts2='1.22', photon_index='2.42' WHERE bin_id='56' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:55:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 1815: <4FGL_J1350.8+3033_daily_bin56> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin56> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Wed Sep  8 14:40:18 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 14:40:37 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:40:37 2021
Terminated at Wed Sep  8 14:55:10 2021
Results reported at Wed Sep  8 14:55:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin56 207.715 30.5588 253843201 254102401 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 :                                   717.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             293.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            892 sec.

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

