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


Performing analysis on: 4FGL_J1751.6+2921_daily_bin564
RA = 267.904, Dec = 29.3582
tmin = 385516801, tmax = 385776001
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='217450', job_status='RUN', time_executed='2021-09-18 17:15:40.393118', time_epoch_executed='1632010540.39' WHERE source_name='4FGL J1751.6+2921' and cadence='daily' and bin_id='564'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217450

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217450/ft1_4FGL_J1751.6+2921_daily_bin564.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217450/ft2_4FGL_J1751.6+2921_daily_bin564.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217450/ft1_4FGL_J1751.6+2921_daily_bin564.fits outfile=/scratch/kocevski/217450/ft1_filteredMKT_4FGL_J1751.6+2921_daily_bin564.fits ra=267.904 dec=29.3582 rad=12.0 tmin=385516801.0 tmax=385776001.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.56
user 4.32
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217450/ft2_4FGL_J1751.6+2921_daily_bin564.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/217450/ft1_filteredMKT_4FGL_J1751.6+2921_daily_bin564.fits evtable="EVENTS" outfile="/scratch/kocevski/217450/ft1_filtered_4FGL_J1751.6+2921_daily_bin564.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.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217450/ft1_filtered_4FGL_J1751.6+2921_daily_bin564.fits" evtable="EVENTS" scfile=/scratch/kocevski/217450/ft2_4FGL_J1751.6+2921_daily_bin564.fits sctable="SC_DATA" outfile=/scratch/kocevski/217450/ltcube_385516801_385776001_4FGL_J1751.6+2921_daily_bin564.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/217450/ft2_4FGL_J1751.6+2921_daily_bin564.fits
.....................!
real 11.89
user 11.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217450/ft1_filtered_4FGL_J1751.6+2921_daily_bin564.fits evtable="EVENTS" scfile=/scratch/kocevski/217450/ft2_4FGL_J1751.6+2921_daily_bin564.fits sctable="SC_DATA" expcube=/scratch/kocevski/217450/ltcube_385516801_385776001_4FGL_J1751.6+2921_daily_bin564.fits outfile=/scratch/kocevski/217450/expmap_385516801_385776001_4FGL_J1751.6+2921_daily_bin564.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/217450/ltcube_385516801_385776001_4FGL_J1751.6+2921_daily_bin564.fits
.....................!
real 190.34
user 185.77
sys 4.20

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/217450/ft1_filtered_4FGL_J1751.6+2921_daily_bin564.fits scfile=/scratch/kocevski/217450/ft2_4FGL_J1751.6+2921_daily_bin564.fits outfile=/scratch/kocevski/217450/cmap_385516801_385776001_4FGL_J1751.6+2921_daily_bin564.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217450/ft1_filtered_4FGL_J1751.6+2921_daily_bin564.fits scfile=/scratch/kocevski/217450/ft2_4FGL_J1751.6+2921_daily_bin564.fits outfile=/scratch/kocevski/217450/cmap_HighResolution_385516801_385776001_4FGL_J1751.6+2921_daily_bin564.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217450/ft1_filtered_4FGL_J1751.6+2921_daily_bin564.fits evtable="EVENTS" scfile=/scratch/kocevski/217450/ft2_4FGL_J1751.6+2921_daily_bin564.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217450/Model_4FGL_J1751.6+2921_daily_bin564.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/217450/ft1_filtered_4FGL_J1751.6+2921_daily_bin564.fits.....................!
real 78.70
user 77.29
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/217450/ft1_filtered_4FGL_J1751.6+2921_daily_bin564.fits', '/scratch/kocevski/217450/ft2_4FGL_J1751.6+2921_daily_bin564.fits', expMap='/scratch/kocevski/217450/expmap_385516801_385776001_4FGL_J1751.6+2921_daily_bin564.fits', expCube='/scratch/kocevski/217450/ltcube_385516801_385776001_4FGL_J1751.6+2921_daily_bin564.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/217450/Model_4FGL_J1751.6+2921_daily_bin564.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/217450/ft1_filtered_4FGL_J1751.6+2921_daily_bin564.fits
Spacecraft file(s): /scratch/kocevski/217450/ft2_4FGL_J1751.6+2921_daily_bin564.fits
Exposure map: /scratch/kocevski/217450/expmap_385516801_385776001_4FGL_J1751.6+2921_daily_bin564.fits
Exposure cube: /scratch/kocevski/217450/ltcube_385516801_385776001_4FGL_J1751.6+2921_daily_bin564.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/217450/Model_4FGL_J1751.6+2921_daily_bin564.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) = 9356.76130312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4189       1.0000         .10000E-03   10000.    
     2 'Prefactor '    27.955       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.043       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.238       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.5692       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.571       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.6822       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10207E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.489       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.8653       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .85680       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98219       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=   9356.760     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2343 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4204        50.990        .98498E-06    .91516E-05
   2  Prefactor     27.956        26.800        .15541E-06    .30850E-04
   3  norm          .10000E-03    1.5815        .49290E-07** at limit **
   4  norm          .10000E-03    29.717        .22461E-05** at limit **
   5  Prefactor     36.047        52.620        .87012E-06    .48740E-04
   6  Prefactor     17.233        55.337       -.14904E-05   -.36563E-04
   7  Prefactor     2.5695        16.161        .84442E-06   -.24107E-05
   8  Prefactor     .10000E-03    14.626        .89212E-06** at limit **
   9  Prefactor     10.571        26.276        .65722E-06    .12094E-04
  10  Prefactor     .10000E-03    30.153        .23549E-05** at limit **
  11  Prefactor     .10000E-03    3.0282        .38454E-07** at limit **
  12  norm          1.6822        1.3733       -.21792E-08    .77382E-04
  13  norm          .10000E-03    40.629       -.27142E-05** at limit **
  14  Prefactor     .10000E-03    1.3404       -.21848E-07** at limit **
  15  norm          .10000E-03    3.5405       -.40768E-07** at limit **
  16  Prefactor     .10013E-03    2.2777       -.58599E-06** at limit **
  17  Prefactor     15.471        18.551       -.59686E-06   -.73865E-04
  18  norm          .10000E-03    22.117       -.25597E-05** at limit **
  19  Prefactor     7.8643        7.8166        .22351E-05   -.44821E-03
  20  norm          .10000E-03    13.157       -.44737E-06** at limit **
  21  Normalizat    .85669        .19816       -.14755E-06    .80912E-04
  22  Prefactor     .98221        .83148E-01   -.13655E-06    .23545E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.4204
  Prefactor  = 27.9563
  norm       = 0.0001
  norm       = 0.000100003
  Prefactor  = 36.047
  Prefactor  = 17.2329
  Prefactor  = 2.56947
  Prefactor  = 0.0001
  Prefactor  = 10.5705
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 1.68217
  norm       = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100126
  Prefactor  = 15.4713
  norm       = 0.000100003
  Prefactor  = 7.86429
  norm       = 0.0001
  Normalizat = 0.856688
  Prefactor  = 0.982212
 **********
 **   18 **HESSE 
 **********

 FCN=   9356.760     FROM HESSE     STATUS=OK           340 CALLS     2683 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4204        50.983        .19158E-03   -1.5287    
   2  Prefactor     27.956        26.822        .75772E-04   -1.4650    
   3  norm          .10000E-03    1.5853        .11869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    30.411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     36.047        52.835        .66754E-04   -1.4506    
   6  Prefactor     17.233        55.543        .96467E-04   -1.4877    
   7  Prefactor     2.5695        16.093        .25466E-03   -1.5387    
   8  Prefactor     .10000E-03    14.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.571        26.250        .12323E-03   -1.5058    
  10  Prefactor     .10000E-03    30.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.0626        .16437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.6822        1.3697        .99166E-04   -1.5449    
  13  norm          .10000E-03    41.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.3444        .10935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.5580        .17772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10013E-03    26.339        .26471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     15.471        18.096        .10177E-03   -1.4921    
  18  norm          .10000E-03    23.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.8643        8.0756        .71487E-03   -1.5147    
  20  norm          .10000E-03    13.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .85669        .22360        .37529E-03   -.97999    
  22  Prefactor     .98221        .94594E-01    .15344E-03   -.93325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.27811e-09
