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


Performing analysis on: 4FGL_J0749.9+1823_daily_bin799
RA = 117.485, Dec = 18.387
tmin = 446428801, tmax = 446688001
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='934615', job_status='RUN', time_executed='2021-08-28 15:47:51.234759', time_epoch_executed='1630190871.23' WHERE source_name='4FGL J0749.9+1823' and cadence='daily' and bin_id='799'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/934615

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/934615/ft1_4FGL_J0749.9+1823_daily_bin799.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/934615/ft2_4FGL_J0749.9+1823_daily_bin799.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/934615/ft1_4FGL_J0749.9+1823_daily_bin799.fits outfile=/scratch/kocevski/934615/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin799.fits ra=117.485 dec=18.387 rad=12.0 tmin=446428801.0 tmax=446688001.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.46
user 3.22
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/934615/ft2_4FGL_J0749.9+1823_daily_bin799.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/934615/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin799.fits evtable="EVENTS" outfile="/scratch/kocevski/934615/ft1_filtered_4FGL_J0749.9+1823_daily_bin799.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.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/934615/ft1_filtered_4FGL_J0749.9+1823_daily_bin799.fits" evtable="EVENTS" scfile=/scratch/kocevski/934615/ft2_4FGL_J0749.9+1823_daily_bin799.fits sctable="SC_DATA" outfile=/scratch/kocevski/934615/ltcube_446428801_446688001_4FGL_J0749.9+1823_daily_bin799.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/934615/ft2_4FGL_J0749.9+1823_daily_bin799.fits
.....................!
real 12.05
user 11.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/934615/ft1_filtered_4FGL_J0749.9+1823_daily_bin799.fits evtable="EVENTS" scfile=/scratch/kocevski/934615/ft2_4FGL_J0749.9+1823_daily_bin799.fits sctable="SC_DATA" expcube=/scratch/kocevski/934615/ltcube_446428801_446688001_4FGL_J0749.9+1823_daily_bin799.fits outfile=/scratch/kocevski/934615/expmap_446428801_446688001_4FGL_J0749.9+1823_daily_bin799.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/934615/ltcube_446428801_446688001_4FGL_J0749.9+1823_daily_bin799.fits
.....................!
real 190.14
user 185.10
sys 4.65

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/934615/ft1_filtered_4FGL_J0749.9+1823_daily_bin799.fits scfile=/scratch/kocevski/934615/ft2_4FGL_J0749.9+1823_daily_bin799.fits outfile=/scratch/kocevski/934615/cmap_446428801_446688001_4FGL_J0749.9+1823_daily_bin799.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 0.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/934615/ft1_filtered_4FGL_J0749.9+1823_daily_bin799.fits scfile=/scratch/kocevski/934615/ft2_4FGL_J0749.9+1823_daily_bin799.fits outfile=/scratch/kocevski/934615/cmap_HighResolution_446428801_446688001_4FGL_J0749.9+1823_daily_bin799.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 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/934615/ft1_filtered_4FGL_J0749.9+1823_daily_bin799.fits evtable="EVENTS" scfile=/scratch/kocevski/934615/ft2_4FGL_J0749.9+1823_daily_bin799.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/934615/Model_4FGL_J0749.9+1823_daily_bin799.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/934615/ft1_filtered_4FGL_J0749.9+1823_daily_bin799.fits.....................!
real 83.96
user 82.52
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/934615/ft1_filtered_4FGL_J0749.9+1823_daily_bin799.fits', '/scratch/kocevski/934615/ft2_4FGL_J0749.9+1823_daily_bin799.fits', expMap='/scratch/kocevski/934615/expmap_446428801_446688001_4FGL_J0749.9+1823_daily_bin799.fits', expCube='/scratch/kocevski/934615/ltcube_446428801_446688001_4FGL_J0749.9+1823_daily_bin799.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/934615/Model_4FGL_J0749.9+1823_daily_bin799.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/934615/ft1_filtered_4FGL_J0749.9+1823_daily_bin799.fits
Spacecraft file(s): /scratch/kocevski/934615/ft2_4FGL_J0749.9+1823_daily_bin799.fits
Exposure map: /scratch/kocevski/934615/expmap_446428801_446688001_4FGL_J0749.9+1823_daily_bin799.fits
Exposure cube: /scratch/kocevski/934615/ltcube_446428801_446688001_4FGL_J0749.9+1823_daily_bin799.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/934615/Model_4FGL_J0749.9+1823_daily_bin799.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) = 7230.75725021

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    154.66       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.3798       1.0000         .10000E-03   10000.    
     4 'norm      '    .10303E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.5655       1.0000         .10000E-03   10000.    
     7 'norm      '    9.7127       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .18279E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    61.992       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12807E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    132.21       1.0000         .10000E-03   10000.    
    16 'norm      '    68.795       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.962       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.1317       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .69242       1.0000         .10000E-03   10000.    
    21 'norm      '    .61165       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.1641       1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.5136       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0515       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0134       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=   7230.639     FROM MIGRAD    STATUS=CONVERGED    580 CALLS     2995 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     154.64        72.125       -.15961E-05   -.12337E-04
   2  Prefactor     .10000E-03    13.129       -.64155E-06** at limit **
   3  norm          4.3802        10.274       -.41013E-05   -.26795E-04
   4  norm          .10000E-03    .74371        .11337E-06** at limit **
   5  norm          .10000E-03    .87804        .28388E-06** at limit **
   6  Prefactor     6.5674        8.4943       -.59489E-06   -.37789E-03
   7  norm          9.7091        5.9290        .14014E-06    .22893E-03
   8  Prefactor     .10000E-03    120.88        .60562E-05** at limit **
   9  Prefactor     .10000E-03    17.886       -.15804E-05** at limit **
  10  Prefactor     61.998        47.917        .89644E-06   -.36359E-04
  11  Prefactor     .10000E-03    .90846        .15030E-06** at limit **
  12  Prefactor     .10000E-03    130.41       -.62519E-05** at limit **
  13  norm          .10000E-03    8.4908        .12835E-06** at limit **
  14  Prefactor     .10000E-03    5.1389        .15747E-06** at limit **
  15  Prefactor     132.17        101.84       -.57941E-05    .22209E-06
  16  norm          68.810        102.48        .26790E-05    .87155E-06
  17  Prefactor     .10000E-03    15.718        .24750E-05** at limit **
  18  Prefactor     12.962        31.896       -.35600E-06   -.20867E-04
  19  Prefactor     6.1333        13.538        .69559E-08   -.20717E-05
  20  Prefactor     .65761        117.56        .31550E-04   -.11351E-04
  21  norm          .61305        1.0120       -.49257E-06   -.13312E-03
  22  Prefactor     5.1599        11.760       -.40008E-06   -.15833E-04
  23  Prefactor     7.5139        7.7707       -.33105E-07   -.22746E-05
  24  Normalizat    1.0514        .20369       -.88105E-06   -.91042E-04
  25  Prefactor     1.0134        .12952        .52485E-06   -.28976E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 154.641
  Prefactor  = 0.0001
  norm       = 4.3802
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.56737
  norm       = 9.70912
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 61.9979
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 132.166
  norm       = 68.8095
  Prefactor  = 0.0001
  Prefactor  = 12.9625
  Prefactor  = 6.13334
  Prefactor  = 0.657609
  norm       = 0.613048
  Prefactor  = 5.15993
  Prefactor  = 7.51391
  Normalizat = 1.05142
  Prefactor  = 1.01342
 **********
 **   18 **HESSE 
 **********

 FCN=   7230.639     FROM HESSE     STATUS=OK           429 CALLS     3424 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     154.64        72.076        .16208E-03   -1.3214    
   2  Prefactor     .10000E-03    13.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.3802        10.282        .96225E-03   -1.5289    
   4  norm          .10000E-03    1.3178        .14042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.5073        .13948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.5674        7.7089        .15662E-03   -1.5195    
   7  norm          9.7091        5.9320        .12858E-03   -1.5085    
   8  Prefactor     .10000E-03    121.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     61.998        48.026        .50963E-04   -1.4132    
  11  Prefactor     .10000E-03    .91583        .79143E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    132.79        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.5187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.1560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     132.17        101.76        .17510E-03   -1.3404    
  16  norm          68.810        102.62        .48394E-04   -1.4047    
  17  Prefactor     .10000E-03    15.716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.962        31.883        .11126E-03   -1.4988    
  19  Prefactor     6.1333        13.558        .16213E-03   -1.5213    
  20  Prefactor     .65761        118.76        .57659E-02   -1.5546    
  21  norm          .61305        1.0053        .46874E-04   -1.5551    
  22  Prefactor     5.1599        11.749        .17691E-03   -1.5254    
  23  Prefactor     7.5139        7.7657        .14631E-03   -1.5160    
  24  Normalizat    1.0514        .23569        .30860E-03   -.91327    
  25  Prefactor     1.0134        .14880        .20885E-03   -.92283    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33109e-08
