/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 1 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 = 7015
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1350.8+3033_daily_bin312
RA = 207.715, Dec = 30.5588
tmin = 320198401, tmax = 320457601
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='3697', job_status='RUN', time_executed='2021-09-08 14:47:05.213717', time_epoch_executed='1631137625.21' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='312'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/3697

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/3697/ft1_4FGL_J1350.8+3033_daily_bin312.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/3697/ft2_4FGL_J1350.8+3033_daily_bin312.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/3697/ft1_4FGL_J1350.8+3033_daily_bin312.fits outfile=/scratch/kocevski/3697/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin312.fits ra=207.715 dec=30.5588 rad=12.0 tmin=320198401.0 tmax=320457601.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.39
user 3.14
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/3697/ft1_filtered_4FGL_J1350.8+3033_daily_bin312.fits" evtable="EVENTS" scfile=/scratch/kocevski/3697/ft2_4FGL_J1350.8+3033_daily_bin312.fits sctable="SC_DATA" outfile=/scratch/kocevski/3697/ltcube_320198401_320457601_4FGL_J1350.8+3033_daily_bin312.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/3697/ft2_4FGL_J1350.8+3033_daily_bin312.fits
.....................!
real 14.95
user 14.53
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/3697/ft1_filtered_4FGL_J1350.8+3033_daily_bin312.fits evtable="EVENTS" scfile=/scratch/kocevski/3697/ft2_4FGL_J1350.8+3033_daily_bin312.fits sctable="SC_DATA" expcube=/scratch/kocevski/3697/ltcube_320198401_320457601_4FGL_J1350.8+3033_daily_bin312.fits outfile=/scratch/kocevski/3697/expmap_320198401_320457601_4FGL_J1350.8+3033_daily_bin312.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/3697/ltcube_320198401_320457601_4FGL_J1350.8+3033_daily_bin312.fits
.....................!
real 192.42
user 186.78
sys 5.22

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/3697/ft1_filtered_4FGL_J1350.8+3033_daily_bin312.fits scfile=/scratch/kocevski/3697/ft2_4FGL_J1350.8+3033_daily_bin312.fits outfile=/scratch/kocevski/3697/cmap_320198401_320457601_4FGL_J1350.8+3033_daily_bin312.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/3697/ft1_filtered_4FGL_J1350.8+3033_daily_bin312.fits scfile=/scratch/kocevski/3697/ft2_4FGL_J1350.8+3033_daily_bin312.fits outfile=/scratch/kocevski/3697/cmap_HighResolution_320198401_320457601_4FGL_J1350.8+3033_daily_bin312.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.59
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.748       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.9914       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.9581       1.0000         .10000E-03   10000.    
     4 'norm      '    .10264E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    31.046       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10875E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1276       1.0000         .10000E-03   10000.    
    10 'norm      '    5.6140       1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.884       1.0000         .10000E-03   10000.    
    12 'norm      '    21.766       1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.982       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.618       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.0440       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.154       1.0000         .10000E-03   10000.    
    18 'norm      '    8.3456       1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.870       1.0000         .10000E-03   10000.    
    20 'norm      '    4.0916       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    10.852       1.0000         .10000E-03   10000.    
    26 'norm      '    .81686E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    42.899       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.3299       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .48400       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=   5294.864     FROM MIGRAD    STATUS=CONVERGED    715 CALLS     3677 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.747        7.9141       -.18729E-07    .90584E-05
   2  Prefactor     7.9887        23.231       -.73747E-07    .60194E-05
   3  Prefactor     5.9551        17.622       -.18781E-06    .50354E-05
   4  norm          .10000E-03    2.6509       -.60476E-07** at limit **
   5  norm          .10000E-03    .98915        .16586E-08** at limit **
   6  norm          .10000E-03    2.1924        .29562E-07** at limit **
   7  norm          31.045        22.896        .65224E-07   -.17398E-04
   8  Prefactor     .10000E-03    2.1400       -.14372E-05** at limit **
   9  Prefactor     2.1248        7.3404        .57793E-05   -.32846E-03
  10  norm          5.6136        6.1907        .79098E-08   -.86594E-05
  11  Prefactor     33.874        46.440       -.58043E-07   -.22422E-04
  12  norm          21.764        11.487       -.37381E-07   -.29141E-04
  13  Prefactor     27.973        19.454       -.25967E-06   -.52319E-04
  14  Prefactor     .10000E-03    48.435        .26739E-06** at limit **
  15  Prefactor     13.599        74.904       -.20201E-07   -.54747E-04
  16  Prefactor     5.0426        5.0060       -.12521E-06   -.51609E-04
  17  Prefactor     18.152        15.444        .76817E-07   -.35848E-04
  18  norm          8.3422        22.233       -.54529E-06   -.66140E-04
  19  Prefactor     19.873        23.349       -.19932E-06   -.17254E-04
  20  norm          4.0920        4.1925       -.11095E-06   -.61860E-04
  21  Prefactor     .10000E-03    7.5429        .29356E-06** at limit **
  22  Prefactor     .10000E-03    10.534        .31466E-06** at limit **
  23  Prefactor     .10000E-03    2.7913        .24729E-06** at limit **
  24  norm          .10000E-03    4.5546        .75527E-07** at limit **
  25  norm          10.852        3.8151        .11491E-06   -.35283E-03
  26  norm          .10000E-03    8.6899        .17504E-05** at limit **
  27  Prefactor     42.891        59.013       -.18259E-06   -.66968E-04
  28  Normalizat    1.3301        .19676        .30835E-05    .93270E-04
  29  Prefactor     .48380        .19360       -.57167E-05   -.22433E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 16.7469
  Prefactor  = 7.98869
  Prefactor  = 5.95509
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 31.0448
  Prefactor  = 0.000100001
  Prefactor  = 2.12475
  norm       = 5.6136
  Prefactor  = 33.8738
  norm       = 21.764
  Prefactor  = 27.9734
  Prefactor  = 0.0001
  Prefactor  = 13.5993
  Prefactor  = 5.04264
  Prefactor  = 18.1523
  norm       = 8.34216
  Prefactor  = 19.8733
  norm       = 4.09195
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 10.852
  norm       = 0.000100001
  Prefactor  = 42.8914
  Normalizat = 1.33013
  Prefactor  = 0.483797
 **********
 **   18 **HESSE 
 **********

 FCN=   5294.864     FROM HESSE     STATUS=OK           555 CALLS     4232 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.747        7.9065        .48934E-03   -1.4889    
   2  Prefactor     7.9887        23.174        .14183E-03   -1.5143    
   3  Prefactor     5.9551        17.563        .16451E-03   -1.5220    
   4  norm          .10000E-03    2.6575        .11539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .99269        .70658E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.2060        .10522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          31.045        22.887        .71910E-04   -1.4593    
   8  Prefactor     .10000E-03    6.0172        .19634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1248        7.8158        .14134E-02   -1.5416    
  10  norm          5.6136        6.1802        .16955E-03   -1.5234    
  11  Prefactor     33.874        46.197        .68841E-04   -1.4543    
  12  norm          21.764        11.484        .85854E-04   -1.4775    
  13  Prefactor     27.973        19.501        .75736E-04   -1.4650    
  14  Prefactor     .10000E-03    48.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.599        76.055        .10854E-03   -1.4970    
  16  Prefactor     5.0426        5.0236        .15255E-03   -1.5259    
  17  Prefactor     18.152        15.441        .94002E-04   -1.4856    
  18  norm          8.3422        22.344        .13877E-03   -1.5130    
  19  Prefactor     19.873        23.307        .89853E-04   -1.4816    
  20  norm          4.0920        4.1901        .14449E-03   -1.5303    
  21  Prefactor     .10000E-03    7.5609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    10.569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    2.8536        .11869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    4.5556        .15167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          10.852        3.8172        .80896E-04   -1.5049    
  26  norm          .10000E-03    36.646        .40298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     42.891        59.198        .61207E-04   -1.4397    
  28  Normalizat    1.3301        .23311        .21399E-03   -.82671    
  29  Prefactor     .48380        .22234        .35024E-03   -1.1273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61113e-09
