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


Performing analysis on: 4FGL_J0749.9+1823_daily_bin195
RA = 117.485, Dec = 18.387
tmin = 289872001, tmax = 290131201
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='931110', job_status='RUN', time_executed='2021-08-28 15:36:59.653498', time_epoch_executed='1630190219.65' WHERE source_name='4FGL J0749.9+1823' and cadence='daily' and bin_id='195'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/931110

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/931110/ft1_4FGL_J0749.9+1823_daily_bin195.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/931110/ft2_4FGL_J0749.9+1823_daily_bin195.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/931110/ft1_4FGL_J0749.9+1823_daily_bin195.fits outfile=/scratch/kocevski/931110/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin195.fits ra=117.485 dec=18.387 rad=12.0 tmin=289872001.0 tmax=290131201.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 8.57
user 3.27
sys 5.13

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/931110/ft2_4FGL_J0749.9+1823_daily_bin195.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/931110/ft2_4FGL_J0749.9+1823_daily_bin195.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/931110/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin195.fits evtable="EVENTS" outfile="/scratch/kocevski/931110/ft1_filtered_4FGL_J0749.9+1823_daily_bin195.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 5.94
user 0.32
sys 5.56

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/931110/ft1_filtered_4FGL_J0749.9+1823_daily_bin195.fits" evtable="EVENTS" scfile=/scratch/kocevski/931110/ft2_4FGL_J0749.9+1823_daily_bin195.fits sctable="SC_DATA" outfile=/scratch/kocevski/931110/ltcube_289872001_290131201_4FGL_J0749.9+1823_daily_bin195.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/931110/ft2_4FGL_J0749.9+1823_daily_bin195.fits
.....................!
real 18.04
user 11.66
sys 6.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/931110/ft1_filtered_4FGL_J0749.9+1823_daily_bin195.fits evtable="EVENTS" scfile=/scratch/kocevski/931110/ft2_4FGL_J0749.9+1823_daily_bin195.fits sctable="SC_DATA" expcube=/scratch/kocevski/931110/ltcube_289872001_290131201_4FGL_J0749.9+1823_daily_bin195.fits outfile=/scratch/kocevski/931110/expmap_289872001_290131201_4FGL_J0749.9+1823_daily_bin195.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/931110/ltcube_289872001_290131201_4FGL_J0749.9+1823_daily_bin195.fits
.....................!
real 197.08
user 184.43
sys 11.52

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 Monoceros in ROI with RadialGaussian spatial model.
Added 162 point sources and 1 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 J0749.9+1823 @ 117.485 18.387

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/931110/ft1_filtered_4FGL_J0749.9+1823_daily_bin195.fits scfile=/scratch/kocevski/931110/ft2_4FGL_J0749.9+1823_daily_bin195.fits outfile=/scratch/kocevski/931110/cmap_289872001_290131201_4FGL_J0749.9+1823_daily_bin195.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.485 yref=18.387 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 5.98
user 0.35
sys 5.51

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/931110/ft1_filtered_4FGL_J0749.9+1823_daily_bin195.fits scfile=/scratch/kocevski/931110/ft2_4FGL_J0749.9+1823_daily_bin195.fits outfile=/scratch/kocevski/931110/cmap_HighResolution_289872001_290131201_4FGL_J0749.9+1823_daily_bin195.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.485 yref=18.387 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 5.83
user 0.39
sys 5.36

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/931110/ft1_filtered_4FGL_J0749.9+1823_daily_bin195.fits evtable="EVENTS" scfile=/scratch/kocevski/931110/ft2_4FGL_J0749.9+1823_daily_bin195.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/931110/Model_4FGL_J0749.9+1823_daily_bin195.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 Monoceros
Working on...
/scratch/kocevski/931110/ft1_filtered_4FGL_J0749.9+1823_daily_bin195.fits.....................!
real 93.89
user 84.73
sys 8.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/931110/ft1_filtered_4FGL_J0749.9+1823_daily_bin195.fits', '/scratch/kocevski/931110/ft2_4FGL_J0749.9+1823_daily_bin195.fits', expMap='/scratch/kocevski/931110/expmap_289872001_290131201_4FGL_J0749.9+1823_daily_bin195.fits', expCube='/scratch/kocevski/931110/ltcube_289872001_290131201_4FGL_J0749.9+1823_daily_bin195.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/931110/Model_4FGL_J0749.9+1823_daily_bin195.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0749.9+1823'

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  7.199e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  7.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/931110/ft1_filtered_4FGL_J0749.9+1823_daily_bin195.fits
Spacecraft file(s): /scratch/kocevski/931110/ft2_4FGL_J0749.9+1823_daily_bin195.fits
Exposure map: /scratch/kocevski/931110/expmap_289872001_290131201_4FGL_J0749.9+1823_daily_bin195.fits
Exposure cube: /scratch/kocevski/931110/ltcube_289872001_290131201_4FGL_J0749.9+1823_daily_bin195.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/931110/Model_4FGL_J0749.9+1823_daily_bin195.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) = 7745.44670289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    116.04       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    33.503       1.0000         .10000E-03   10000.    
     4 'norm      '    .48330       1.0000         .10000E-03   10000.    
     5 'norm      '    1.4533       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.2824       1.0000         .10000E-03   10000.    
     7 'norm      '    .32022E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    41.144       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    56.120       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.8660       1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.060       1.0000         .10000E-03   10000.    
    13 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.369       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10597E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    97.710       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10908E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10652E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.076       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.1421       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .97679       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .94173       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7745.437     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2885 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     116.02        56.135       -.62128E-06   -.69892E-04
   2  Prefactor     .10000E-03    4.8163        .13414E-06** at limit **
   3  norm          33.508        14.227       -.25440E-06    .10735E-04
   4  norm          .48501        1.0655       -.38488E-06   -.14224E-03
   5  norm          1.4534        1.2203       -.86625E-06    .45712E-04
   6  Prefactor     5.2860        10.388        .79724E-05   -.71696E-04
   7  norm          .10000E-03    2.0466       -.11836E-05** at limit **
   8  Prefactor     41.100        37.437        .43971E-05   -.25622E-04
   9  Prefactor     .10000E-03    10.489       -.19320E-06** at limit **
  10  Prefactor     56.030        51.299       -.60204E-05   -.36798E-03
  11  Prefactor     1.8664        2.2994       -.65358E-07   -.42288E-04
  12  Prefactor     22.048        22.701        .99235E-06    .59487E-04
  13  norm          .10000E-03    4.1299        .42608E-07** at limit **
  14  Prefactor     14.372        9.8127       -.23335E-06    .14723E-04
  15  Prefactor     .10000E-03    62.401        .37156E-06** at limit **
  16  norm          97.714        88.424        .17107E-06    .94236E-05
  17  Prefactor     .10000E-03    10.027       -.36409E-07** at limit **
  18  Prefactor     .10000E-03    17.394        .44476E-08** at limit **
  19  Prefactor     27.066        17.243       -.44998E-06    .14417E-04
  20  Prefactor     .10000E-03    11.523        .23402E-06** at limit **
  21  norm          2.1426        1.3537       -.42646E-07    .18575E-04
  22  Prefactor     .10000E-03    3.0238        .72352E-07** at limit **
  23  Prefactor     .10000E-03    2.0659        .61424E-07** at limit **
  24  Normalizat    .97670        .19154        .39004E-05    .17074E-03
  25  Prefactor     .94168        .12347       -.15945E-05    .58649E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 116.018
  Prefactor  = 0.0001
  norm       = 33.5081
  norm       = 0.485007
  norm       = 1.45335
  Prefactor  = 5.28602
  norm       = 0.000100002
  Prefactor  = 41.0996
  Prefactor  = 0.0001
  Prefactor  = 56.0304
  Prefactor  = 1.86643
  Prefactor  = 22.048
  norm       = 0.0001
  Prefactor  = 14.3718
  Prefactor  = 0.0001
  norm       = 97.714
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.0655
  Prefactor  = 0.0001
  norm       = 2.14259
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.9767
  Prefactor  = 0.941678
 **********
 **   18 **HESSE 
 **********

 FCN=   7745.437     FROM HESSE     STATUS=OK           427 CALLS     3312 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     116.02        56.164        .37351E-04   -1.3550    
   2  Prefactor     .10000E-03    4.8491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          33.508        14.244        .69230E-04   -1.4550    
   4  norm          .48501        1.3328        .12359E-02   -1.5569    
   5  norm          1.4534        1.2174        .35725E-04   -1.5467    
   6  Prefactor     5.2860        10.290        .87439E-03   -1.5248    
   7  norm          .10000E-03    7.0110        .23124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     41.100        36.822        .62493E-04   -1.4425    
   9  Prefactor     .10000E-03    10.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     56.030        51.664        .26774E-03   -1.4209    
  11  Prefactor     1.8664        2.2787        .14187E-03   -1.5435    
  12  Prefactor     22.048        22.677        .85280E-04   -1.4769    
  13  norm          .10000E-03    4.1309        .17466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.372        9.8113        .10566E-03   -1.4950    
  15  Prefactor     .10000E-03    62.439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          97.714        88.433        .40666E-04   -1.3728    
  17  Prefactor     .10000E-03    10.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    17.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     27.066        17.291        .76990E-04   -1.4667    
  20  Prefactor     .10000E-03    11.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.1426        1.3491        .77969E-04   -1.5415    
  22  Prefactor     .10000E-03    3.0274        .14944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    2.0677        .12353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .97670        .21913        .30531E-03   -.93815    
  25  Prefactor     .94168        .14277        .20860E-03   -.94700    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19895e-08
