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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin1036
RA = 207.715, Dec = 30.5588
tmin = 507859201, tmax = 508118401
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='8611', job_status='RUN', time_executed='2021-09-08 15:01:03.033157', time_epoch_executed='1631138463.03' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='1036'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/8611

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/8611/ft1_4FGL_J1350.8+3033_daily_bin1036.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/8611/ft2_4FGL_J1350.8+3033_daily_bin1036.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/8611/ft1_4FGL_J1350.8+3033_daily_bin1036.fits outfile=/scratch/kocevski/8611/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin1036.fits ra=207.715 dec=30.5588 rad=12.0 tmin=507859201.0 tmax=508118401.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 4.19
user 3.94
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/8611/ft1_filtered_4FGL_J1350.8+3033_daily_bin1036.fits" evtable="EVENTS" scfile=/scratch/kocevski/8611/ft2_4FGL_J1350.8+3033_daily_bin1036.fits sctable="SC_DATA" outfile=/scratch/kocevski/8611/ltcube_507859201_508118401_4FGL_J1350.8+3033_daily_bin1036.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/8611/ft2_4FGL_J1350.8+3033_daily_bin1036.fits
.....................!
real 14.97
user 14.60
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/8611/ft1_filtered_4FGL_J1350.8+3033_daily_bin1036.fits evtable="EVENTS" scfile=/scratch/kocevski/8611/ft2_4FGL_J1350.8+3033_daily_bin1036.fits sctable="SC_DATA" expcube=/scratch/kocevski/8611/ltcube_507859201_508118401_4FGL_J1350.8+3033_daily_bin1036.fits outfile=/scratch/kocevski/8611/expmap_507859201_508118401_4FGL_J1350.8+3033_daily_bin1036.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/8611/ltcube_507859201_508118401_4FGL_J1350.8+3033_daily_bin1036.fits
.....................!
real 195.57
user 190.57
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/8611/ft1_filtered_4FGL_J1350.8+3033_daily_bin1036.fits scfile=/scratch/kocevski/8611/ft2_4FGL_J1350.8+3033_daily_bin1036.fits outfile=/scratch/kocevski/8611/cmap_507859201_508118401_4FGL_J1350.8+3033_daily_bin1036.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=207.715 yref=30.5588 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.15

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

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/8611/ft1_filtered_4FGL_J1350.8+3033_daily_bin1036.fits', '/scratch/kocevski/8611/ft2_4FGL_J1350.8+3033_daily_bin1036.fits', expMap='/scratch/kocevski/8611/expmap_507859201_508118401_4FGL_J1350.8+3033_daily_bin1036.fits', expCube='/scratch/kocevski/8611/ltcube_507859201_508118401_4FGL_J1350.8+3033_daily_bin1036.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/8611/Model_4FGL_J1350.8+3033_daily_bin1036.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/8611/ft1_filtered_4FGL_J1350.8+3033_daily_bin1036.fits
Spacecraft file(s): /scratch/kocevski/8611/ft2_4FGL_J1350.8+3033_daily_bin1036.fits
Exposure map: /scratch/kocevski/8611/expmap_507859201_508118401_4FGL_J1350.8+3033_daily_bin1036.fits
Exposure cube: /scratch/kocevski/8611/ltcube_507859201_508118401_4FGL_J1350.8+3033_daily_bin1036.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/8611/Model_4FGL_J1350.8+3033_daily_bin1036.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5590.16412151

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16067       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.3907       1.0000         .10000E-03   10000.    
     4 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .84942       1.0000         .10000E-03   10000.    
     6 'norm      '    2.6616       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1971       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.0514       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    41.381       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.8978       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.9205       1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.0423       1.0000         .10000E-03   10000.    
    24 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .12711E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    1.1432       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.5001       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .54343       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=   5590.094     FROM MIGRAD    STATUS=CONVERGED    705 CALLS     3815 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15659        3.0885       -.82069E-06   -.20974E-03
   2  Prefactor     .10000E-03    16.015       -.46804E-05** at limit **
   3  Prefactor     6.3884        15.809       -.10426E-05    .11371E-04
   4  norm          .10000E-03    1.5990        .61333E-07** at limit **
   5  norm          .85146        4.1747       -.12417E-05   -.79793E-03
   6  norm          2.6586        6.4085        .84649E-06   -.37129E-03
   7  norm          .10000E-03    7.0031       -.28398E-05** at limit **
   8  Prefactor     2.1977        2.3930        .49951E-07    .19052E-03
   9  Prefactor     .10000E-03    27.314       -.36275E-05** at limit **
  10  norm          2.0523        5.4632       -.12652E-05   -.67038E-03
  11  Prefactor     .10000E-03    21.232        .27707E-05** at limit **
  12  norm          .10000E-03    5.6442        .11092E-05** at limit **
  13  Prefactor     .10000E-03    5.0844       -.11136E-05** at limit **
  14  Prefactor     .10000E-03    8.2236        .19716E-05** at limit **
  15  Prefactor     41.368        71.912       -.18691E-04    .12598E-03
  16  Prefactor     .10000E-03    2.4003       -.27744E-07** at limit **
  17  Prefactor     .10000E-03    20.766        .22923E-05** at limit **
  18  norm          .10000E-03    4.3734        .23734E-06** at limit **
  19  Prefactor     .10000E-03    12.886       -.10833E-05** at limit **
  20  norm          5.8971        4.6125       -.11859E-06   -.93018E-04
  21  Prefactor     .10000E-03    20.887        .20849E-05** at limit **
  22  Prefactor     3.9214        17.544        .23711E-05   -.87432E-04
  23  Prefactor     3.0420        3.0821       -.23919E-06   -.49004E-04
  24  norm          .10000E-03    7.8306        .13185E-06** at limit **
  25  norm          .10000E-03    1.2767        .17109E-06** at limit **
  26  norm          1.1410        24.449       -.56711E-05   -.37670E-03
  27  Prefactor     .10000E-03    12.243        .15015E-05** at limit **
  28  Normalizat    1.5003        .18077        .21629E-05    .66195E-05
  29  Prefactor     .54335        .18341       -.10239E-05    .11594E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.156587
  Prefactor  = 0.000100001
  Prefactor  = 6.38838
  norm       = 0.0001
  norm       = 0.851456
  norm       = 2.65864
  norm       = 0.0001
  Prefactor  = 2.19774
  Prefactor  = 0.0001
  norm       = 2.05226
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.3676
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.89713
  Prefactor  = 0.000100001
  Prefactor  = 3.92144
  Prefactor  = 3.04205
  norm       = 0.0001
  norm       = 0.000100003
  norm       = 1.14102
  Prefactor  = 0.0001
  Normalizat = 1.50027
  Prefactor  = 0.543352
 **********
 **   18 **HESSE 
 **********

 FCN=   5590.094     FROM HESSE     STATUS=OK           551 CALLS     4366 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15659        11.751        .25549E-02   -1.5629    
   2  Prefactor     .10000E-03    15.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.3884        15.810        .15877E-03   -1.5202    
   4  norm          .10000E-03    1.6014        .92305E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .85146        5.9321        .17706E-03   -1.5523    
   6  norm          2.6586        7.7464        .17019E-03   -1.5382    
   7  norm          .10000E-03    6.9580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.1977        2.3785        .11554E-03   -1.5411    
   9  Prefactor     .10000E-03    28.044        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.0523        5.5740        .28060E-03   -1.5421    
  11  Prefactor     .10000E-03    21.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    5.6938        .17323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.0859        .16455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.2036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     41.368        70.473        .62315E-04   -1.4421    
  16  Prefactor     .10000E-03    2.4466        .11305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    20.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.3835        .15270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.8971        4.5948        .13482E-03   -1.5222    
  21  Prefactor     .10000E-03    20.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.9214        17.127        .20375E-03   -1.5312    
  23  Prefactor     3.0420        3.0775        .12699E-03   -1.5359    
  24  norm          .10000E-03    7.8405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    5.6103        .16293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          1.1410        27.678        .43430E-03   -1.5494    
  27  Prefactor     .10000E-03    12.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.5003        .21148        .19798E-03   -.77771    
  29  Prefactor     .54335        .21083        .32776E-03   -1.1003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75764e-08
