/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 147 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 = 7415
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1350.8+3033_daily_bin15
RA = 207.715, Dec = 30.5588
tmin = 243216001, tmax = 243475201
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='592', job_status='RUN', time_executed='2021-09-08 14:38:22.321119', time_epoch_executed='1631137102.32' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='15'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592/ft1_4FGL_J1350.8+3033_daily_bin15.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592/ft2_4FGL_J1350.8+3033_daily_bin15.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592/ft1_4FGL_J1350.8+3033_daily_bin15.fits outfile=/scratch/kocevski/592/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin15.fits ra=207.715 dec=30.5588 rad=12.0 tmin=243216001.0 tmax=243475201.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 1.38
user 1.20
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592/ft1_filtered_4FGL_J1350.8+3033_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/592/ft2_4FGL_J1350.8+3033_daily_bin15.fits sctable="SC_DATA" expcube=/scratch/kocevski/592/ltcube_243216001_243475201_4FGL_J1350.8+3033_daily_bin15.fits outfile=/scratch/kocevski/592/expmap_243216001_243475201_4FGL_J1350.8+3033_daily_bin15.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/592/ltcube_243216001_243475201_4FGL_J1350.8+3033_daily_bin15.fits
.....................!
real 191.55
user 185.92
sys 4.99

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/592/ft1_filtered_4FGL_J1350.8+3033_daily_bin15.fits scfile=/scratch/kocevski/592/ft2_4FGL_J1350.8+3033_daily_bin15.fits outfile=/scratch/kocevski/592/cmap_243216001_243475201_4FGL_J1350.8+3033_daily_bin15.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592/ft1_filtered_4FGL_J1350.8+3033_daily_bin15.fits scfile=/scratch/kocevski/592/ft2_4FGL_J1350.8+3033_daily_bin15.fits outfile=/scratch/kocevski/592/cmap_HighResolution_243216001_243475201_4FGL_J1350.8+3033_daily_bin15.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.895       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    10.360       1.0000         .10000E-03   10000.    
     6 'norm      '    4.4268       1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.9745       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.7540       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .97619E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.9769       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.9467       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .76004       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      '    1.3315       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.8451       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.1894       1.0000         .10000E-03   10000.    
    24 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    7.8991       1.0000         .10000E-03   10000.    
    26 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.2785       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .51031       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=   5935.701     FROM MIGRAD    STATUS=CONVERGED    737 CALLS     3685 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.5145       -.15420E-07** at limit **
   2  Prefactor     17.893        19.883       -.23857E-07   -.97504E-05
   3  Prefactor     .10000E-03    11.113        .22100E-05** at limit **
   4  norm          .10000E-03    1.3436       -.81394E-08** at limit **
   5  norm          10.360        5.1998       -.71968E-07   -.44863E-04
   6  norm          4.4266        6.3697       -.14645E-06   -.15413E-03
   7  norm          .10000E-03    10.380       -.22442E-05** at limit **
   8  Prefactor     1.9725        2.7670       -.20861E-06   -.59985E-03
   9  Prefactor     .10000E-03    10.712       -.57684E-07** at limit **
  10  norm          3.7565        3.7653        .51958E-07    .17214E-03
  11  Prefactor     .10001E-03    64.121        .10174E-04** at limit **
  12  norm          .10005E-03    5.7749       -.31449E-06** at limit **
  13  Prefactor     7.9755        13.401       -.37499E-06   -.43939E-04
  14  Prefactor     .10000E-03    7.4719        .48178E-06** at limit **
  15  Prefactor     .10000E-03    20.288       -.31031E-06** at limit **
  16  Prefactor     6.9464        3.7274        .69464E-06   -.56845E-03
  17  Prefactor     .76955        7.4364       -.16359E-05   -.13347E-03
  18  norm          .10000E-03    4.3213       -.23908E-05** at limit **
  19  Prefactor     .10000E-03    4.1014        .14834E-05** at limit **
  20  norm          1.3313        2.2227       -.89120E-07   -.37159E-03
  21  Prefactor     .10000E-03    3.5961       -.12198E-07** at limit **
  22  Prefactor     9.8430        12.404       -.17548E-05   -.93123E-03
  23  Prefactor     1.1887        3.0430       -.75512E-06   -.90191E-03
  24  norm          .10000E-03    5.1092       -.11788E-05** at limit **
  25  norm          7.8992        3.0223       -.16218E-08    .45944E-04
  26  norm          .10000E-03    4.7142        .20161E-05** at limit **
  27  Prefactor     .10000E-03    58.791       -.69432E-05** at limit **
  28  Normalizat    1.2786        .16270        .48641E-06    .18125E-03
  29  Prefactor     .51018        .16752       -.19230E-06    .11084E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 17.8932
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 10.3604
  norm       = 4.42658
  norm       = 0.0001
  Prefactor  = 1.97254
  Prefactor  = 0.0001
  norm       = 3.75654
  Prefactor  = 0.000100006
  norm       = 0.000100051
  Prefactor  = 7.97552
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.9464
  Prefactor  = 0.769554
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.33126
  Prefactor  = 0.0001
  Prefactor  = 9.84298
  Prefactor  = 1.18871
  norm       = 0.0001
  norm       = 7.89922
  norm       = 0.0001
  Prefactor  = 0.000100003
  Normalizat = 1.2786
  Prefactor  = 0.51018
 **********
 **   18 **HESSE 
 **********

 FCN=   5935.701     FROM HESSE     STATUS=OK           561 CALLS     4246 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.5184        .92554E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.893        19.871        .94679E-04   -1.4862    
   3  Prefactor     .10000E-03    11.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.3456        .87201E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          10.360        5.2209        .10008E-03   -1.5064    
   6  norm          4.4266        6.3978        .19140E-03   -1.5287    
   7  norm          .10000E-03    10.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9725        2.7633        .14404E-03   -1.5427    
   9  Prefactor     .10000E-03    10.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.7565        3.7677        .14220E-03   -1.5320    
  11  Prefactor     .10001E-03    62.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10005E-03    7.0930        .53028E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.9755        13.441        .14196E-03   -1.5143    
  14  Prefactor     .10000E-03    7.4771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    20.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.9464        3.6737        .10323E-03   -1.5181    
  17  Prefactor     .76955        20.603        .40551E-02   -1.5533    
  18  norm          .10000E-03    4.2069        .15416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.0589        .15158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.3313        2.1827        .14412E-03   -1.5477    
  21  Prefactor     .10000E-03    3.5977        .14264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     9.8430        13.676        .63855E-03   -1.5080    
  23  Prefactor     1.1887        3.1562        .21149E-03   -1.5490    
  24  norm          .10000E-03    5.0758        .16945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          7.8992        3.0239        .79948E-04   -1.5146    
  26  norm          .10000E-03    4.6661        .16194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    57.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.2786        .18380        .19642E-03   -.84207    
  29  Prefactor     .51018        .18660        .31703E-03   -1.1151    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.51993e-08
