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


Performing analysis on: 4FGL_J0713.8+1935_daily_bin1510
RA = 108.465, Dec = 19.5879
tmin = 630720001, tmax = 630979201
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='200449', job_status='RUN', time_executed='2021-08-26 23:01:18.523556', time_epoch_executed='1630044078.52' WHERE source_name='4FGL J0713.8+1935' and cadence='daily' and bin_id='1510'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/200449

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/200449/ft1_4FGL_J0713.8+1935_daily_bin1510.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/200449/ft2_4FGL_J0713.8+1935_daily_bin1510.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/200449/ft1_4FGL_J0713.8+1935_daily_bin1510.fits outfile=/scratch/kocevski/200449/ft1_filteredMKT_4FGL_J0713.8+1935_daily_bin1510.fits ra=108.465 dec=19.5879 rad=12.0 tmin=630720001.0 tmax=630979201.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.79
user 2.73
sys 1.04

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/200449/ft2_4FGL_J0713.8+1935_daily_bin1510.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/200449/ft2_4FGL_J0713.8+1935_daily_bin1510.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/200449/ft1_filteredMKT_4FGL_J0713.8+1935_daily_bin1510.fits evtable="EVENTS" outfile="/scratch/kocevski/200449/ft1_filtered_4FGL_J0713.8+1935_daily_bin1510.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 1.36
user 0.33
sys 1.01

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/200449/ft1_filtered_4FGL_J0713.8+1935_daily_bin1510.fits" evtable="EVENTS" scfile=/scratch/kocevski/200449/ft2_4FGL_J0713.8+1935_daily_bin1510.fits sctable="SC_DATA" outfile=/scratch/kocevski/200449/ltcube_630720001_630979201_4FGL_J0713.8+1935_daily_bin1510.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/200449/ft2_4FGL_J0713.8+1935_daily_bin1510.fits
.....................!
real 13.32
user 12.00
sys 1.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/200449/ft1_filtered_4FGL_J0713.8+1935_daily_bin1510.fits evtable="EVENTS" scfile=/scratch/kocevski/200449/ft2_4FGL_J0713.8+1935_daily_bin1510.fits sctable="SC_DATA" expcube=/scratch/kocevski/200449/ltcube_630720001_630979201_4FGL_J0713.8+1935_daily_bin1510.fits outfile=/scratch/kocevski/200449/expmap_630720001_630979201_4FGL_J0713.8+1935_daily_bin1510.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/200449/ltcube_630720001_630979201_4FGL_J0713.8+1935_daily_bin1510.fits
.....................!
real 192.15
user 186.21
sys 5.47

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
Extended source IC 443 in ROI with RadialGaussian spatial model.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Added 164 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0713.8+1935 @ 108.465 19.5879

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/200449/ft1_filtered_4FGL_J0713.8+1935_daily_bin1510.fits scfile=/scratch/kocevski/200449/ft2_4FGL_J0713.8+1935_daily_bin1510.fits outfile=/scratch/kocevski/200449/cmap_630720001_630979201_4FGL_J0713.8+1935_daily_bin1510.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=108.465 yref=19.5879 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 1.39
user 0.37
sys 1.00

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/200449/ft1_filtered_4FGL_J0713.8+1935_daily_bin1510.fits scfile=/scratch/kocevski/200449/ft2_4FGL_J0713.8+1935_daily_bin1510.fits outfile=/scratch/kocevski/200449/cmap_HighResolution_630720001_630979201_4FGL_J0713.8+1935_daily_bin1510.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=108.465 yref=19.5879 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 1.39
user 0.37
sys 1.01

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/200449/ft1_filtered_4FGL_J0713.8+1935_daily_bin1510.fits evtable="EVENTS" scfile=/scratch/kocevski/200449/ft2_4FGL_J0713.8+1935_daily_bin1510.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/200449/Model_4FGL_J0713.8+1935_daily_bin1510.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
adding source IC 443
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/200449/ft1_filtered_4FGL_J0713.8+1935_daily_bin1510.fits...........!
real 16.16
user 13.81
sys 2.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/200449/ft1_filtered_4FGL_J0713.8+1935_daily_bin1510.fits', '/scratch/kocevski/200449/ft2_4FGL_J0713.8+1935_daily_bin1510.fits', expMap='/scratch/kocevski/200449/expmap_630720001_630979201_4FGL_J0713.8+1935_daily_bin1510.fits', expCube='/scratch/kocevski/200449/ltcube_630720001_630979201_4FGL_J0713.8+1935_daily_bin1510.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/200449/Model_4FGL_J0713.8+1935_daily_bin1510.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0713.8+1935'

