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


Performing analysis on: 4FGL_J1753.7+2847_daily_bin1355
RA = 268.433, Dec = 28.7967
tmin = 590544001, tmax = 590803201
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='279684', job_status='RUN', time_executed='2021-09-18 21:00:46.998823', time_epoch_executed='1632024047.0' WHERE source_name='4FGL J1753.7+2847' and cadence='daily' and bin_id='1355'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/279684

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/279684/ft1_4FGL_J1753.7+2847_daily_bin1355.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/279684/ft2_4FGL_J1753.7+2847_daily_bin1355.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/279684/ft1_4FGL_J1753.7+2847_daily_bin1355.fits outfile=/scratch/kocevski/279684/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin1355.fits ra=268.433 dec=28.7967 rad=12.0 tmin=590544001.0 tmax=590803201.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.20
user 3.98
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/279684/ft2_4FGL_J1753.7+2847_daily_bin1355.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/279684/ft2_4FGL_J1753.7+2847_daily_bin1355.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/279684/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin1355.fits evtable="EVENTS" outfile="/scratch/kocevski/279684/ft1_filtered_4FGL_J1753.7+2847_daily_bin1355.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/279684/ft1_filtered_4FGL_J1753.7+2847_daily_bin1355.fits" evtable="EVENTS" scfile=/scratch/kocevski/279684/ft2_4FGL_J1753.7+2847_daily_bin1355.fits sctable="SC_DATA" outfile=/scratch/kocevski/279684/ltcube_590544001_590803201_4FGL_J1753.7+2847_daily_bin1355.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/279684/ft2_4FGL_J1753.7+2847_daily_bin1355.fits
.....................!
real 12.07
user 11.73
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/279684/ft1_filtered_4FGL_J1753.7+2847_daily_bin1355.fits evtable="EVENTS" scfile=/scratch/kocevski/279684/ft2_4FGL_J1753.7+2847_daily_bin1355.fits sctable="SC_DATA" expcube=/scratch/kocevski/279684/ltcube_590544001_590803201_4FGL_J1753.7+2847_daily_bin1355.fits outfile=/scratch/kocevski/279684/expmap_590544001_590803201_4FGL_J1753.7+2847_daily_bin1355.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/279684/ltcube_590544001_590803201_4FGL_J1753.7+2847_daily_bin1355.fits
.....................!
real 198.05
user 192.91
sys 4.82

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 J1753.7+2847 @ 268.433 28.7967

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/279684/ft1_filtered_4FGL_J1753.7+2847_daily_bin1355.fits scfile=/scratch/kocevski/279684/ft2_4FGL_J1753.7+2847_daily_bin1355.fits outfile=/scratch/kocevski/279684/cmap_590544001_590803201_4FGL_J1753.7+2847_daily_bin1355.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=268.433 yref=28.7967 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/279684/ft1_filtered_4FGL_J1753.7+2847_daily_bin1355.fits scfile=/scratch/kocevski/279684/ft2_4FGL_J1753.7+2847_daily_bin1355.fits outfile=/scratch/kocevski/279684/cmap_HighResolution_590544001_590803201_4FGL_J1753.7+2847_daily_bin1355.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=268.433 yref=28.7967 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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/279684/ft1_filtered_4FGL_J1753.7+2847_daily_bin1355.fits evtable="EVENTS" scfile=/scratch/kocevski/279684/ft2_4FGL_J1753.7+2847_daily_bin1355.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/279684/Model_4FGL_J1753.7+2847_daily_bin1355.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/279684/ft1_filtered_4FGL_J1753.7+2847_daily_bin1355.fits.....................!
real 86.22
user 84.87
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/279684/ft1_filtered_4FGL_J1753.7+2847_daily_bin1355.fits', '/scratch/kocevski/279684/ft2_4FGL_J1753.7+2847_daily_bin1355.fits', expMap='/scratch/kocevski/279684/expmap_590544001_590803201_4FGL_J1753.7+2847_daily_bin1355.fits', expCube='/scratch/kocevski/279684/ltcube_590544001_590803201_4FGL_J1753.7+2847_daily_bin1355.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/279684/Model_4FGL_J1753.7+2847_daily_bin1355.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1753.7+2847'

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  6.812e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.396e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
343        Scale:  1.625e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/279684/ft1_filtered_4FGL_J1753.7+2847_daily_bin1355.fits
Spacecraft file(s): /scratch/kocevski/279684/ft2_4FGL_J1753.7+2847_daily_bin1355.fits
Exposure map: /scratch/kocevski/279684/expmap_590544001_590803201_4FGL_J1753.7+2847_daily_bin1355.fits
Exposure cube: /scratch/kocevski/279684/ltcube_590544001_590803201_4FGL_J1753.7+2847_daily_bin1355.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/279684/Model_4FGL_J1753.7+2847_daily_bin1355.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) = 9621.00005668

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    54.832       1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.689       1.0000         .10000E-03   10000.    
     3 'norm      '    26.271       1.0000         .10000E-03   10000.    
     4 'norm      '    .12614E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11855E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.071       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10636E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.921       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .21128E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.2258       1.0000         .10000E-03   10000.    
    12 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10834E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.8850       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.1909       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.628       1.0000         .10000E-03   10000.    
    20 'norm      '    .10461E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3063       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96134       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9620.987     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     2355 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     54.817        51.999        .95470E-07    .15464E-04
   2  Prefactor     23.699        44.895       -.63393E-07   -.20998E-05
   3  norm          26.268        8.9831       -.91984E-07   -.31972E-04
   4  norm          .10000E-03    168.47       -.57117E-05** at limit **
   5  Prefactor     .10000E-03    67.564       -.37386E-05** at limit **
   6  Prefactor     .10000E-03    232.96        .22596E-05** at limit **
   7  Prefactor     33.071        21.839        .85749E-06    .81573E-04
   8  Prefactor     .10000E-03    41.938        .87790E-06** at limit **
   9  Prefactor     16.924        36.987        .47933E-05    .58590E-04
  10  Prefactor     .10001E-03    264.46       -.28757E-05** at limit **
  11  Prefactor     4.2263        8.2593        .16456E-06    .19477E-04
  12  norm          .10000E-03    .85710       -.77539E-07** at limit **
  13  norm          .10000E-03    33.855       -.27233E-06** at limit **
  14  Prefactor     6.8838        6.0614       -.22733E-06    .15875E-04
  15  norm          .10000E-03    2.6659       -.45378E-08** at limit **
  16  Prefactor     1.1896        7.7258        .33851E-05   -.39044E-04
  17  Prefactor     .10000E-03    7.3641       -.16668E-07** at limit **
  18  norm          .10000E-03    18.091        .31279E-07** at limit **
  19  Prefactor     27.627        12.130       -.17729E-06   -.11401E-05
  20  norm          .10000E-03    37.563       -.16310E-06** at limit **
  21  Normalizat    1.3062        .25812        .21988E-05   -.25536E-05
  22  Prefactor     .96138        .94587E-01   -.78743E-06    .50315E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 54.8174
  Prefactor  = 23.6987
  norm       = 26.2683
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.0715
  Prefactor  = 0.0001
  Prefactor  = 16.9244
  Prefactor  = 0.000100014
  Prefactor  = 4.22633
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.88384
  norm       = 0.0001
  Prefactor  = 1.18956
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 27.6274
  norm       = 0.0001
  Normalizat = 1.30624
  Prefactor  = 0.961381
 **********
 **   18 **HESSE 
 **********

 FCN=   9620.987     FROM HESSE     STATUS=OK           338 CALLS     2693 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     54.817        52.046        .54169E-04   -1.4226    
   2  Prefactor     23.699        44.897        .82300E-04   -1.4734    
   3  norm          26.268        8.9922        .78158E-04   -1.4682    
   4  norm          .10000E-03    170.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    67.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    233.72        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.071        22.071        .69680E-04   -1.4557    
   8  Prefactor     .10000E-03    41.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.924        37.704        .97366E-04   -1.4885    
  10  Prefactor     .10001E-03    267.55        .20179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.2263        8.2489        .19602E-03   -1.5297    
  12  norm          .10000E-03    .86869        .88727E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    33.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.8838        6.0652        .15290E-03   -1.5183    
  15  norm          .10000E-03    2.6716        .15641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.1896        7.7900        .20867E-02   -1.5490    
  17  Prefactor     .10000E-03    7.3727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    18.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     27.627        12.139        .76218E-04   -1.4656    
  20  norm          .10000E-03    37.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3062        .28719        .39477E-03   -.83380    
  22  Prefactor     .96138        .10685        .17577E-03   -.94028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.01756e-09
