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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin206
RA = 207.715, Dec = 30.5588
tmin = 292723201, tmax = 292982401
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='2043', job_status='RUN', time_executed='2021-09-08 14:42:18.414260', time_epoch_executed='1631137338.41' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='206'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2043

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2043/ft1_4FGL_J1350.8+3033_daily_bin206.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2043/ft2_4FGL_J1350.8+3033_daily_bin206.fits


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

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/2043/ft2_4FGL_J1350.8+3033_daily_bin206.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/2043/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin206.fits evtable="EVENTS" outfile="/scratch/kocevski/2043/ft1_filtered_4FGL_J1350.8+3033_daily_bin206.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.35
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2043/ft1_filtered_4FGL_J1350.8+3033_daily_bin206.fits evtable="EVENTS" scfile=/scratch/kocevski/2043/ft2_4FGL_J1350.8+3033_daily_bin206.fits sctable="SC_DATA" expcube=/scratch/kocevski/2043/ltcube_292723201_292982401_4FGL_J1350.8+3033_daily_bin206.fits outfile=/scratch/kocevski/2043/expmap_292723201_292982401_4FGL_J1350.8+3033_daily_bin206.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/2043/ltcube_292723201_292982401_4FGL_J1350.8+3033_daily_bin206.fits
.....................!
real 191.16
user 185.63
sys 4.78

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/2043/ft1_filtered_4FGL_J1350.8+3033_daily_bin206.fits scfile=/scratch/kocevski/2043/ft2_4FGL_J1350.8+3033_daily_bin206.fits outfile=/scratch/kocevski/2043/cmap_292723201_292982401_4FGL_J1350.8+3033_daily_bin206.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.60
user 0.40
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.501       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .16701       1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.2461       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .34575E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    2.4460       1.0000         .10000E-03   10000.    
    11 'Prefactor '    64.466       1.0000         .10000E-03   10000.    
    12 'norm      '    33.502       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.5961       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    33.858       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.5619       1.0000         .10000E-03   10000.    
    17 'Prefactor '    28.318       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.2196       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11555E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    30.868       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.3939       1.0000         .10000E-03   10000.    
    24 'norm      '    .10213E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    9.0750       1.0000         .10000E-03   10000.    
    26 'norm      '    .10140E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .72303       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.2748       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=   6370.982     FROM MIGRAD    STATUS=CONVERGED   1294 CALLS     4339 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    44.374        .32486E-02** at limit **
   2  Prefactor     24.538        31.185        .80926E-04    .29923E-04
   3  Prefactor     .10000E-03    20.494        .18142E-02** at limit **
   4  norm          .10000E-03    3.4065        .14287E-02** at limit **
   5  norm          .12995        50.590        .21454E-02    .78127E-03
   6  norm          .10000E-03    3.6844        .14871E-02** at limit **
   7  norm          .10000E-03    13.957        .18142E-02** at limit **
   8  Prefactor     5.2411        5.5890        .14575E-03    .16173E-02
   9  Prefactor     .10038E-03    84.691        .52984E-02** at limit **
  10  norm          2.4458        6.4366        .26158E-03    .67932E-04
  11  Prefactor     64.495        82.539        .49982E-04    .30388E-04
  12  norm          33.500        12.014        .69232E-04    .11623E-03
  13  Prefactor     6.5994        11.955        .78125E-03    .28015E-03
  14  Prefactor     .10000E-03    9.1937        .18142E-02** at limit **
  15  Prefactor     33.839        57.042        .68867E-04    .12619E-03
  16  Prefactor     5.5617        3.9082        .12613E-03    .17224E-03
  17  Prefactor     28.316        15.598        .75286E-04    .43792E-05
  18  norm          .10000E-03    4.6624        .16821E-02** at limit **
  19  Prefactor     6.2252        12.619        .16097E-03    .19846E-04
  20  norm          .10000E-03    3.5059        .14417E-02** at limit **
  21  Prefactor     .10000E-03    18.972        .18142E-02** at limit **
  22  Prefactor     30.881        20.626        .72117E-04    .10499E-03
  23  Prefactor     2.3941        2.3904        .11887E-03    .86078E-06
  24  norm          .10000E-03    5.2845        .17916E-02** at limit **
  25  norm          9.0757        3.1292        .80187E-04    .39981E-04
  26  norm          .10000E-03    9.7931        .18142E-02** at limit **
  27  Prefactor     .10000E-03    37.558        .18142E-02** at limit **
  28  Normalizat    .72286        .21949        .28428E-03    .47263E-03
  29  Prefactor     1.2749        .23066        .24617E-03    .33288E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010002
  Prefactor  = 24.5383
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.129954
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.2411
  Prefactor  = 0.00010038
  norm       = 2.44583
  Prefactor  = 64.4947
  norm       = 33.4999
  Prefactor  = 6.59935
  Prefactor  = 0.0001
  Prefactor  = 33.8386
  Prefactor  = 5.56168
  Prefactor  = 28.3163
  norm       = 0.0001
  Prefactor  = 6.22519
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.8807
  Prefactor  = 2.39408
  norm       = 0.0001
  norm       = 9.07574
  norm       = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.722858
  Prefactor  = 1.27489
 **********
 **   18 **HESSE 
 **********

 FCN=   6370.982     FROM HESSE     STATUS=OK           525 CALLS     4864 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    45.986        .12994E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.538        30.423        .32371E-05   -1.4717    
   3  Prefactor     .10000E-03    20.502        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.4075        .28573E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .12995        45.450        .85818E-04   -1.5636    
   6  norm          .10000E-03    3.6843        .29742E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    13.960        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.2411        5.4546        .58302E-05   -1.5250    
   9  Prefactor     .10038E-03    85.608        .10597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.4458        6.4341        .10463E-04   -1.5395    
  11  Prefactor     64.495        82.419        .99964E-05   -1.4100    
  12  norm          33.500        12.010        .13846E-04   -1.4550    
  13  Prefactor     6.5994        11.952        .31250E-04   -1.5194    
  14  Prefactor     .10000E-03    9.1942        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     33.839        57.029        .13773E-04   -1.4544    
  16  Prefactor     5.5617        3.9077        .50454E-05   -1.5236    
  17  Prefactor     28.316        15.595        .30114E-05   -1.4643    
  18  norm          .10000E-03    4.6626        .33641E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.2252        12.619        .64386E-05   -1.5209    
  20  norm          .10000E-03    3.5079        .28833E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    18.974        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     30.881        20.618        .28847E-05   -1.4596    
  23  Prefactor     2.3941        2.3901        .47547E-05   -1.5399    
  24  norm          .10000E-03    5.2846        .35831E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          9.0757        3.1291        .32075E-05   -1.5105    
  26  norm          .10000E-03    9.7986        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    37.562        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .72286        .21949        .56855E-04   -1.0300    
  29  Prefactor     1.2749        .23084        .49235E-04   -.84057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3527e-08