4FGL J0713.8+1935
   Spectrum: LogParabola
266         norm:  8.175e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.272e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
268         beta:  1.056e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  5.687e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/200449/ft1_filtered_4FGL_J0713.8+1935_daily_bin1510.fits
Spacecraft file(s): /scratch/kocevski/200449/ft2_4FGL_J0713.8+1935_daily_bin1510.fits
Exposure map: /scratch/kocevski/200449/expmap_630720001_630979201_4FGL_J0713.8+1935_daily_bin1510.fits
Exposure cube: /scratch/kocevski/200449/ltcube_630720001_630979201_4FGL_J0713.8+1935_daily_bin1510.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/200449/Model_4FGL_J0713.8+1935_daily_bin1510.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) = 144.860664677

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7428       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.5776       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8925       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.7243       1.0000         .10000E-03   10000.    
     5 'norm      '    8.9975       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5711       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.3065       1.0000         .10000E-03   10000.    
     8 'norm      '    .37729       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8106       1.0000         .10000E-03   10000.    
    10 'norm      '    13.306       1.0000         .10000E-03   10000.    
    11 'norm      '    35.924       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12862E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .13853E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .16045       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.538       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1044.8       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.678       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .55975E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.6502       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    21 'Prefactor '    .63727       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   141.7349     FROM MIGRAD    STATUS=CONVERGED    140 CALLS      380 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7428        1.0177         .0000         .0000    
   2  Prefactor     3.5776        1.0101         .0000         .0000    
   3  norm          1.8925        1.0400         .0000         .0000    
   4  Prefactor     5.7243        1.0039         .0000         .0000    
   5  norm          8.9975        1.0015         .0000         .0000    
   6  Prefactor     5.5711        1.0041         .0000         .0000    
   7  Prefactor     3.3065        1.0119         .0000         .0000    
   8  norm          .12757E-03    .28939        .15619E-03** at limit **
   9  Prefactor     .26104E-01    .67168E-01    .66293E-05    .53225E-02
  10  norm          14.281        1.0366       -.25995E-04   -.28792E-02
  11  norm          36.047        1.0018       -.47360E-05   -.12211E-02
  12  Prefactor     .10731E-03    .20644       -.90940E-05** at limit **
  13  norm          .10000E-03    .20571        .20573E-04** at limit **
  14  Prefactor     .10173E-03    .23988       -.69323E-04** at limit **
  15  Prefactor     52.654        1.9696       -.45700E-04    .62557E-02
  16  Prefactor     1044.6        .99989       -.72824E-07    .11209E-01
  17  Prefactor     14.383        1.0261       -.25321E-04   -.41798E-03
  18  Prefactor     .10081E-03    .27826       -.10700E-03** at limit **
  19  norm          .15542E-01    .69852E-01    .37119E-04    .56950E-02
  20  Normalizat    .10000E-01    .25505       -.43913E-03** at limit **
  21  Prefactor     .56564        .93266        .17918E-03   -.50503E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.7428
  Prefactor  = 3.57764
  norm       = 1.89254
  Prefactor  = 5.72433
  norm       = 8.99751
  Prefactor  = 5.57108
  Prefactor  = 3.30647
  norm       = 0.000127567
  Prefactor  = 0.0261037
  norm       = 14.2806
  norm       = 36.0472
  Prefactor  = 0.000107309
  norm       = 0.0001
  Prefactor  = 0.000101732
  Prefactor  = 52.654
  Prefactor  = 1044.59
  Prefactor  = 14.3831
  Prefactor  = 0.000100812
  norm       = 0.0155422
  Normalizat = 0.01
  Prefactor  = 0.565638
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   141.7349     FROM HESSE     STATUS=FAILED         9 CALLS      389 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     557.83        555.00         .0000       -1.5377    
   2  Prefactor     3.5776        1.0101         .0000       -1.5330    
   3  norm          1.8925        1.0400         .0000       -1.5433    
   4  Prefactor     5.7243        1.0039         .0000       -1.5229    
   5  norm          8.9975        1.0015         .0000       -1.5108    
   6  Prefactor     5.5711        1.0041         .0000       -1.5236    
   7  Prefactor     3.3065        1.0119         .0000       -1.5344    
   8  norm          .12757E-03    .28939        .15619E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .26104E-01    .67168E-01    .66293E-05   -1.5676    
  10  norm          14.281        1.0366       -.25995E-04   -1.4952    
  11  norm          36.047        1.0018       -.47360E-05   -1.4506    
  12  Prefactor     .10731E-03    .20644       -.90940E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .20571        .20573E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10173E-03    .23988       -.69323E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     52.654        1.9696       -.45700E-04   -1.4255    
  16  Prefactor     1044.6        .99989       -.72824E-07   -.91258    
  17  Prefactor     14.383        1.0261       -.25321E-04   -1.4949    
  18  Prefactor     .10081E-03    .27826       -.10700E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .15542E-01    .69852E-01    .37119E-04   -1.5683    
  20  Normalizat    .10000E-01    .25505       -.43913E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .56564        .93266        .17918E-03   -1.0905    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.23333e-09