Minuit parameter uncertainties:
  1  30.0564
  2  26.8334
  3  1.60158e-06
  4  0.000553563
  5  52.9034
  6  55.7104
  7  12.8658
  8  0.000151326
  9  26.2788
  10  0.000583178
  11  1.94983e-06
  12  1.36975
  13  0.000777371
  14  5.57037e-07
  15  5.11697e-06
  16  0.00364029
  17  18.1026
  18  0.000535721
  19  8.07671
  20  7.30514e-05
  21  0.223844
  22  0.0946101
Done.

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

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  1.057e+01  2.628e+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.822e-01  9.461e-02  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:  8.567e-01  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.19
Ra Dec: 267.904 29.358
Photon Flux Upper Limit: 9.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/217450/likelihoodResults_385516801_385776001_4FGL_J1751.6+2921_daily_bin564.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) = 9356.74291046
delta logL = 0.0169119162547

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9356.73808338
delta logL = 0.0217389892096

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.526       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3102       1.0000          .0000       10.000    
     3 'Normalizat'    .86081       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98094       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=   9356.738     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      269 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.524        31.712        .10891E-03    .40294E-04
   2  Index         2.3123        1.3170        .91172E-02    .35620E-04
   3  Normalizat    .86041        .21408        .37453E-03   -.27665E-03
   4  Prefactor     .98105        .93426E-01    .15352E-03   -.65142E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.5237
  Index      = 2.31227
  Normalizat = 0.860407
  Prefactor  = 0.981049
 **********
 **   18 **HESSE 
 **********

 FCN=   9356.738     FROM HESSE     STATUS=OK            23 CALLS      292 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.524        31.412        .43563E-05   -1.4972    
   2  Index         2.3123        1.3052        .36469E-03   -.56752    
   3  Normalizat    .86041        .21419        .14981E-04   -.97866    
   4  Prefactor     .98105        .93468E-01    .30703E-04   -.93364    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8304e-10