Minuit parameter uncertainties:
  1  0.00190333
  2  30.4421
  3  5.51151e-05
  4  9.61156e-06
  5  4.86246
  6  7.10137e-07
  7  6.62678e-05
  8  5.45516
  9  0.0114306
  10  6.43596
  11  82.5657
  12  12.0109
  13  11.9562
  14  5.16275e-05
  15  57.1209
  16  3.90784
  17  15.5972
  18  9.65155e-06
  19  12.6239
  20  7.8916e-06
  21  4.91375e-06
  22  20.6226
  23  2.39024
  24  3.42832e-06
  25  3.12913
  26  6.29279e-05
  27  0.000319731
  28  0.219753
  29  0.231028
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  5.562e+00  3.908e+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:  1.275e+00  2.310e-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:  7.229e-01  2.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.65
Ra Dec: 207.715 30.559
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 4.51e-08 +/- 3.17e-08
Energy Flux (Fixed Index): 1.45e-05 +/- 1.02e-05

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) = 6370.66038398
delta logL = 0.321932743418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6370.6560098
delta logL = 0.326306922469

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2663       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9427       1.0000          .0000       10.000    
     3 'Normalizat'    .74429       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2639       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=   6370.656     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      211 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2663        5.2343        .43787E-02    .43004E-02
   2  Index         1.9426        .54901        .23940       -.27795E-04
   3  Normalizat    .74429        .16790        .63383E-01    .25383E-04
   4  Prefactor     1.2639        .18739        .55891E-01   -.69005E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.2663
  Index      = 1.94258
  Normalizat = 0.74429
  Prefactor  = 1.26386
 **********
 **   18 **HESSE 
 **********

 FCN=   6370.656     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2663        4.7094        .14127E-03   -1.5249    
   2  Index         1.9426        .60508        .85697E-02   -.65794    
   3  Normalizat    .74429        .20065        .28039E-03   -1.0217    
   4  Prefactor     1.2639        .22373        .24713E-03   -.84388    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.65191e-09
Minuit parameter uncertainties:
  1  4.70969
  2  0.607466
  3  0.200849
  4  0.223899
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2043': 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) = 6370.65600979
delta logL = 0.326306932167

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  5.266e+00  4.710e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  1.943e+00  6.075e-01  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:  1.264e+00  2.239e-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:  7.443e-01  2.008e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.28
Ra Dec: 207.715 30.559
Photon Index (Free Index): 1.94 +/- 0.61
Photon Flux (Free Index): 2.53e-08 +/- 3.16e-08
Energy Flux (Free Index): 2.03e-05 +/- 2.07e-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/2043/cmap_HighResolution_292723201_292982401_4FGL_J1350.8+3033_daily_bin206.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.51e-08', energy_flux2='2.03e-05', photon_flux_error='3.17e-08', dlogl='3.26e-01', energy_flux='1.45e-05', photon_flux2='2.53e-08', job_status='DONE', time_completed='2021-09-08 14:55:01.395771', photon_index_error2='0.61', photon_index2='1.94', ts='7.65', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='0.72', time_epoch_completed='1631138101.4', return_code='0', job_id='2043', GAL2='1.26', EG2='0.74', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='3.16e-08', ts2='8.28', photon_index='2.42' WHERE bin_id='206' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:55:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 2043: <4FGL_J1350.8+3033_daily_bin206> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin206 207.715 30.5588 292723201 292982401 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 :                                   757.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             354.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            866 sec.

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

