/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 31 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 = 7420
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1751.6+2921_daily_bin17
RA = 267.904, Dec = 29.3582
tmin = 243734401, tmax = 243993601
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='212380', job_status='RUN', time_executed='2021-09-18 17:01:11.206671', time_epoch_executed='1632009671.21' WHERE source_name='4FGL J1751.6+2921' and cadence='daily' and bin_id='17'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/212380

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/212380/ft1_4FGL_J1751.6+2921_daily_bin17.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/212380/ft2_4FGL_J1751.6+2921_daily_bin17.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/212380/ft1_4FGL_J1751.6+2921_daily_bin17.fits outfile=/scratch/kocevski/212380/ft1_filteredMKT_4FGL_J1751.6+2921_daily_bin17.fits ra=267.904 dec=29.3582 rad=12.0 tmin=243734401.0 tmax=243993601.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 1.38
user 1.21
sys 0.16

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/212380/ft2_4FGL_J1751.6+2921_daily_bin17.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/212380/ft2_4FGL_J1751.6+2921_daily_bin17.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/212380/ft1_filteredMKT_4FGL_J1751.6+2921_daily_bin17.fits evtable="EVENTS" outfile="/scratch/kocevski/212380/ft1_filtered_4FGL_J1751.6+2921_daily_bin17.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/212380/ft1_filtered_4FGL_J1751.6+2921_daily_bin17.fits" evtable="EVENTS" scfile=/scratch/kocevski/212380/ft2_4FGL_J1751.6+2921_daily_bin17.fits sctable="SC_DATA" outfile=/scratch/kocevski/212380/ltcube_243734401_243993601_4FGL_J1751.6+2921_daily_bin17.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/212380/ft2_4FGL_J1751.6+2921_daily_bin17.fits
.....................!
real 12.95
user 12.56
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/212380/ft1_filtered_4FGL_J1751.6+2921_daily_bin17.fits evtable="EVENTS" scfile=/scratch/kocevski/212380/ft2_4FGL_J1751.6+2921_daily_bin17.fits sctable="SC_DATA" expcube=/scratch/kocevski/212380/ltcube_243734401_243993601_4FGL_J1751.6+2921_daily_bin17.fits outfile=/scratch/kocevski/212380/expmap_243734401_243993601_4FGL_J1751.6+2921_daily_bin17.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/212380/ltcube_243734401_243993601_4FGL_J1751.6+2921_daily_bin17.fits
.....................!
real 190.60
user 185.07
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
Added 210 point sources and 0 extended sources