Minuit parameter uncertainties:
  1  7.907
  2  23.2002
  3  17.5778
  4  5.93935e-06
  5  1.86345e-07
  6  1.72996e-06
  7  22.8939
  8  0.000124839
  9  7.81954
  10  6.18093
  11  46.2454
  12  11.485
  13  19.5058
  14  0.000112441
  15  64.4466
  16  5.02402
  17  15.4441
  18  22.3663
  19  23.3179
  20  4.19035
  21  5.65204e-05
  22  5.18318e-05
  23  2.61439e-05
  24  1.33145e-05
  25  3.81724
  26  0.000428129
  27  59.2792
  28  0.233294
  29  0.222736
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  5.043e+00  5.024e+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:  4.838e-01  2.227e-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.330e+00  2.333e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.78
Ra Dec: 207.715 30.559
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 4.09e-08 +/- 4.07e-08
Energy Flux (Fixed Index): 1.31e-05 +/- 1.31e-05

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

Saving results to:
/scratch/kocevski/3697/likelihoodResults_320198401_320457601_4FGL_J1350.8+3033_daily_bin312.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) = 5294.27738881
delta logL = 0.587102065482

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5294.24498371
delta logL = 0.619507165194

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7418       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7895       1.0000          .0000       10.000    
     3 'Normalizat'    1.2421       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55040       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=   5294.245     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      252 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7284        18.018        .79467E-02    .42299E-03
   2  Index         3.7955        3.2149        .13791        .10852E-03
   3  Normalizat    1.2418        .55221E-01    .49807E-01   -.27880E-06
   4  Prefactor     .55053        .56441E-01    .74541E-01    .26552E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.7284
  Index      = 3.7955
  Normalizat = 1.24178
  Prefactor  = 0.550532
 **********
 **   18 **HESSE 
 **********

 FCN=   5294.245     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      285 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7284        34.279        .59253E-04   -1.5445    
   2  Index         3.7955        6.8864        .50482E-02   -.24329    
   3  Normalizat    1.2418        .24817        .22020E-03   -.85321    
   4  Prefactor     .55053        .25732        .33005E-03   -1.0971    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.14424e-07
