/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 70 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 = 7431
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0749.9+1823_daily_bin78
RA = 117.485, Dec = 18.387
tmin = 259545601, tmax = 259804801
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='929587', job_status='RUN', time_executed='2021-08-28 15:32:58.229989', time_epoch_executed='1630189978.23' WHERE source_name='4FGL J0749.9+1823' and cadence='daily' and bin_id='78'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/929587

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/929587/ft1_4FGL_J0749.9+1823_daily_bin78.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/929587/ft2_4FGL_J0749.9+1823_daily_bin78.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/929587/ft1_4FGL_J0749.9+1823_daily_bin78.fits outfile=/scratch/kocevski/929587/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin78.fits ra=117.485 dec=18.387 rad=12.0 tmin=259545601.0 tmax=259804801.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 5.59
user 1.48
sys 4.06

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/929587/ft2_4FGL_J0749.9+1823_daily_bin78.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/929587/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin78.fits evtable="EVENTS" outfile="/scratch/kocevski/929587/ft1_filtered_4FGL_J0749.9+1823_daily_bin78.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 4.47
user 0.31
sys 4.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/929587/ft1_filtered_4FGL_J0749.9+1823_daily_bin78.fits" evtable="EVENTS" scfile=/scratch/kocevski/929587/ft2_4FGL_J0749.9+1823_daily_bin78.fits sctable="SC_DATA" outfile=/scratch/kocevski/929587/ltcube_259545601_259804801_4FGL_J0749.9+1823_daily_bin78.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/929587/ft2_4FGL_J0749.9+1823_daily_bin78.fits
.....................!
real 17.02
user 12.03
sys 4.90

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/929587/ft1_filtered_4FGL_J0749.9+1823_daily_bin78.fits evtable="EVENTS" scfile=/scratch/kocevski/929587/ft2_4FGL_J0749.9+1823_daily_bin78.fits sctable="SC_DATA" expcube=/scratch/kocevski/929587/ltcube_259545601_259804801_4FGL_J0749.9+1823_daily_bin78.fits outfile=/scratch/kocevski/929587/expmap_259545601_259804801_4FGL_J0749.9+1823_daily_bin78.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/929587/ltcube_259545601_259804801_4FGL_J0749.9+1823_daily_bin78.fits
.....................!
real 195.40
user 185.66
sys 9.36

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/929587/ft1_filtered_4FGL_J0749.9+1823_daily_bin78.fits scfile=/scratch/kocevski/929587/ft2_4FGL_J0749.9+1823_daily_bin78.fits outfile=/scratch/kocevski/929587/cmap_259545601_259804801_4FGL_J0749.9+1823_daily_bin78.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 4.39
user 0.37
sys 3.98

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/929587/ft1_filtered_4FGL_J0749.9+1823_daily_bin78.fits scfile=/scratch/kocevski/929587/ft2_4FGL_J0749.9+1823_daily_bin78.fits outfile=/scratch/kocevski/929587/cmap_HighResolution_259545601_259804801_4FGL_J0749.9+1823_daily_bin78.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 4.02
user 0.37
sys 3.61

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    73.965       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.964       1.0000         .10000E-03   10000.    
     3 'norm      '    29.134       1.0000         .10000E-03   10000.    
     4 'norm      '    2.6459       1.0000         .10000E-03   10000.    
     5 'norm      '    2.5730       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .30348       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    83.916       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11522E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.282       1.0000         .10000E-03   10000.    
    13 'norm      '    15.470       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.614       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10654E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .16696E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.1231       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.5767       1.0000         .10000E-03   10000.    
    20 'Prefactor '    24.000       1.0000         .10000E-03   10000.    
    21 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.6271       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .94218       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0045       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=   6440.873     FROM MIGRAD    STATUS=CONVERGED    603 CALLS     2999 TOTAL
                     EDM=   .34E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     73.960        47.515       -.19620E-05   -.10449E-05
   2  Prefactor     13.963        10.572        .46738E-06    .21468E-05
   3  norm          29.132        12.819       -.25254E-05   -.13813E-04
   4  norm          2.6457        1.4527       -.43516E-08    .17492E-04
   5  norm          2.5732        1.5916       -.82317E-07   -.24435E-04
   6  Prefactor     .10000E-03    9.2194        .15599E-07** at limit **
   7  norm          .30348        2.3500        .33291E-06   -.10465E-03
   8  Prefactor     .10000E-03    22.110        .67601E-07** at limit **
   9  Prefactor     .10000E-03    17.712       -.19692E-06** at limit **
  10  Prefactor     83.922        44.867        .16353E-05   -.23072E-06
  11  Prefactor     .10000E-03    1.4065       -.35472E-07** at limit **
  12  Prefactor     13.274        38.745       -.41970E-05   -.28909E-04
  13  norm          15.469        18.703       -.50800E-06    .16359E-05
  14  Prefactor     15.613        11.886       -.22820E-06    .51190E-05
  15  Prefactor     .10000E-03    128.51        .57004E-06** at limit **
  16  norm          .10000E-03    196.98       -.21543E-05** at limit **
  17  Prefactor     .10000E-03    9.9450        .92404E-07** at limit **
  18  Prefactor     8.1219        35.011       -.11884E-06   -.18715E-05
  19  Prefactor     1.5777        2.8121        .16745E-06   -.30606E-03
  20  Prefactor     23.999        22.061       -.64429E-07   -.19519E-04
  21  norm          .10000E-03    .66213        .40800E-08** at limit **
  22  Prefactor     .10000E-03    3.1057       -.35806E-09** at limit **
  23  Prefactor     3.6271        6.7053       -.47200E-06   -.18982E-04
  24  Normalizat    .94208        .19814       -.11988E-06   -.18871E-04
  25  Prefactor     1.0046        .13507        .54023E-06   -.78903E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 73.9605
  Prefactor  = 13.9633
  norm       = 29.1318
  norm       = 2.64572
  norm       = 2.57323
  Prefactor  = 0.0001
  norm       = 0.303478
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 83.9217
  Prefactor  = 0.0001
  Prefactor  = 13.2735
  norm       = 15.469
  Prefactor  = 15.6127
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.12192
  Prefactor  = 1.57768
  Prefactor  = 23.9989
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.62705
  Normalizat = 0.942076
  Prefactor  = 1.00457
 **********
 **   18 **HESSE 
 **********

 FCN=   6440.873     FROM HESSE     STATUS=OK           435 CALLS     3434 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     73.960        47.496        .46684E-04   -1.3986    
   2  Prefactor     13.963        10.577        .10719E-03   -1.4960    
   3  norm          29.132        12.797        .74226E-04   -1.4628    
   4  norm          2.6457        1.4498        .68197E-04   -1.5383    
   5  norm          2.5732        1.5819        .76193E-04   -1.5387    
   6  Prefactor     .10000E-03    9.3670        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .30348        15.214        .21291E-02   -1.5598    
   8  Prefactor     .10000E-03    22.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     83.922        44.951        .43851E-04   -1.3873    
  11  Prefactor     .10000E-03    5.0439        .18179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.274        40.372        .10991E-03   -1.4979    
  13  norm          15.469        18.687        .10183E-03   -1.4921    
  14  Prefactor     15.613        11.882        .10136E-03   -1.4918    
  15  Prefactor     .10000E-03    129.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    197.70        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.9477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.1219        35.004        .14067E-03   -1.5138    
  19  Prefactor     1.5777        29.527        .16918E-02   -1.5457    
  20  Prefactor     23.999        21.450        .40883E-03   -1.4728    
  21  norm          .10000E-03    1.1272        .12267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.1136        .13811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.6271        6.6995        .21214E-03   -1.5327    
  24  Normalizat    .94208        .23227        .29927E-03   -.94997    
  25  Prefactor     1.0046        .15673        .20610E-03   -.92577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81693e-08