Setting source of interest to:
4FGL J1751.6+2921 @ 267.904 29.3582

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/212380/ft1_filtered_4FGL_J1751.6+2921_daily_bin17.fits scfile=/scratch/kocevski/212380/ft2_4FGL_J1751.6+2921_daily_bin17.fits outfile=/scratch/kocevski/212380/cmap_243734401_243993601_4FGL_J1751.6+2921_daily_bin17.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=267.904 yref=29.3582 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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/212380/ft1_filtered_4FGL_J1751.6+2921_daily_bin17.fits scfile=/scratch/kocevski/212380/ft2_4FGL_J1751.6+2921_daily_bin17.fits outfile=/scratch/kocevski/212380/cmap_HighResolution_243734401_243993601_4FGL_J1751.6+2921_daily_bin17.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=267.904 yref=29.3582 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.53
user 0.39
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/212380/ft1_filtered_4FGL_J1751.6+2921_daily_bin17.fits evtable="EVENTS" scfile=/scratch/kocevski/212380/ft2_4FGL_J1751.6+2921_daily_bin17.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/212380/Model_4FGL_J1751.6+2921_daily_bin17.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/212380/ft1_filtered_4FGL_J1751.6+2921_daily_bin17.fits.....................!
real 66.18
user 64.85
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/212380/ft1_filtered_4FGL_J1751.6+2921_daily_bin17.fits', '/scratch/kocevski/212380/ft2_4FGL_J1751.6+2921_daily_bin17.fits', expMap='/scratch/kocevski/212380/expmap_243734401_243993601_4FGL_J1751.6+2921_daily_bin17.fits', expCube='/scratch/kocevski/212380/ltcube_243734401_243993601_4FGL_J1751.6+2921_daily_bin17.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/212380/Model_4FGL_J1751.6+2921_daily_bin17.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1751.6+2921'

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  9.593e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
340        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/212380/ft1_filtered_4FGL_J1751.6+2921_daily_bin17.fits
Spacecraft file(s): /scratch/kocevski/212380/ft2_4FGL_J1751.6+2921_daily_bin17.fits
Exposure map: /scratch/kocevski/212380/expmap_243734401_243993601_4FGL_J1751.6+2921_daily_bin17.fits
Exposure cube: /scratch/kocevski/212380/ltcube_243734401_243993601_4FGL_J1751.6+2921_daily_bin17.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/212380/Model_4FGL_J1751.6+2921_daily_bin17.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) = 7759.68643977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10563E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.699       1.0000         .10000E-03   10000.    
     3 'norm      '    15.165       1.0000         .10000E-03   10000.    
     4 'norm      '    .10865E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13553E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11344E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    36.542       1.0000         .10000E-03   10000.    
     9 'Prefactor '    110.78       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.4808       1.0000         .10000E-03   10000.    
    13 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.3334       1.0000         .10000E-03   10000.    
    18 'norm      '    .10100E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10730E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    26.342       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0859       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .93825       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7759.671     FROM MIGRAD    STATUS=CONVERGED    485 CALLS     2364 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.698        .19882E-05** at limit **
   2  Prefactor     16.728        44.547        .99004E-05    .64141E-05
   3  norm          15.161        7.8987       -.72597E-05   -.38652E-04
   4  norm          .10000E-03    42.850       -.37068E-05** at limit **
   5  Prefactor     .10000E-03    27.556        .24544E-05** at limit **
   6  Prefactor     .10000E-03    294.38        .16442E-05** at limit **
   7  Prefactor     .10000E-03    7.5703        .93906E-07** at limit **
   8  Prefactor     36.594        46.443        .21647E-04    .71886E-05
   9  Prefactor     110.74        49.068       -.13211E-04    .21361E-04
  10  Prefactor     .10000E-03    82.621       -.59505E-05** at limit **
  11  Prefactor     .10000E-03    2.8512       -.14328E-07** at limit **
  12  norm          2.4804        1.7421        .16796E-06    .25827E-03
  13  norm          .10000E-03    84.018        .11257E-04** at limit **
  14  Prefactor     .10000E-03    6.3067       -.53314E-07** at limit **
  15  norm          .10000E-03    3.9319        .45533E-07** at limit **
  16  Prefactor     .10000E-03    1.5184       -.19586E-07** at limit **
  17  Prefactor     6.3331        18.058        .12936E-05   -.15721E-04
  18  norm          .10000E-03    7.0952       -.29275E-07** at limit **
  19  Prefactor     .10000E-03    3.6501       -.80145E-06** at limit **
  20  norm          26.295        35.446        .63046E-05    .47775E-05
  21  Normalizat    1.0858        .22783        .51849E-05   -.79555E-04
  22  Prefactor     .93824        .92853E-01   -.10354E-05    .50977E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 16.7284
  norm       = 15.1609
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.5942
  Prefactor  = 110.737
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 2.48038
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.33309
  norm       = 0.0001
  Prefactor  = 0.000100004
  norm       = 26.2953
  Normalizat = 1.08578
  Prefactor  = 0.938235
 **********
 **   18 **HESSE 
 **********

 FCN=   7759.671     FROM HESSE     STATUS=OK           334 CALLS     2698 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.728        44.572        .98009E-04   -1.4890    
   3  norm          15.161        7.9069        .10285E-03   -1.4929    
   4  norm          .10000E-03    42.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    27.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    301.51        .18159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.5966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     36.594        46.445        .66298E-04   -1.4497    
   9  Prefactor     110.74        49.047        .38217E-04   -1.3599    
  10  Prefactor     .10000E-03    82.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.8616        .14525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.4804        1.7468        .94796E-04   -1.5393    
  13  norm          .10000E-03    84.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.4502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.9457        .17051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.5228        .10596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.3331        18.022        .15950E-03   -1.5205    
  18  norm          .10000E-03    7.0952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.489        .32375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          26.295        35.442        .78053E-04   -1.4682    
  21  Normalizat    1.0858        .26639        .36366E-03   -.90210    
  22  Prefactor     .93824        .10922        .16224E-03   -.94818    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.11865e-10