Minuit parameter uncertainties:
  1  72.1171
  2  7.84382e-05
  3  10.2866
  4  4.69456e-06
  5  4.27592e-05
  6  7.71004
  7  5.93239
  8  0.000109565
  9  3.05354e-05
  10  48.0563
  11  4.97593e-06
  12  0.00100743
  13  4.28954e-06
  14  1.02148e-05
  15  101.895
  16  102.883
  17  1.35305e-05
  18  31.9247
  19  13.5651
  20  17.7089
  21  1.00534
  22  11.7542
  23  7.76675
  24  0.235928
  25  0.148855
Done.

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

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  6.200e+01  4.806e+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:  1.013e+00  1.489e-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:  1.051e+00  2.359e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.47
Ra Dec: 117.485 18.387
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 6.51e-08 +/- 5.04e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.43e-05

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

Saving results to:
/scratch/kocevski/934615/likelihoodResults_446428801_446688001_4FGL_J0749.9+1823_daily_bin799.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) = 7230.490229
delta logL = 0.148767081664

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7230.46280725
delta logL = 0.176188832226

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    74.611       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0290       1.0000          .0000       10.000    
     3 'Normalizat'    1.0827       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99981       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7230.463     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      251 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     74.626        56.436        .46483E-04   -.13794E-04
   2  Index         2.0293        .66507        .92749E-02   -.14968E-03
   3  Normalizat    1.0828        .21920        .30464E-03    .21794E-04
   4  Prefactor     .99978        .14447        .21005E-03   -.52934E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 74.6256
  Index      = 2.02925
  Normalizat = 1.08279
  Prefactor  = 0.999776
 **********
 **   18 **HESSE 
 **********

 FCN=   7230.463     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     74.626        56.542        .92966E-05   -1.3978    
   2  Index         2.0293        .66603        .18550E-02   -.63621    
   3  Normalizat    1.0828        .21933        .12186E-04   -.90306    
   4  Prefactor     .99978        .14455        .84018E-05   -.92737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81023e-11
