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


Performing analysis on: 4FGL_J0749.3+4453_daily_bin1171
RA = 117.348, Dec = 44.8918
tmin = 542851201, tmax = 543110401
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='926740', job_status='RUN', time_executed='2021-08-28 15:24:58.617986', time_epoch_executed='1630189498.62' WHERE source_name='4FGL J0749.3+4453' and cadence='daily' and bin_id='1171'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/926740

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

Retrieving the FT1 file...

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

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

Retrieving 4 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/926740/ft1_4FGL_J0749.3+4453_daily_bin1171.fits


Retrieving the FT1 file...

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

Retrieving 4 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/926740/ft2_4FGL_J0749.3+4453_daily_bin1171.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/926740/ft1_4FGL_J0749.3+4453_daily_bin1171.fits outfile=/scratch/kocevski/926740/ft1_filteredMKT_4FGL_J0749.3+4453_daily_bin1171.fits ra=117.348 dec=44.8918 rad=12.0 tmin=542851201.0 tmax=543110401.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 7.58
user 0.61
sys 6.90

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/926740/ft2_4FGL_J0749.3+4453_daily_bin1171.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/926740/ft2_4FGL_J0749.3+4453_daily_bin1171.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/926740/ft1_filteredMKT_4FGL_J0749.3+4453_daily_bin1171.fits evtable="EVENTS" outfile="/scratch/kocevski/926740/ft1_filtered_4FGL_J0749.3+4453_daily_bin1171.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 6.75
user 0.32
sys 6.27

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/926740/ft1_filtered_4FGL_J0749.3+4453_daily_bin1171.fits" evtable="EVENTS" scfile=/scratch/kocevski/926740/ft2_4FGL_J0749.3+4453_daily_bin1171.fits sctable="SC_DATA" outfile=/scratch/kocevski/926740/ltcube_542851201_543110401_4FGL_J0749.3+4453_daily_bin1171.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/926740/ft2_4FGL_J0749.3+4453_daily_bin1171.fits
.....................!
real 9.72
user 1.55
sys 8.06

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/926740/ft1_filtered_4FGL_J0749.3+4453_daily_bin1171.fits evtable="EVENTS" scfile=/scratch/kocevski/926740/ft2_4FGL_J0749.3+4453_daily_bin1171.fits sctable="SC_DATA" expcube=/scratch/kocevski/926740/ltcube_542851201_543110401_4FGL_J0749.3+4453_daily_bin1171.fits outfile=/scratch/kocevski/926740/expmap_542851201_543110401_4FGL_J0749.3+4453_daily_bin1171.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/926740/ltcube_542851201_543110401_4FGL_J0749.3+4453_daily_bin1171.fits
.....................!
real 199.83
user 185.70
sys 13.21

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 202 point sources and 0 extended sources