Minuit parameter uncertainties:
  1  1.01766
  2  1.01011
  3  1.04003
  4  1.00387
  5  1.00155
  6  1.00408
  7  1.01192
  8  0.00564897
  9  0.0671682
  10  1.03664
  11  1.0018
  12  0.00245672
  13  4.42537e-07
  14  0.00128922
  15  1.9696
  16  0.999891
  17  1.02611
  18  0.000950623
  19  0.0656865
  20  4.30188e-07
  21  0.960064
Done.

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

Extracting fit parameters...

4FGL J0713.8+1935
   Spectrum: LogParabola
266         norm:  1.276e-04  5.649e-03  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.272e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
268         beta:  1.056e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  5.687e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  5.656e-01  9.601e-01  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.000e-02  4.302e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 108.465 19.588
Photon Flux Upper Limit: 2.04e-05 ph cm-2 s-1
Energy Flux Upper Limit: 7.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/200449/likelihoodResults_630720001_630979201_4FGL_J0713.8+1935_daily_bin1510.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) = 141.734945367
delta logL = -4.69501028988e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 141.734940727
delta logL = -5.52094263639e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10582E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5117       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56569       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+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=   141.7349     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      251 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12717E-03    8209.9        .18142E-01** at limit **
   2  alpha         2.7064        3.7984        .18609        .10423E-06
   3  Normalizat    .10000E-01    .13946E-01    .29997E-02** at limit **
   4  Prefactor     .56564        .83746E-01    .29300E-03   -.22311E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000127165
  alpha      = 2.70636
  Normalizat = 0.01
  Prefactor  = 0.565639
 **********
 **   18 **HESSE 
 **********

 FCN=   141.7349     FROM HESSE     STATUS=NOT POSDEF    23 CALLS      274 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12717E-03    7953.8        .33858E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7064        2.8912        .37218E-01    .82638E-01
   3  Normalizat    .10000E-01    .92077E-01    .59994E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .56564        .21520        .11720E-04   -1.0905    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.78481e-08
Minuit parameter uncertainties:
  1  2.36103
  2  30629
  3  3.15238e-07
  4  0.215517
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/200449': 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) = 141.734940684
delta logL = -1.23418146813e-08

Extracting fit parameters...

4FGL J0713.8+1935
   Spectrum: LogParabola
266         norm:  1.272e-04  2.361e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.706e+00  3.063e+04  0.000e+00  5.000e+00 ( 1.000e+00)
268         beta:  1.056e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  5.687e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  5.656e-01  2.155e-01  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.000e-02  3.152e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 108.465 19.588

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/200449/cmap_HighResolution_630720001_630979201_4FGL_J0713.8+1935_daily_bin1510.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.09e-03', job_status='DONE', photon_flux_upper_limit='2.04e-05', time_completed='2021-08-26 23:06:50.351487', job_id='200449', GAL2='0.57', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630044410.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.57', dlogl='-1.23e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1510' AND source_name='4FGL J0713.8+1935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 23:06:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 200449: <4FGL_J0713.8+1935_daily_bin1510> in cluster <slac> Done

Job <4FGL_J0713.8+1935_daily_bin1510> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Aug 26 23:00:48 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 23:00:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 23:00:50 2021
Terminated at Thu Aug 26 23:06:51 2021
Results reported at Thu Aug 26 23:06:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0713.8+1935_daily_bin1510 108.465 19.5879 630720001 630979201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0713.8+1935 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   342.35 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             312.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   360 sec.
    Turnaround time :                            363 sec.

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

