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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin1205
RA = 207.715, Dec = 30.5588
tmin = 551664001, tmax = 551923201
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='8862', job_status='RUN', time_executed='2021-09-08 15:05:13.945436', time_epoch_executed='1631138713.95' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='1205'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/8862

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/8862/ft1_4FGL_J1350.8+3033_daily_bin1205.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/8862/ft2_4FGL_J1350.8+3033_daily_bin1205.fits


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

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

Done.
real 3.83
user 3.56
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/8862/ft1_filtered_4FGL_J1350.8+3033_daily_bin1205.fits" evtable="EVENTS" scfile=/scratch/kocevski/8862/ft2_4FGL_J1350.8+3033_daily_bin1205.fits sctable="SC_DATA" outfile=/scratch/kocevski/8862/ltcube_551664001_551923201_4FGL_J1350.8+3033_daily_bin1205.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/8862/ft2_4FGL_J1350.8+3033_daily_bin1205.fits
.....................!
real 18.66
user 18.20
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/8862/ft1_filtered_4FGL_J1350.8+3033_daily_bin1205.fits evtable="EVENTS" scfile=/scratch/kocevski/8862/ft2_4FGL_J1350.8+3033_daily_bin1205.fits sctable="SC_DATA" expcube=/scratch/kocevski/8862/ltcube_551664001_551923201_4FGL_J1350.8+3033_daily_bin1205.fits outfile=/scratch/kocevski/8862/expmap_551664001_551923201_4FGL_J1350.8+3033_daily_bin1205.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/8862/ltcube_551664001_551923201_4FGL_J1350.8+3033_daily_bin1205.fits
.....................!
real 192.78
user 187.04
sys 5.08

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/8862/ft1_filtered_4FGL_J1350.8+3033_daily_bin1205.fits scfile=/scratch/kocevski/8862/ft2_4FGL_J1350.8+3033_daily_bin1205.fits outfile=/scratch/kocevski/8862/cmap_551664001_551923201_4FGL_J1350.8+3033_daily_bin1205.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=207.715 yref=30.5588 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.16

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

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

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

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 73.0913177071

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 67.9213790882

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9938       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.8374       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.1112       1.0000         .10000E-03   10000.    
     4 'norm      '    1.9176       1.0000         .10000E-03   10000.    
     5 'norm      '    5.5549       1.0000         .10000E-03   10000.    
     6 'norm      '    1.8539       1.0000         .10000E-03   10000.    
     7 'norm      '    1.2527       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.3070       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14670       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0322       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.8511       1.0000         .10000E-03   10000.    
    12 'norm      '    .10018       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1546.7       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .98037       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.3556       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11748E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .29509E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .19282       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.1231       1.0000         .10000E-03   10000.    
    20 'norm      '    .86404E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .12278E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .14253E-01   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .29189E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .43058       1.0000         .10000E-03   10000.    
    25 'norm      '    47.373       1.0000         .10000E-03   10000.    
    26 'norm      '    2.5809       1.0000         .10000E-03   10000.    
    27 'Prefactor '    2245.4       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .10005E-01   1.0000         .10000E-01   10.000    
    29 'Prefactor '    .14427E-05   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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   67.90664     FROM MIGRAD    STATUS=CONVERGED    122 CALLS      383 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9938        1.0147         .0000         .0000    
   2  Prefactor     4.8374        1.0054         .0000         .0000    
   3  Prefactor     2.1112        1.0312         .0000         .0000    
   4  norm          1.9176        1.0388         .0000         .0000    
   5  norm          5.5549        1.0041         .0000         .0000    
   6  norm          1.8539        1.0420         .0000         .0000    
   7  norm          .65875E-03    .24916        .23478E-03** at limit **
   8  Prefactor     1.3070        1.1030         .0000         .0000    
   9  Prefactor     .11464E-03    .23676       -.42481E-04** at limit **
  10  norm          .10010E-03    .38837        .31984E-04** at limit **
  11  Prefactor     5.8511        1.0037         .0000         .0000    
  12  norm          .10072E-03    .22620       -.33867E-04** at limit **
  13  Prefactor     1546.3        .99989       -.76468E-05    .77357E-01
  14  Prefactor     .11130E-03    .42877        .12057E-03** at limit **
  15  Prefactor     8.3556        1.0018         .0000         .0000    
  16  Prefactor     .10921E-03    .20619       -.28745E-03** at limit **
  17  Prefactor     .10109E-03    .21020        .91892E-04** at limit **
  18  norm          .10016E-03    .24725       -.78580E-04** at limit **
  19  Prefactor     .49771E-03    .12516       -.11146E-03** at limit **
  20  norm          .10000E-03    .22308       -.12105E-05** at limit **
  21  Prefactor     .10010E-03    .20631       -.45910E-05** at limit **
  22  Prefactor     .11220E-03    .20676        .25619E-04** at limit **
  23  Prefactor     .10000E-03    .28626        .62966E-07** at limit **
  24  norm          .13026E-03    .30162        .75277E-05** at limit **
  25  norm          47.380        1.0001        .50291E-06   -.46950E-03
  26  norm          .10027E-03    .10083       -.23684E-04** at limit **
  27  Prefactor     2245.6        1.0000        .42725E-05   -.57564E-01
  28  Normalizat    .10000E-01    .25585        .39600E-06** at limit **
  29  Prefactor     .55511E-15    .25693        .11358E-06** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 2.99384
  Prefactor  = 4.83739
  Prefactor  = 2.11118
  norm       = 1.91757
  norm       = 5.55486
  norm       = 1.85393
  norm       = 0.000658751
  Prefactor  = 1.30702
  Prefactor  = 0.000114639
  norm       = 0.000100105
  Prefactor  = 5.85114
  norm       = 0.000100725
  Prefactor  = 1546.3
  Prefactor  = 0.000111303
  Prefactor  = 8.35559
  Prefactor  = 0.000109211
  Prefactor  = 0.000101089
  norm       = 0.000100157
  Prefactor  = 0.000497709
  norm       = 0.0001
  Prefactor  = 0.000100096
  Prefactor  = 0.000112198
  Prefactor  = 0.0001
  norm       = 0.000130259
  norm       = 47.3798
  norm       = 0.000100269
  Prefactor  = 2245.65
  Normalizat = 0.01
  Prefactor  = 5.55112e-16
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   67.90664     FROM HESSE     STATUS=FAILED         9 CALLS      392 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          554.44        551.36         .0000       -1.5362    
   2  Prefactor     4.8374        1.0054         .0000       -1.5268    
   3  Prefactor     2.1112        1.0312         .0000       -1.5417    
   4  norm          1.9176        1.0388         .0000       -1.5431    
   5  norm          5.5549        1.0041         .0000       -1.5237    
   6  norm          1.8539        1.0420         .0000       -1.5436    
   7  norm          .65875E-03    .24916        .23478E-03   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.3070        1.1030         .0000       -1.5479    
   9  Prefactor     .11464E-03    .23676       -.42481E-04   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10010E-03    .38837        .31984E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.8511        1.0037         .0000       -1.5224    
  12  norm          .10072E-03    .22620       -.33867E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1546.3        .99989       -.76468E-05   -.76251    
  14  Prefactor     .11130E-03    .42877        .12057E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.3556        1.0018         .0000       -1.5130    
  16  Prefactor     .10921E-03    .20619       -.28745E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10109E-03    .21020        .91892E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10016E-03    .24725       -.78580E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .49771E-03    .12516       -.11146E-03   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .22308       -.12105E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10010E-03    .20631       -.45910E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .11220E-03    .20676        .25619E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    .28626        .62966E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .13026E-03    .30162        .75277E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          47.380        1.0001        .50291E-06   -1.4330    
  26  norm          .10027E-03    .10083       -.23684E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     2245.6        1.0000        .42725E-05   -.58341    
  28  Normalizat    .10000E-01    .25585        .39600E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .55511E-15    .25693        .11358E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.65679e-10
