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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin896
RA = 207.715, Dec = 30.5588
tmin = 471571201, tmax = 471830401
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='7183', job_status='RUN', time_executed='2021-09-08 14:55:43.136709', time_epoch_executed='1631138143.14' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='896'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/7183

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/7183/ft1_4FGL_J1350.8+3033_daily_bin896.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/7183/ft2_4FGL_J1350.8+3033_daily_bin896.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/7183/ft1_4FGL_J1350.8+3033_daily_bin896.fits outfile=/scratch/kocevski/7183/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin896.fits ra=207.715 dec=30.5588 rad=12.0 tmin=471571201.0 tmax=471830401.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.03
user 4.77
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/7183/ft1_filtered_4FGL_J1350.8+3033_daily_bin896.fits" evtable="EVENTS" scfile=/scratch/kocevski/7183/ft2_4FGL_J1350.8+3033_daily_bin896.fits sctable="SC_DATA" outfile=/scratch/kocevski/7183/ltcube_471571201_471830401_4FGL_J1350.8+3033_daily_bin896.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/7183/ft2_4FGL_J1350.8+3033_daily_bin896.fits
.....................!
real 13.91
user 13.38
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/7183/ft1_filtered_4FGL_J1350.8+3033_daily_bin896.fits evtable="EVENTS" scfile=/scratch/kocevski/7183/ft2_4FGL_J1350.8+3033_daily_bin896.fits sctable="SC_DATA" expcube=/scratch/kocevski/7183/ltcube_471571201_471830401_4FGL_J1350.8+3033_daily_bin896.fits outfile=/scratch/kocevski/7183/expmap_471571201_471830401_4FGL_J1350.8+3033_daily_bin896.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/7183/ltcube_471571201_471830401_4FGL_J1350.8+3033_daily_bin896.fits
.....................!
real 192.03
user 186.15
sys 4.65

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/7183/ft1_filtered_4FGL_J1350.8+3033_daily_bin896.fits scfile=/scratch/kocevski/7183/ft2_4FGL_J1350.8+3033_daily_bin896.fits outfile=/scratch/kocevski/7183/cmap_471571201_471830401_4FGL_J1350.8+3033_daily_bin896.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/7183/ft1_filtered_4FGL_J1350.8+3033_daily_bin896.fits scfile=/scratch/kocevski/7183/ft2_4FGL_J1350.8+3033_daily_bin896.fits outfile=/scratch/kocevski/7183/cmap_HighResolution_471571201_471830401_4FGL_J1350.8+3033_daily_bin896.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.043       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.080       1.0000         .10000E-03   10000.    
     4 'norm      '    .47967       1.0000         .10000E-03   10000.    
     5 'norm      '    .92825       1.0000         .10000E-03   10000.    
     6 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.2514       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2711       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.359       1.0000         .10000E-03   10000.    
    10 'norm      '    3.2959       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10796E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    12.818       1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.977       1.0000         .10000E-03   10000.    
    20 'norm      '    32.974       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .13021E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.641       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    8.5873       1.0000         .10000E-03   10000.    
    26 'norm      '    15.609       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0728       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .93319       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=   5902.230     FROM MIGRAD    STATUS=CONVERGED    733 CALLS     3770 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.042        6.8625        .36573E-06   -.49534E-04
   2  Prefactor     .10000E-03    49.714        .92601E-05** at limit **
   3  Prefactor     22.064        21.445        .26460E-06    .59735E-04
   4  norm          .48955        4.1638       -.80653E-06    .15248E-03
   5  norm          .92831        3.4977       -.48034E-06   -.26821E-03
   6  norm          .10000E-03    4.9092        .34669E-06** at limit **
   7  norm          5.2504        12.289       -.43159E-07   -.10049E-04
   8  Prefactor     2.2684        2.2090        .75880E-06   -.28334E-02
   9  Prefactor     14.358        16.026        .22279E-06    .10220E-03
  10  norm          3.2959        3.8571        .10036E-06    .10083E-04
  11  Prefactor     .10000E-03    31.416       -.12477E-04** at limit **
  12  norm          .10000E-03    4.7857       -.20039E-06** at limit **
  13  Prefactor     .10000E-03    14.499       -.14081E-04** at limit **
  14  Prefactor     .10000E-03    13.690        .97293E-05** at limit **
  15  Prefactor     .10000E-03    110.24       -.13928E-04** at limit **
  16  Prefactor     .10000E-03    1.7128        .27632E-07** at limit **
  17  Prefactor     .10000E-03    7.6924        .10303E-06** at limit **
  18  norm          12.820        19.598       -.63724E-06   -.23874E-04
  19  Prefactor     18.973        19.881       -.22503E-06   -.49599E-04
  20  norm          32.970        8.1134        .54433E-06   -.25248E-03
  21  Prefactor     .10000E-03    49.339        .59851E-05** at limit **
  22  Prefactor     13.604        17.481        .11001E-05   -.19131E-03
  23  Prefactor     .10000E-03    3.9430        .18483E-07** at limit **
  24  norm          .10000E-03    20.285        .10351E-04** at limit **
  25  norm          8.5875        3.6549        .13804E-07   -.69854E-05
  26  norm          15.606        15.629       -.63985E-06   -.93024E-04
  27  Prefactor     .10000E-03    29.083       -.25101E-05** at limit **
  28  Normalizat    1.0728        .19694       -.23183E-06    .52994E-04
  29  Prefactor     .93316        .20601       -.27626E-06    .24637E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.0422
  Prefactor  = 0.0001
  Prefactor  = 22.0641
  norm       = 0.489551
  norm       = 0.92831
  norm       = 0.0001
  norm       = 5.2504
  Prefactor  = 2.26841
  Prefactor  = 14.3584
  norm       = 3.29586
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.8199
  Prefactor  = 18.9728
  norm       = 32.9704
  Prefactor  = 0.000100001
  Prefactor  = 13.6041
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.58754
  norm       = 15.6063
  Prefactor  = 0.0001
  Normalizat = 1.07275
  Prefactor  = 0.933164
 **********
 **   18 **HESSE 
 **********

 FCN=   5902.230     FROM HESSE     STATUS=OK           553 CALLS     4323 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.042        6.8093        .11543E-03   -1.5014    
   2  Prefactor     .10000E-03    49.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     22.064        21.947        .85241E-04   -1.4768    
   4  norm          .48955        23.944        .26874E-02   -1.5568    
   5  norm          .92831        3.3446        .24523E-03   -1.5515    
   6  norm          .10000E-03    4.9229        .16463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.2504        12.279        .17540E-03   -1.5250    
   8  Prefactor     2.2684        5.9095        .10134E-02   -1.5407    
   9  Prefactor     14.358        18.911        .10570E-03   -1.4950    
  10  norm          3.2959        3.8534        .15861E-03   -1.5345    
  11  Prefactor     .10000E-03    31.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.8078        .16407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    111.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.7265        .98152E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.7222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          12.820        19.617        .11188E-03   -1.4992    
  19  Prefactor     18.973        19.871        .91942E-04   -1.4837    
  20  norm          32.970        8.1014        .69782E-04   -1.4559    
  21  Prefactor     .10000E-03    49.378        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     13.604        17.257        .10845E-03   -1.4970    
  23  Prefactor     .10000E-03    4.1000        .29756E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    20.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          8.5875        3.6621        .92121E-04   -1.5122    
  26  norm          15.606        15.645        .10138E-03   -1.4918    
  27  Prefactor     .10000E-03    29.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0728        .23322        .24634E-03   -.90631    
  29  Prefactor     .93316        .24256        .28297E-03   -.94992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53784e-08