Setting source of interest to:
4FGL J0749.3+4453 @ 117.348 44.8918

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/926740/ft1_filtered_4FGL_J0749.3+4453_daily_bin1171.fits scfile=/scratch/kocevski/926740/ft2_4FGL_J0749.3+4453_daily_bin1171.fits outfile=/scratch/kocevski/926740/cmap_542851201_543110401_4FGL_J0749.3+4453_daily_bin1171.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=117.348 yref=44.8918 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 7.40
user 0.34
sys 6.64

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/926740/ft1_filtered_4FGL_J0749.3+4453_daily_bin1171.fits scfile=/scratch/kocevski/926740/ft2_4FGL_J0749.3+4453_daily_bin1171.fits outfile=/scratch/kocevski/926740/cmap_HighResolution_542851201_543110401_4FGL_J0749.3+4453_daily_bin1171.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=117.348 yref=44.8918 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 7.24
user 0.37
sys 6.58

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/926740/ft1_filtered_4FGL_J0749.3+4453_daily_bin1171.fits evtable="EVENTS" scfile=/scratch/kocevski/926740/ft2_4FGL_J0749.3+4453_daily_bin1171.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/926740/Model_4FGL_J0749.3+4453_daily_bin1171.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/926740/ft1_filtered_4FGL_J0749.3+4453_daily_bin1171.fits....................!
real 31.10
user 20.50
sys 10.01

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/926740/ft1_filtered_4FGL_J0749.3+4453_daily_bin1171.fits', '/scratch/kocevski/926740/ft2_4FGL_J0749.3+4453_daily_bin1171.fits', expMap='/scratch/kocevski/926740/expmap_542851201_543110401_4FGL_J0749.3+4453_daily_bin1171.fits', expCube='/scratch/kocevski/926740/ltcube_542851201_543110401_4FGL_J0749.3+4453_daily_bin1171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/926740/Model_4FGL_J0749.3+4453_daily_bin1171.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0749.3+4453'

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  4.702e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.263e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  1.134e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/926740/ft1_filtered_4FGL_J0749.3+4453_daily_bin1171.fits
Spacecraft file(s): /scratch/kocevski/926740/ft2_4FGL_J0749.3+4453_daily_bin1171.fits
Exposure map: /scratch/kocevski/926740/expmap_542851201_543110401_4FGL_J0749.3+4453_daily_bin1171.fits
Exposure cube: /scratch/kocevski/926740/ltcube_542851201_543110401_4FGL_J0749.3+4453_daily_bin1171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/926740/Model_4FGL_J0749.3+4453_daily_bin1171.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) = 1023.48794242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.2877       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10326E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.483       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.859       1.0000         .10000E-03   10000.    
     9 'Prefactor '    49.085       1.0000         .10000E-03   10000.    
    10 'norm      '    3.6529       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.311       1.0000         .10000E-03   10000.    
    13 'norm      '    32.238       1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.9023       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    12.531       1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .12376E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    99.279       1.0000         .10000E-03   10000.    
    25 'norm      '    35.945       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0304       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0421       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1023.373     FROM MIGRAD    STATUS=CONVERGED    690 CALLS     3498 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.2286        .51154E-07** at limit **
   2  norm          2.2871        15.739        .29468E-06    .14096E-04
   3  Prefactor     .10000E-03    269.19       -.48636E-05** at limit **
   4  norm          .10000E-03    5.8730        .17275E-06** at limit **
   5  Prefactor     30.491        20.394        .63912E-06    .15442E-05
   6  Prefactor     .10000E-03    29.526        .11706E-05** at limit **
   7  norm          .10000E-03    9.4802        .83301E-07** at limit **
   8  Prefactor     31.895        42.813        .16837E-05    .29724E-05
   9  Prefactor     49.302        104.15        .20733E-05    .28768E-04
  10  norm          3.6544        3.7410        .47629E-06    .46288E-04
  11  Prefactor     .10000E-03    15.653        .12216E-05** at limit **
  12  Prefactor     24.422        78.571       -.89246E-05   -.31524E-04
  13  norm          32.311        68.155        .33260E-05    .11056E-04
  14  norm          .10000E-03    4.2839        .58334E-06** at limit **
  15  Prefactor     3.8353        113.47        .17419E-04    .36136E-04
  16  Prefactor     .10000E-03    88.020       -.42406E-06** at limit **
  17  Prefactor     .10000E-03    5.9664       -.35989E-06** at limit **
  18  norm          12.534        13.283        .31796E-06    .62562E-05
  19  norm          .10000E-03    6.6583       -.39641E-06** at limit **
  20  norm          .10000E-03    .74782       -.13807E-06** at limit **
  21  Prefactor     .10000E-03    18.563       -.11708E-06** at limit **
  22  Prefactor     .10000E-03    4.4333       -.17990E-06** at limit **
  23  Prefactor     .10000E-03    182.22        .60261E-06** at limit **
  24  Prefactor     99.308        80.826        .32383E-05    .17174E-04
  25  norm          35.969        33.752        .48736E-06    .14554E-05
  26  norm          .10000E-03    43.953       -.60255E-06** at limit **
  27  Normalizat    1.0276        .71755       -.19052E-04    .27213E-04
  28  Prefactor     1.0436        .39651        .85117E-05   -.82636E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.28714
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 30.4914
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 31.8953
  Prefactor  = 49.3021
  norm       = 3.65435
  Prefactor  = 0.0001
  Prefactor  = 24.4223
  norm       = 32.3107
  norm       = 0.0001
  Prefactor  = 3.83532
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.5343
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 99.3078
  norm       = 35.9694
  norm       = 0.0001
  Normalizat = 1.02756
  Prefactor  = 1.04359
 **********
 **   18 **HESSE 
 **********

 FCN=   1023.373     FROM HESSE     STATUS=OK           511 CALLS     4009 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.2287        .64261E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.2871        15.619        .23703E-03   -1.5405    
   3  Prefactor     .10000E-03    270.48        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    5.8742        .75729E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     30.491        20.368        .72569E-04   -1.4603    
   6  Prefactor     .10000E-03    29.560        .16992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    9.4830        .96226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     31.895        42.822        .70989E-04   -1.4578    
   9  Prefactor     49.302        103.80        .28619E-03   -1.4302    
  10  norm          3.6544        3.7326        .59016E-04   -1.5326    
  11  Prefactor     .10000E-03    15.677        .12376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     24.422        79.449        .81242E-04   -1.4719    
  13  norm          32.311        68.140        .70572E-04   -1.4571    
  14  norm          .10000E-03    4.2932        .64735E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.8353        117.14        .20424E-03   -1.5316    
  16  Prefactor     .10000E-03    88.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.9737        .76357E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          12.534        13.279        .11316E-03   -1.5000    
  19  norm          .10000E-03    6.7130        .80575E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .74985        .27035E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    18.565        .13467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.4356        .65789E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    182.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     99.308        80.677        .40346E-04   -1.3712    
  25  norm          35.969        33.755        .66845E-04   -1.4508    
  26  norm          .10000E-03    44.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0276        .73893        .34469E-03   -.92113    
  28  Prefactor     1.0436        .41258        .21555E-03   -.91290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.27966e-10