Minuit parameter uncertainties:
  1  7.728e-06
  2  44.6606
  3  7.9074
  4  3.99318e-06
  5  0.000148276
  6  0.000562745
  7  1.59646e-05
  8  46.4907
  9  49.0645
  10  0.000912116
  11  9.81606e-06
  12  1.74688
  13  4.6975e-06
  14  7.54349e-06
  15  1.28265e-06
  16  5.72301e-07
  17  18.0372
  18  2.62927e-07
  19  0.000493566
  20  35.4706
  21  0.26672
  22  0.109245
Done.

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

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  1.107e+02  4.906e+01  1.000e-04  1.000e+04 ( 1.000e-13)
340        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  9.382e-01  1.092e-01  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  1.086e+00  2.667e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.14
Ra Dec: 267.904 29.358
Photon Index (Fixed Index): 2.62 +/- 0.00
Photon Flux (Fixed Index): 1.47e-07 +/- 6.50e-08
Energy Flux (Fixed Index): 3.79e-05 +/- 1.68e-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) = 7759.07717562
delta logL = 0.593406575059

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7759.07405402
delta logL = 0.596528169174

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    56.214       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2002       1.0000          .0000       10.000    
     3 'Normalizat'    1.0408       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95179       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6990E+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=   7759.074     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      295 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     56.212        70.428        .53503E-04    .13153E-03
   2  Index         3.2003        .78702        .41564E-02    .68678E-03
   3  Normalizat    1.0407        .26540        .37022E-03   -.11374E-03
   4  Prefactor     .95182        .10982        .16121E-03   -.28439E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 56.2116
  Index      = 3.20026
  Normalizat = 1.04075
  Prefactor  = 0.951815
 **********
 **   18 **HESSE 
 **********

 FCN=   7759.074     FROM HESSE     STATUS=OK            25 CALLS      320 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     56.212        57.622        .10701E-04   -1.4207    
   2  Index         3.2003        .64429        .83128E-03   -.36821    
   3  Normalizat    1.0407        .26522        .14809E-04   -.91678    
   4  Prefactor     .95182        .10965        .32241E-04   -.94353    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81276e-10
Minuit parameter uncertainties:
  1  57.6794
  2  0.646352
  3  0.265557
  4  0.109677
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/212380': 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) = 7759.07405393
delta logL = 0.59652826647

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  5.621e+01  5.768e+01  1.000e-04  1.000e+04 ( 1.000e-13)
340        Index:  3.200e+00  6.464e-01  0.000e+00  1.000e+01 (-1.000e+00)
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  9.518e-01  1.097e-01  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  1.041e+00  2.656e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.55
Ra Dec: 267.904 29.358
Photon Index (Free Index): 3.20 +/- 0.65
Photon Flux (Free Index): 1.81e-07 +/- 7.56e-08
Energy Flux (Free Index): 3.32e-05 +/- 1.45e-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/212380/cmap_HighResolution_243734401_243993601_4FGL_J1751.6+2921_daily_bin17.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-07', energy_flux2='3.32e-05', photon_flux_error='6.50e-08', dlogl='5.97e-01', energy_flux='3.79e-05', photon_flux2='1.81e-07', job_status='DONE', time_completed='2021-09-18 17:13:20.334079', photon_index_error2='0.65', photon_index2='3.20', ts='8.14', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='1.45e-05', EG='1.09', time_epoch_completed='1632010400.33', return_code='0', job_id='212380', GAL2='0.95', EG2='1.04', return_code2='0', energy_flux_error='1.68e-05', photon_flux_error2='7.56e-08', ts2='9.55', photon_index='2.62' WHERE bin_id='17' AND source_name='4FGL J1751.6+2921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 17:13:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 212380: <4FGL_J1751.6+2921_daily_bin17> in cluster <slac> Done

Job <4FGL_J1751.6+2921_daily_bin17> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 18 17:00:20 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 17:00:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 18 17:00:21 2021
Terminated at Sat Sep 18 17:13:21 2021
Results reported at Sat Sep 18 17:13:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1751.6+2921_daily_bin17 267.904 29.3582 243734401 243993601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1751.6+2921 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   724.27 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             332.48 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.