Minuit parameter uncertainties:
  1  52.0888
  2  44.9609
  3  8.99271
  4  0.000928681
  5  0.000251479
  6  0.000248697
  7  22.0762
  8  4.05033e-05
  9  37.7568
  10  0.00390984
  11  8.25114
  12  4.73677e-06
  13  7.12806e-05
  14  6.06576
  15  1.59514e-06
  16  6.08911
  17  1.19366e-05
  18  5.17874e-06
  19  12.1399
  20  2.16729e-05
  21  0.287542
  22  0.10687
Done.

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

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.000e-04  3.910e-03  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.396e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
343        Scale:  1.625e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  9.614e-01  1.069e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  1.306e+00  2.875e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 268.433 28.797
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/279684/likelihoodResults_590544001_590803201_4FGL_J1753.7+2847_daily_bin1355.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): 102
logL (Free Index) = 9620.98739076
delta logL = -1.76659923454e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9620.98737313
delta logL = -3.20487743011e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10419E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3690       1.0000          .0000       10.000    
     3 'Normalizat'    1.3062       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9620.987     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      247 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    8980.4        .90712E-02** at limit **
   2  Index         2.4624        5.6748        .50000       -.41647E-05
   3  Normalizat    1.3062        .38516E-01    .89144E-01   -.17362E-03
   4  Prefactor     .96138        .15063E-01    .45783E-01   -.36587E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100014
  Index      = 2.46239
  Normalizat = 1.30625
  Prefactor  = 0.961379
 **********
 **   18 **HESSE 
 **********

 FCN=   9620.987     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      278 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    9900.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4624        7.1746        .50000       -.53231    
   3  Normalizat    1.3062        .63727E-01    .39477E-03   -.83380    
   4  Prefactor     .96138        .24977E-01    .17577E-03   -.94028    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.98597e-09