Minuit parameter uncertainties:
  1  15.4042
  2  5.9793
  3  0.248402
  4  0.25787
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/3697': 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) = 5294.2449741
delta logL = 0.619516768564

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.728e+00  1.540e+01  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  3.795e+00  5.979e+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.505e-01  2.579e-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.242e+00  2.484e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.17
Ra Dec: 207.715 30.559
Photon Index (Free Index): 3.80 +/- 5.98
Photon Flux (Free Index): 1.07e-07 +/- 1.04e-07
Energy Flux (Free Index): 1.66e-05 +/- 1.36e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/3697/cmap_HighResolution_320198401_320457601_4FGL_J1350.8+3033_daily_bin312.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='4.09e-08', energy_flux2='1.66e-05', photon_flux_error='4.07e-08', dlogl='6.20e-01', energy_flux='1.31e-05', photon_flux2='1.07e-07', job_status='DONE', time_completed='2021-09-08 14:59:07.040977', photon_index_error2='5.98', photon_index2='3.80', ts='1.78', fit_tolerance='1e-08', GAL='0.48', photon_index_error='0.00', photon_flux_upper_limit='1.33e-07', energy_flux_error2='1.36e-05', EG='1.33', time_epoch_completed='1631138347.04', return_code='0', job_id='3697', GAL2='0.55', EG2='1.24', return_code2='102', energy_flux_error='1.31e-05', photon_flux_error2='1.04e-07', ts2='3.17', photon_index='2.42' WHERE bin_id='312' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:59:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0133>
Subject: Job 3697: <4FGL_J1350.8+3033_daily_bin312> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin312> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 14:45:18 2021
Job was executed on host(s) <bullet0133>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 14:46:55 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:46:55 2021
Terminated at Wed Sep  8 14:59:07 2021
Results reported at Wed Sep  8 14:59:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin312 207.715 30.5588 320198401 320457601 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 :                                   718.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             301.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            829 sec.

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

