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


Performing analysis on: 4FGL_J0749.9+1823_daily_bin287
RA = 117.485, Dec = 18.387
tmin = 313718401, tmax = 313977601
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='931258', job_status='RUN', time_executed='2021-08-28 15:37:42.418172', time_epoch_executed='1630190262.42' WHERE source_name='4FGL J0749.9+1823' and cadence='daily' and bin_id='287'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/931258

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/931258/ft1_4FGL_J0749.9+1823_daily_bin287.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/931258/ft2_4FGL_J0749.9+1823_daily_bin287.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/931258/ft1_4FGL_J0749.9+1823_daily_bin287.fits outfile=/scratch/kocevski/931258/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin287.fits ra=117.485 dec=18.387 rad=12.0 tmin=313718401.0 tmax=313977601.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 4.29
user 3.10
sys 1.11

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/931258/ft1_filtered_4FGL_J0749.9+1823_daily_bin287.fits" evtable="EVENTS" scfile=/scratch/kocevski/931258/ft2_4FGL_J0749.9+1823_daily_bin287.fits sctable="SC_DATA" outfile=/scratch/kocevski/931258/ltcube_313718401_313977601_4FGL_J0749.9+1823_daily_bin287.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/931258/ft2_4FGL_J0749.9+1823_daily_bin287.fits
.....................!
real 13.04
user 11.67
sys 1.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/931258/ft1_filtered_4FGL_J0749.9+1823_daily_bin287.fits evtable="EVENTS" scfile=/scratch/kocevski/931258/ft2_4FGL_J0749.9+1823_daily_bin287.fits sctable="SC_DATA" expcube=/scratch/kocevski/931258/ltcube_313718401_313977601_4FGL_J0749.9+1823_daily_bin287.fits outfile=/scratch/kocevski/931258/expmap_313718401_313977601_4FGL_J0749.9+1823_daily_bin287.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/931258/ltcube_313718401_313977601_4FGL_J0749.9+1823_daily_bin287.fits
.....................!
real 191.80
user 185.08
sys 6.34

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/931258/ft1_filtered_4FGL_J0749.9+1823_daily_bin287.fits scfile=/scratch/kocevski/931258/ft2_4FGL_J0749.9+1823_daily_bin287.fits outfile=/scratch/kocevski/931258/cmap_313718401_313977601_4FGL_J0749.9+1823_daily_bin287.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 1.47
user 0.37
sys 1.03

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/931258/ft1_filtered_4FGL_J0749.9+1823_daily_bin287.fits scfile=/scratch/kocevski/931258/ft2_4FGL_J0749.9+1823_daily_bin287.fits outfile=/scratch/kocevski/931258/cmap_HighResolution_313718401_313977601_4FGL_J0749.9+1823_daily_bin287.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 1.47
user 0.37
sys 1.03

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.117       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .63396E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    .79188       1.0000         .10000E-03   10000.    
     5 'norm      '    1.0427       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10209E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.8600       1.0000         .10000E-03   10000.    
    10 'Prefactor '    93.301       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .87426       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    9.4472       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.4607       1.0000         .10000E-03   10000.    
    15 'Prefactor '    31.315       1.0000         .10000E-03   10000.    
    16 'norm      '    116.96       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.7286       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.5204       1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.4726       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.7764       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2018       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .89718       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=   6476.931     FROM MIGRAD    STATUS=CONVERGED    564 CALLS     2909 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.101        33.793       -.59132E-06    .23473E-04
   2  Prefactor     .10000E-03    19.047        .11898E-06** at limit **
   3  norm          .10000E-03    32.988       -.21673E-04** at limit **
   4  norm          .79185        1.0577        .24400E-06    .12597E-02
   5  norm          1.0426        .94535        .50433E-08   -.11335E-03
   6  Prefactor     .10000E-03    8.4354        .40504E-06** at limit **
   7  norm          .10000E-03    2.4952        .18877E-06** at limit **
   8  Prefactor     .10000E-03    80.329        .58348E-06** at limit **
   9  Prefactor     6.8600        14.550       -.57441E-06   -.30723E-05
  10  Prefactor     93.296        53.381        .43299E-06    .78872E-04
  11  Prefactor     .87408        2.3158       -.27250E-05    .66398E-04
  12  Prefactor     .10000E-03    38.216       -.37296E-06** at limit **
  13  norm          9.4463        13.379        .39789E-06    .99738E-04
  14  Prefactor     8.4606        8.2656        .36758E-06    .17730E-03
  15  Prefactor     31.536        102.75       -.47692E-06   -.33499E-04
  16  norm          116.95        94.825        .17612E-06    .14041E-04
  17  Prefactor     9.7292        31.056       -.39775E-06    .57812E-05
  18  Prefactor     .10000E-03    35.489        .10804E-06** at limit **
  19  Prefactor     .10000E-03    4.4556       -.83111E-08** at limit **
  20  Prefactor     .10000E-03    14.718        .19989E-06** at limit **
  21  norm          1.5204        1.1648       -.67643E-08    .10509E-03
  22  Prefactor     4.4734        9.6589       -.41085E-06    .44282E-04
  23  Prefactor     5.7762        7.0997       -.12934E-06    .52499E-04
  24  Normalizat    1.2015        .19918        .29457E-06    .16292E-03
  25  Prefactor     .89747        .13056       -.23080E-06    .29916E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.1008
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.791849
  norm       = 1.04264
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.85999
  Prefactor  = 93.2963
  Prefactor  = 0.874077
  Prefactor  = 0.0001
  norm       = 9.44626
  Prefactor  = 8.46059
  Prefactor  = 31.5363
  norm       = 116.947
  Prefactor  = 9.72917
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.52039
  Prefactor  = 4.47336
  Prefactor  = 5.77624
  Normalizat = 1.2015
  Prefactor  = 0.897466
 **********
 **   18 **HESSE 
 **********

 FCN=   6476.931     FROM HESSE     STATUS=OK           433 CALLS     3342 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.101        33.803        .99764E-04   -1.4905    
   2  Prefactor     .10000E-03    19.554        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    32.388        .33741E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .79185        .94493        .91850E-03   -1.5530    
   5  norm          1.0426        .98867        .72034E-03   -1.5504    
   6  Prefactor     .10000E-03    8.5307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.5302        .12384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    81.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.8600        14.537        .15318E-03   -1.5184    
  10  Prefactor     93.296        53.602        .41606E-04   -1.3773    
  11  Prefactor     .87408        2.3101        .19311E-03   -1.5521    
  12  Prefactor     .10000E-03    38.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          9.4463        13.373        .13038E-03   -1.5093    
  14  Prefactor     8.4606        8.2692        .13782E-03   -1.5126    
  15  Prefactor     31.536        102.48        .35801E-03   -1.4584    
  16  norm          116.95        94.827        .18602E-03   -1.3541    
  17  Prefactor     9.7292        31.076        .12848E-03   -1.5084    
  18  Prefactor     .10000E-03    35.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.4597        .16591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    14.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.5204        1.1597        .72376E-04   -1.5461    
  22  Prefactor     4.4734        9.6484        .19039E-03   -1.5285    
  23  Prefactor     5.7762        7.0917        .16711E-03   -1.5227    
  24  Normalizat    1.2015        .23212        .27577E-03   -.86557    
  25  Prefactor     .89747        .15140        .21291E-03   -.96230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63935e-10