Minuit parameter uncertainties:
  1  56.5831
  2  0.669109
  3  0.219511
  4  0.144603
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/934615': 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) = 7230.46280706
delta logL = 0.176189020714

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  7.463e+01  5.658e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.029e+00  6.691e-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.998e-01  1.446e-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:  1.083e+00  2.195e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.80
Ra Dec: 117.485 18.387
Photon Index (Free Index): 2.03 +/- 0.67
Photon Flux (Free Index): 4.30e-08 +/- 4.59e-08
Energy Flux (Free Index): 2.77e-05 +/- 3.10e-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/934615/cmap_HighResolution_446428801_446688001_4FGL_J0749.9+1823_daily_bin799.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.29e-02', comment='SUCCESS', photon_flux='6.51e-08', energy_flux2='2.77e-05', photon_flux_error='5.04e-08', dlogl='1.76e-01', energy_flux='1.85e-05', photon_flux2='4.30e-08', job_status='DONE', time_completed='2021-08-28 16:00:27.545741', photon_index_error2='0.67', photon_index2='2.03', ts='2.47', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.66e-07', energy_flux_error2='3.10e-05', EG='1.05', time_epoch_completed='1630191627.55', return_code='0', job_id='934615', GAL2='1.00', EG2='1.08', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='4.59e-08', ts2='2.80', photon_index='2.52' WHERE bin_id='799' AND source_name='4FGL J0749.9+1823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:00:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 934615: <4FGL_J0749.9+1823_daily_bin799> in cluster <slac> Done

Job <4FGL_J0749.9+1823_daily_bin799> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Aug 28 15:45:28 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:45:29 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:45:29 2021
Terminated at Sat Aug 28 16:00:28 2021
Results reported at Sat Aug 28 16:00:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.9+1823_daily_bin799 117.485 18.387 446428801 446688001 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 :                                   752.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            900 sec.

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