Minuit parameter uncertainties:
  1  47.5205
  2  10.5781
  3  12.7983
  4  1.44977
  5  1.58193
  6  1.3235e-05
  7  4.29793
  8  3.58199e-05
  9  6.37221e-06
  10  44.9696
  11  6.54246e-07
  12  40.4548
  13  18.6945
  14  11.8839
  15  2.7659e-05
  16  9.91321e-05
  17  2.54996e-07
  18  33.7554
  19  13.658
  20  21.4573
  21  2.59648e-06
  22  1.01951e-07
  23  6.70085
  24  0.23252
  25  0.156805
Done.

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

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  8.392e+01  4.497e+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.005e+00  1.568e-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.421e-01  2.325e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.38
Ra Dec: 117.485 18.387
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 8.81e-08 +/- 4.72e-08
Energy Flux (Fixed Index): 2.50e-05 +/- 1.34e-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) = 6440.76629563
delta logL = 0.106542229667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6440.76581693
delta logL = 0.107020923652

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    101.61       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2883       1.0000          .0000       10.000    
     3 'Normalizat'    .95752       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99618       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=   6440.766     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      298 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     101.59        63.917        .39886E-04    .32265E-04
   2  Index         2.2881        .48813        .63328E-02    .23842E-03
   3  Normalizat    .95754        .21822        .29715E-03   -.36346E-05
   4  Prefactor     .99619        .15364        .20684E-03    .74529E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 101.591
  Index      = 2.28807
  Normalizat = 0.957541
  Prefactor  = 0.996188
 **********
 **   18 **HESSE 
 **********

 FCN=   6440.766     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     101.59        62.778        .79772E-05   -1.3689    
   2  Index         2.2881        .47924        .12666E-02   -.57328    
   3  Normalizat    .95754        .21830        .11886E-04   -.94467    
   4  Prefactor     .99619        .15370        .82738E-05   -.92857    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07167e-11