Minuit parameter uncertainties:
  1  0.0402636
  2  39.9079
  3  0.0637309
  4  0.0249774
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/279684': 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): 102
logL (Free Index) = 9620.98737304
delta logL = 5.90916897636e-08

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.000e-04  4.026e-02  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.462e+00  3.991e+01  0.000e+00  1.000e+01 (-1.000e+00)
343        Scale:  1.625e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  9.614e-01  2.498e-02  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  1.306e+00  6.373e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 268.433 28.797

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/279684/cmap_HighResolution_590544001_590803201_4FGL_J1753.7+2847_daily_bin1355.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.39e-03', job_status='DONE', photon_flux_upper_limit='1.22e-07', time_completed='2021-09-18 21:16:17.304079', job_id='279684', GAL2='0.96', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1632024977.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='5.91e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1355' AND source_name='4FGL J1753.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 21:16:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0144>
Subject: Job 279684: <4FGL_J1753.7+2847_daily_bin1355> in cluster <slac> Done

Job <4FGL_J1753.7+2847_daily_bin1355> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Sep 18 21:00:33 2021
Job was executed on host(s) <bullet0144>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 21:00:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 18 21:00:35 2021
Terminated at Sat Sep 18 21:16:17 2021
Results reported at Sat Sep 18 21:16:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.7+2847_daily_bin1355 268.433 28.7967 590544001 590803201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1753.7+2847 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   925.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            944 sec.

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