Minuit parameter uncertainties:
  1  31.4504
  2  1.327
  3  0.214398
  4  0.0934832
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217450': 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) = 9356.73808032
delta logL = 0.0217420514946

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  1.352e+01  3.145e+01  1.000e-04  1.000e+04 ( 1.000e-13)
340        Index:  2.312e+00  1.327e+00  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.810e-01  9.348e-02  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:  8.604e-01  2.144e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
Ra Dec: 267.904 29.358

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/217450/cmap_HighResolution_385516801_385776001_4FGL_J1751.6+2921_daily_bin564.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.76e-03', job_status='DONE', photon_flux_upper_limit='9.91e-08', time_completed='2021-09-18 17:30:51.437302', job_id='217450', GAL2='0.98', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1632011451.44', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.17e-02', ts2='0.23', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='564' AND source_name='4FGL J1751.6+2921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 17:30:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 217450: <4FGL_J1751.6+2921_daily_bin564> in cluster <slac> Done

Job <4FGL_J1751.6+2921_daily_bin564> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Sep 18 17:15:28 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 17:15:30 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:15:30 2021
Terminated at Sat Sep 18 17:30:51 2021
Results reported at Sat Sep 18 17:30:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1751.6+2921_daily_bin564 267.904 29.3582 385516801 385776001 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 :                                   907.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            923 sec.

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