Minuit parameter uncertainties:
  1  62.8189
  2  0.480288
  3  0.218498
  4  0.153763
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/929587': 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) = 6440.76581668
delta logL = 0.107021173731

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  1.016e+02  6.282e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.288e+00  4.803e-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.962e-01  1.538e-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.575e-01  2.185e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.55
Ra Dec: 117.485 18.387
Photon Index (Free Index): 2.29 +/- 0.48
Photon Flux (Free Index): 7.87e-08 +/- 4.80e-08
Energy Flux (Free Index): 3.04e-05 +/- 2.19e-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/929587/cmap_HighResolution_259545601_259804801_4FGL_J0749.9+1823_daily_bin78.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.81e-08', energy_flux2='3.04e-05', photon_flux_error='4.72e-08', dlogl='1.07e-01', energy_flux='2.50e-05', photon_flux2='7.87e-08', job_status='DONE', time_completed='2021-08-28 15:44:26.503992', photon_index_error2='0.48', photon_index2='2.29', ts='6.38', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='2.19e-05', EG='0.94', time_epoch_completed='1630190666.5', return_code='0', job_id='929587', GAL2='1.00', EG2='0.96', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='4.80e-08', ts2='6.55', photon_index='2.52' WHERE bin_id='78' AND source_name='4FGL J0749.9+1823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:44:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0144>
Subject: Job 929587: <4FGL_J0749.9+1823_daily_bin78> in cluster <slac> Done

Job <4FGL_J0749.9+1823_daily_bin78> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 15:30:25 2021
Job was executed on host(s) <bullet0144>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:30:26 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:30:26 2021
Terminated at Sat Aug 28 15:44:27 2021
Results reported at Sat Aug 28 15:44:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.9+1823_daily_bin78 117.485 18.387 259545601 259804801 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 :                                   748.48 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             310.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            842 sec.

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