Minuit parameter uncertainties:
  1  2.71271
  2  0.00017857
  3  15.8207
  4  8.41124e-07
  5  4.49522
  6  7.74929
  7  5.67544e-05
  8  2.37863
  9  0.0002272
  10  5.57541
  11  8.40216e-05
  12  1.67881e-05
  13  1.52724e-05
  14  4.92152e-05
  15  70.6157
  16  7.21307e-06
  17  0.00016113
  18  5.77042e-07
  19  8.31039e-06
  20  4.59503
  21  0.000219962
  22  16.3981
  23  3.07769
  24  2.54715e-06
  25  0.000262883
  26  11.2448
  27  3.96372e-05
  28  0.2116
  29  0.211134
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  7.213e-06  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:  5.434e-01  2.111e-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.500e+00  2.116e-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.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/8611/likelihoodResults_507859201_508118401_4FGL_J1350.8+3033_daily_bin1036.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) = 5590.09583629
delta logL = -0.00194166223719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5590.09389475
delta logL = -1.15668626677e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4312       1.0000          .0000       10.000    
     3 'Normalizat'    1.5003       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .54331       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=   5590.085     FROM MIGRAD    STATUS=CONVERGED    149 CALLS      304 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33189E-01    4.3525        .11415E-01   -.29341E-02
   2  Index         4.4989        2.7402        .50000        .53962E-05
   3  Normalizat    1.4922        .21741E-01    .19798E-03   -.12633E-05
   4  Prefactor     .54860        .22530E-01    .32776E-03   -.10267E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0331889
  Index      = 4.49893
  Normalizat = 1.49217
  Prefactor  = 0.548601
 **********
 **   18 **HESSE 
 **********

 FCN=   5590.085     FROM HESSE     STATUS=OK            31 CALLS      335 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33189E-01    .68803        .63158E-03   -1.5744    
   2  Index         4.4989        3.9022        .88283E-02   -.10038    
   3  Normalizat    1.4922        .20657        .79192E-05   -.77999    
   4  Prefactor     .54860        .21148        .13110E-04   -1.0980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.91469e-10
Minuit parameter uncertainties:
  1  0.301772
  2  4.48591
  3  0.20669
  4  0.211783
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/8611': 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) = 5590.08493627
delta logL = 0.00895835819483

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  3.319e-02  3.018e-01  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  4.499e+00  4.486e+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:  5.486e-01  2.118e-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.492e+00  2.067e-01  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/8611/cmap_HighResolution_507859201_508118401_4FGL_J1350.8+3033_daily_bin1036.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.99e-03', job_status='DONE', photon_flux_upper_limit='6.45e-08', time_completed='2021-09-08 15:13:53.868137', job_id='8611', GAL2='0.55', fit_tolerance='1e-08', EG2='1.49', EG='1.50', time_epoch_completed='1631139233.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.54', dlogl='8.96e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1036' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 15:13:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 8611: <4FGL_J1350.8+3033_daily_bin1036> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin1036> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 15:00:21 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 15:00:49 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:00:49 2021
Terminated at Wed Sep  8 15:13:54 2021
Results reported at Wed Sep  8 15:13:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin1036 207.715 30.5588 507859201 508118401 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 :                                   766.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            813 sec.

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