Minuit parameter uncertainties:
  1  33.8433
  2  9.34315e-05
  3  7.54122e-05
  4  0.944944
  5  0.988688
  6  1.59025e-05
  7  1.78425e-06
  8  0.000150344
  9  14.5445
  10  53.6298
  11  2.31031
  12  0.000140832
  13  13.3776
  14  8.27027
  15  103.063
  16  94.9503
  17  31.1278
  18  7.26111e-06
  19  1.23233e-06
  20  4.81653e-06
  21  1.15968
  22  9.65176
  23  7.09271
  24  0.232319
  25  0.151475
Done.

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

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  9.330e+01  5.363e+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:  8.975e-01  1.515e-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.201e+00  2.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.55
Ra Dec: 117.485 18.387
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 9.80e-08 +/- 5.63e-08
Energy Flux (Fixed Index): 2.78e-05 +/- 1.60e-05

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) = 6476.25088357
delta logL = 0.6797925752

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6476.23868334
delta logL = 0.691992805983

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.877       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3718       1.0000          .0000       10.000    
     3 'Normalizat'    1.1328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93046       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=   6476.239     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      302 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.844        96.340        .63475E-04   -.22746E-04
   2  Index         3.3728        1.5684        .44351E-02   -.57157E-04
   3  Normalizat    1.1323        .23490        .28262E-03    .58266E-03
   4  Prefactor     .93070        .15604        .20959E-03    .23951E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.844
  Index      = 3.37276
  Normalizat = 1.13225
  Prefactor  = 0.930702
 **********
 **   18 **HESSE 
 **********

 FCN=   6476.239     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.844        56.669        .25390E-05   -1.4445    
   2  Index         3.3728        .93045        .17741E-03   -.33149    
   3  Normalizat    1.1323        .23052        .56525E-04   -.88723    
   4  Prefactor     .93070        .15262        .41919E-04   -.95076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41964e-09
Minuit parameter uncertainties:
  1  56.7454
  2  0.936563
  3  0.230722
  4  0.152695
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/931258': 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) = 6476.2386802
delta logL = 0.691995937919

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  3.984e+01  5.675e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  3.373e+00  9.366e-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.307e-01  1.527e-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.132e+00  2.307e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.20
Ra Dec: 117.485 18.387
Photon Index (Free Index): 3.37 +/- 0.94
Photon Flux (Free Index): 1.49e-07 +/- 7.65e-08
Energy Flux (Free Index): 2.57e-05 +/- 1.31e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/931258/cmap_HighResolution_313718401_313977601_4FGL_J0749.9+1823_daily_bin287.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.80e-08', energy_flux2='2.57e-05', photon_flux_error='5.63e-08', dlogl='6.92e-01', energy_flux='2.78e-05', photon_flux2='1.49e-07', job_status='DONE', time_completed='2021-08-28 15:48:32.620540', photon_index_error2='0.94', photon_index2='3.37', ts='4.55', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.31e-05', EG='1.20', time_epoch_completed='1630190912.62', return_code='0', job_id='931258', GAL2='0.93', EG2='1.13', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='7.65e-08', ts2='6.20', photon_index='2.52' WHERE bin_id='287' AND source_name='4FGL J0749.9+1823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:48:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0024>
Subject: Job 931258: <4FGL_J0749.9+1823_daily_bin287> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.9+1823_daily_bin287 117.485 18.387 313718401 313977601 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 :                                   661.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            781 sec.

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