Minuit parameter uncertainties:
  1  3.5031e-07
  2  19.8784
  3  0.000109443
  4  5.50196e-08
  5  5.22113
  6  6.39883
  7  0.000102579
  8  2.76347
  9  8.046e-06
  10  3.76796
  11  0.00117151
  12  0.00120881
  13  13.4456
  14  2.12142e-05
  15  1.74887e-05
  16  3.67377
  17  7.96627
  18  7.16761e-05
  19  4.08328e-05
  20  2.18284
  21  9.45753e-06
  22  13.6807
  23  3.15666
  24  4.31622e-05
  25  3.02394
  26  6.15269e-05
  27  0.000790902
  28  0.183898
  29  0.186826
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  6.946e+00  3.674e+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:  5.102e-01  1.868e-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.279e+00  1.839e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.97
Ra Dec: 207.715 30.559
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 5.64e-08 +/- 2.98e-08
Energy Flux (Fixed Index): 1.81e-05 +/- 9.58e-06

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) = 5935.15443286
delta logL = 0.546474673451

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5935.08549578
delta logL = 0.615411747483

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.4119       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9383       1.0000          .0000       10.000    
     3 'Normalizat'    1.3005       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .49311       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=   5935.085     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      209 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.4139        5.7554        .34555E-02    .32763E-03
   2  Index         1.9383        .45544        .16799       -.14933E-04
   3  Normalizat    1.3005        .15723        .32796E-01   -.19573E-04
   4  Prefactor     .49314        .16702        .72688E-01    .23683E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.41385
  Index      = 1.93832
  Normalizat = 1.30052
  Prefactor  = 0.493139
 **********
 **   18 **HESSE 
 **********

 FCN=   5935.085     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.4139        4.4756        .57610E-03   -1.5128    
   2  Index         1.9383        .39296        .66793E-02   -.65901    
   3  Normalizat    1.3005        .17347        .19498E-03   -.83551    
   4  Prefactor     .49314        .18365        .32184E-03   -1.1229    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5374e-11
Minuit parameter uncertainties:
  1  4.47579
  2  0.393611
  3  0.173548
  4  0.183871
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592': 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) = 5935.08549547
delta logL = 0.615412058647

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  8.414e+00  4.476e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  1.938e+00  3.936e-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:  4.931e-01  1.839e-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.301e+00  1.735e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.21
Ra Dec: 207.715 30.559
Photon Index (Free Index): 1.94 +/- 0.39
Photon Flux (Free Index): 4.03e-08 +/- 2.60e-08
Energy Flux (Free Index): 3.26e-05 +/- 2.80e-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/592/cmap_HighResolution_243216001_243475201_4FGL_J1350.8+3033_daily_bin15.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.64e-08', energy_flux2='3.26e-05', photon_flux_error='2.98e-08', dlogl='6.15e-01', energy_flux='1.81e-05', photon_flux2='4.03e-08', job_status='DONE', time_completed='2021-09-08 14:49:46.426398', photon_index_error2='0.39', photon_index2='1.94', ts='8.97', fit_tolerance='1e-08', GAL='0.51', photon_index_error='0.00', energy_flux_error2='2.80e-05', EG='1.28', time_epoch_completed='1631137786.43', return_code='0', job_id='592', GAL2='0.49', EG2='1.30', return_code2='0', energy_flux_error='9.58e-06', photon_flux_error2='2.60e-08', ts2='10.21', photon_index='2.42' WHERE bin_id='15' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:49:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 592: <4FGL_J1350.8+3033_daily_bin15> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin15> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep  8 14:35:34 2021
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 14:35:46 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:35:46 2021
Terminated at Wed Sep  8 14:49:47 2021
Results reported at Wed Sep  8 14:49:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin15 207.715 30.5588 243216001 243475201 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 :                                   683.00 sec.
    Max Memory :                                 1034 MB
    Average Memory :                             292.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            853 sec.

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