Minuit parameter uncertainties:
  1  6.80971
  2  6.7341e-05
  3  21.9552
  4  6.84957
  5  3.34529
  6  8.90724e-06
  7  12.2852
  8  5.91097
  9  18.919
  10  3.85372
  11  0.000168224
  12  3.38692e-07
  13  0.000100978
  14  8.9051e-05
  15  0.000190517
  16  9.90734e-07
  17  3.55227e-06
  18  19.6269
  19  19.878
  20  8.1017
  21  0.000518582
  22  17.263
  23  7.28987e-06
  24  1.4009e-05
  25  3.66223
  26  15.6494
  27  3.07378e-05
  28  0.233439
  29  0.242846
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  9.907e-07  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.332e-01  2.428e-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.073e+00  2.334e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/7183/likelihoodResults_471571201_471830401_4FGL_J1350.8+3033_daily_bin896.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) = 5902.23285107
delta logL = -0.00274442631417

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5902.2301067
delta logL = -5.47379386262e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4110       1.0000          .0000       10.000    
     3 'Normalizat'    1.0728       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93318       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=   5902.230     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      232 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10017E-03    76.618        .98231E-03** at limit **
   2  Index         2.3815        5.0013        .50000        .16047E-04
   3  Normalizat    1.0728        .31589E-01    .24633E-03   -.14492E-04
   4  Prefactor     .93316        .34259E-01    .28297E-03    .32542E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100167
  Index      = 2.3815
  Normalizat = 1.07275
  Prefactor  = 0.933164
 **********
 **   18 **HESSE 
 **********

 FCN=   5902.230     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      261 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10017E-03    270.54        .19646E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3815        5.1141        .50000       -.55119    
   3  Normalizat    1.0728        .74889E-01    .98534E-05   -.90631    
   4  Prefactor     .93316        .81166E-01    .11319E-04   -.94992    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.46723e-08
Minuit parameter uncertainties:
  1  0.0135134
  2  1025.46
  3  0.0748968
  4  0.0811768
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/7183': 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) = 5902.23010655
delta logL = 1.01597834146e-07

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.002e-04  1.351e-02  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.381e+00  1.025e+03  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.332e-01  8.118e-02  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.073e+00  7.490e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/7183/cmap_HighResolution_471571201_471830401_4FGL_J1350.8+3033_daily_bin896.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.67e-03', job_status='DONE', photon_flux_upper_limit='6.03e-08', time_completed='2021-09-08 15:08:38.395915', job_id='7183', GAL2='0.93', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1631138918.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.02e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='896' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 15:08:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 7183: <4FGL_J1350.8+3033_daily_bin896> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin896> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 14:55:26 2021
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 14:55:30 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:55:30 2021
Terminated at Wed Sep  8 15:08:39 2021
Results reported at Wed Sep  8 15:08:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin896 207.715 30.5588 471571201 471830401 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 :                                   768.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            793 sec.

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