Minuit parameter uncertainties:
  1  1.01467
  2  1.00544
  3  1.03123
  4  1.03884
  5  1.00411
  6  1.04199
  7  0.0235984
  8  1.10301
  9  0.00372341
  10  0.000403638
  11  1.0037
  12  0.000809915
  13  0.999887
  14  0.00440296
  15  1.0018
  16  0.00275619
  17  0.000956969
  18  0.000393646
  19  0.0141107
  20  9.51065e-06
  21  0.000281437
  22  0.00317617
  23  1.34647e-07
  24  0.00604213
  25  1.00013
  26  0.000329138
  27  1.00004
  28  7.42927e-08
  29  1.85063e-08
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 67.9066360285

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.092e-04  2.756e-03  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.551e-16  1.851e-08  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.000e-02  7.429e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 207.715 30.559
Photon Flux Upper Limit: 4.68e-06 ph cm-2 s-1
Energy Flux Upper Limit: 3.62e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/8862/likelihoodResults_551664001_551923201_4FGL_J1350.8+3033_daily_bin1205.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) = 67.9066855703
delta logL = -4.95417353221e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 67.9066368886
delta logL = -8.60010516135e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.1699       1.0000          .0000       10.000    
     3 'Normalizat'    .10002E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .38487E-07   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=   67.90664     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      278 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10952E-03    314.09        .58152E-02** at limit **
   2  Index         2.9496        6.2516        .50000        .37780E-05
   3  Normalizat    .10000E-01    .21042E-01    .70621E-02** at limit **
   4  Prefactor     .38858E-14    .67588E-02    .20778E-02** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000109522
  Index      = 2.94957
  Normalizat = 0.01
  Prefactor  = 3.88578e-15
 **********
 **   18 **HESSE 
 **********

 FCN=   67.90664     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      307 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10952E-03    2136.8        .64096E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9496        7.0135        .50000       -.42255    
   3  Normalizat    .10000E-01    .16275        .14124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .38858E-14    .52435E-01    .41555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.51123e-08
Minuit parameter uncertainties:
  1  0.29656
  2  3022.8
  3  3.21377e-06
  4  2.80278e-08
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/8862': 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) = 67.9066363353
delta logL = -3.06747878653e-07

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.095e-04  2.966e-01  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.950e+00  3.023e+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:  3.886e-15  2.803e-08  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.000e-02  3.214e-06  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/8862/cmap_HighResolution_551664001_551923201_4FGL_J1350.8+3033_daily_bin1205.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-01', job_status='DONE', photon_flux_upper_limit='4.68e-06', time_completed='2021-09-08 15:12:29.442453', job_id='8862', GAL2='0.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1631139149.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='-3.07e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1205' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 15:12:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0137>
Subject: Job 8862: <4FGL_J1350.8+3033_daily_bin1205> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin1205 207.715 30.5588 551664001 551923201 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 :                                   331.60 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             218.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   641 sec.
    Turnaround time :                            711 sec.

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