Minuit parameter uncertainties:
  1  56.1899
  2  8.74622e-06
  3  14.2456
  4  1.33289
  5  1.21743
  6  10.2929
  7  0.000243826
  8  36.8423
  9  1.84343e-05
  10  51.7053
  11  2.27881
  12  22.6862
  13  7.94502e-07
  14  9.81243
  15  0.000215383
  16  88.5522
  17  2.99816e-05
  18  4.65864e-05
  19  17.2946
  20  1.39603e-05
  21  1.3491
  22  4.21859e-06
  23  1.83661e-06
  24  0.219327
  25  0.142824
Done.

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

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  5.603e+01  5.171e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  7.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  9.417e-01  1.428e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  9.767e-01  2.193e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.76
Ra Dec: 117.485 18.387
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 5.88e-08 +/- 5.42e-08
Energy Flux (Fixed Index): 1.67e-05 +/- 1.54e-05

TS (Fixed Index): 1.76
Ra Dec: 117.485 18.387
Photon Flux Upper Limit: 1.60e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.25e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/931110/likelihoodResults_289872001_290131201_4FGL_J0749.9+1823_daily_bin195.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) = 7745.43075255
delta logL = 0.00585615524597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7745.42734011
delta logL = 0.0092685960135

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.471       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6391       1.0000          .0000       10.000    
     3 'Normalizat'    .96965       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94509       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7745.427     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      247 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.471        1065.4        .13975E-02    .21123E-03
   2  Index         2.6391        6.2933        .17440        .97666E-04
   3  Normalizat    .96968        .83275E-01    .69235E-01    .20116E-04
   4  Prefactor     .94507        .45771E-01    .45577E-01    .68209E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.4708
  Index      = 2.63908
  Normalizat = 0.969678
  Prefactor  = 0.94507
 **********
 **   18 **HESSE 
 **********

 FCN=   7745.427     FROM HESSE     STATUS=OK            31 CALLS      278 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.471        63.835        .55901E-04   -1.4272    
   2  Index         2.6391        .97047        .92120E-02   -.49177    
   3  Normalizat    .96968        .21646        .30629E-03   -.94053    
   4  Prefactor     .94507        .14179        .20828E-03   -.94584    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68011e-10