Minuit parameter uncertainties:
  1  1.65411e-06
  2  11.9581
  3  0.000930412
  4  5.04807e-06
  5  20.3726
  6  6.15745e-05
  7  6.51423e-06
  8  42.8637
  9  104.18
  10  3.7328
  11  5.78503e-05
  12  79.7966
  13  68.3048
  14  1.57038e-05
  15  42.4824
  16  0.000251934
  17  1.31902e-05
  18  13.2817
  19  7.24193e-06
  20  2.83608e-06
  21  2.48054e-06
  22  1.76907e-07
  23  0.000481723
  24  80.7664
  25  33.7729
  26  2.22199e-06
  27  0.746497
  28  0.413841
Done.

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

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  2.442e+01  7.980e+01  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.263e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  1.134e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  1.044e+00  4.138e-01  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  1.028e+00  7.465e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.16
Ra Dec: 117.348 44.892
Photon Flux Upper Limit: 3.99e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/926740/likelihoodResults_542851201_543110401_4FGL_J0749.3+4453_daily_bin1171.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) = 1023.35959384
delta logL = 0.0132725029719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1023.35519021
delta logL = 0.0176761365092

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.674       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5360       1.0000          .0000       10.000    
     3 'Normalizat'    1.0167       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0473       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+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=   1023.355     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      251 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.685        67.237        .92685E-04   -.31122E-03
   2  Index         2.5350        1.6077        .66759E-02   -.15771E-03
   3  Normalizat    1.0169        .63476        .34632E-03    .21317E-03
   4  Prefactor     1.0470        .39907        .21521E-03    .32733E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.6852
  Index      = 2.53504
  Normalizat = 1.01691
  Prefactor  = 1.04702
 **********
 **   18 **HESSE 
 **********

 FCN=   1023.355     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.685        62.019        .18537E-04   -1.4843    
   2  Index         2.5350        1.4867        .26704E-03   -.51553    
   3  Normalizat    1.0169        .63524        .69265E-04   -.92466    
   4  Prefactor     1.0470        .39918        .43041E-04   -.91178    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90992e-09
Minuit parameter uncertainties:
  1  62.2346
  2  1.51727
  3  0.640061
  4  0.400319
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/926740': 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) = 1023.35518932
delta logL = 0.0176770223512

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  1.869e+01  6.223e+01  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.535e+00  1.517e+00  0.000e+00  1.000e+01 (-1.000e+00)
285        Scale:  1.134e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  1.047e+00  4.003e-01  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  1.017e+00  6.401e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
Ra Dec: 117.348 44.892

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/926740/cmap_HighResolution_542851201_543110401_4FGL_J0749.3+4453_daily_bin1171.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.06e-02', job_status='DONE', photon_flux_upper_limit='3.99e-07', time_completed='2021-08-28 15:32:31.555633', job_id='926740', GAL2='1.05', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1630189951.56', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.77e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='1171' AND source_name='4FGL J0749.3+4453' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:32:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 926740: <4FGL_J0749.3+4453_daily_bin1171> in cluster <slac> Done

Job <4FGL_J0749.3+4453_daily_bin1171> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 15:20:39 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:20:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 15:20:40 2021
Terminated at Sat Aug 28 15:32:33 2021
Results reported at Sat Aug 28 15:32:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.3+4453_daily_bin1171 117.348 44.8918 542851201 543110401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0749.3+4453 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   556.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             224.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            714 sec.

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