Minuit parameter uncertainties:
  1  63.9197
  2  0.978492
  3  0.216652
  4  0.141846
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/931110': 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) = 7745.4273401
delta logL = 0.00926860351501

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  5.147e+01  6.392e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.639e+00  9.785e-01  0.000e+00  1.000e+01 (-1.000e+00)
258        Scale:  7.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  9.451e-01  1.418e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  9.697e-01  2.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.79
Ra Dec: 117.485 18.387
Photon Index (Free Index): 2.64 +/- 0.98
Photon Flux (Free Index): 6.35e-08 +/- 6.22e-08
Energy Flux (Free Index): 1.61e-05 +/- 1.51e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/931110/cmap_HighResolution_289872001_290131201_4FGL_J0749.9+1823_daily_bin195.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.25e-02', comment='SUCCESS', photon_flux='5.88e-08', energy_flux2='1.61e-05', photon_flux_error='5.42e-08', dlogl='9.27e-03', energy_flux='1.67e-05', photon_flux2='6.35e-08', job_status='DONE', time_completed='2021-08-28 15:51:08.655028', photon_index_error2='0.98', photon_index2='2.64', ts='1.76', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='1.51e-05', EG='0.98', time_epoch_completed='1630191068.66', return_code='0', job_id='931110', GAL2='0.95', EG2='0.97', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='6.22e-08', ts2='1.79', photon_index='2.52' WHERE bin_id='195' AND source_name='4FGL J0749.9+1823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:51:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 931110: <4FGL_J0749.9+1823_daily_bin195> in cluster <slac> Done

Job <4FGL_J0749.9+1823_daily_bin195> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 28 15:35:19 2021
Job was executed on host(s) <bullet0300>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:35:21 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:35:21 2021
Terminated at Sat Aug 28 15:51:12 2021
Results reported at Sat Aug 28 15:51:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.9+1823_daily_bin195 117.485 18.387 289872001 290131201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0749.9+1823 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   928.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            953 sec.

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

