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


Performing analysis on: 4FGL_J1753.7+2847_daily_bin1501
RA = 268.433, Dec = 28.7967
tmin = 628387201, tmax = 628646401
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='281033', job_status='RUN', time_executed='2021-09-18 21:05:44.443018', time_epoch_executed='1632024344.44' WHERE source_name='4FGL J1753.7+2847' and cadence='daily' and bin_id='1501'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/281033

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/281033/ft1_4FGL_J1753.7+2847_daily_bin1501.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/281033/ft2_4FGL_J1753.7+2847_daily_bin1501.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/281033/ft1_4FGL_J1753.7+2847_daily_bin1501.fits outfile=/scratch/kocevski/281033/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin1501.fits ra=268.433 dec=28.7967 rad=12.0 tmin=628387201.0 tmax=628646401.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 3.56
user 3.32
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/281033/ft1_filtered_4FGL_J1753.7+2847_daily_bin1501.fits" evtable="EVENTS" scfile=/scratch/kocevski/281033/ft2_4FGL_J1753.7+2847_daily_bin1501.fits sctable="SC_DATA" outfile=/scratch/kocevski/281033/ltcube_628387201_628646401_4FGL_J1753.7+2847_daily_bin1501.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/281033/ft2_4FGL_J1753.7+2847_daily_bin1501.fits
.....................!
real 11.64
user 11.30
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/281033/ft1_filtered_4FGL_J1753.7+2847_daily_bin1501.fits evtable="EVENTS" scfile=/scratch/kocevski/281033/ft2_4FGL_J1753.7+2847_daily_bin1501.fits sctable="SC_DATA" expcube=/scratch/kocevski/281033/ltcube_628387201_628646401_4FGL_J1753.7+2847_daily_bin1501.fits outfile=/scratch/kocevski/281033/expmap_628387201_628646401_4FGL_J1753.7+2847_daily_bin1501.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/281033/ltcube_628387201_628646401_4FGL_J1753.7+2847_daily_bin1501.fits
.....................!
real 188.99
user 184.78
sys 3.89

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/281033/ft1_filtered_4FGL_J1753.7+2847_daily_bin1501.fits scfile=/scratch/kocevski/281033/ft2_4FGL_J1753.7+2847_daily_bin1501.fits outfile=/scratch/kocevski/281033/cmap_628387201_628646401_4FGL_J1753.7+2847_daily_bin1501.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/281033/ft1_filtered_4FGL_J1753.7+2847_daily_bin1501.fits scfile=/scratch/kocevski/281033/ft2_4FGL_J1753.7+2847_daily_bin1501.fits outfile=/scratch/kocevski/281033/cmap_HighResolution_628387201_628646401_4FGL_J1753.7+2847_daily_bin1501.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/281033/ft1_filtered_4FGL_J1753.7+2847_daily_bin1501.fits evtable="EVENTS" scfile=/scratch/kocevski/281033/ft2_4FGL_J1753.7+2847_daily_bin1501.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/281033/Model_4FGL_J1753.7+2847_daily_bin1501.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/281033/ft1_filtered_4FGL_J1753.7+2847_daily_bin1501.fits.....................!
real 73.44
user 71.56
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/281033/ft1_filtered_4FGL_J1753.7+2847_daily_bin1501.fits', '/scratch/kocevski/281033/ft2_4FGL_J1753.7+2847_daily_bin1501.fits', expMap='/scratch/kocevski/281033/expmap_628387201_628646401_4FGL_J1753.7+2847_daily_bin1501.fits', expCube='/scratch/kocevski/281033/ltcube_628387201_628646401_4FGL_J1753.7+2847_daily_bin1501.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/281033/Model_4FGL_J1753.7+2847_daily_bin1501.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/281033/ft1_filtered_4FGL_J1753.7+2847_daily_bin1501.fits
Spacecraft file(s): /scratch/kocevski/281033/ft2_4FGL_J1753.7+2847_daily_bin1501.fits
Exposure map: /scratch/kocevski/281033/expmap_628387201_628646401_4FGL_J1753.7+2847_daily_bin1501.fits
Exposure cube: /scratch/kocevski/281033/ltcube_628387201_628646401_4FGL_J1753.7+2847_daily_bin1501.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/281033/Model_4FGL_J1753.7+2847_daily_bin1501.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) = 8622.3006146

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .11693E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10585E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10216E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.074       1.0000         .10000E-03   10000.    
    12 'norm      '    .47117       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.5034       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.9717       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10619E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    13.423       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.1877       1.0000         .10000E-03   10000.    
    20 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .71912       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0380       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=   8622.143     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2027 TOTAL
                     EDM=   .10E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.0989        .15057E-07** at limit **
   2  Prefactor     .10000E-03    26.569        .30217E-07** at limit **
   3  norm          .10000E-03    3.2451        .21050E-07** at limit **
   4  norm          .10000E-03    23.615       -.14790E-05** at limit **
   5  Prefactor     .10000E-03    127.29        .72090E-05** at limit **
   6  Prefactor     .10000E-03    41.068        .86454E-06** at limit **
   7  Prefactor     .10000E-03    6.6623        .16729E-07** at limit **
   8  Prefactor     .10000E-03    112.07        .17056E-05** at limit **
   9  Prefactor     .10000E-03    27.431        .71237E-06** at limit **
  10  Prefactor     .10000E-03    75.384       -.73424E-05** at limit **
  11  Prefactor     14.079        10.504        .53839E-07    .61279E-05
  12  norm          .47149        1.1954        .13877E-06   -.55181E-05
  13  norm          .10000E-03    17.810        .79144E-06** at limit **
  14  Prefactor     4.5035        6.0385        .11297E-05    .48376E-05
  15  norm          .10000E-03    2.0076       -.45389E-09** at limit **
  16  Prefactor     7.9707        5.1752        .30887E-07    .47711E-04
  17  Prefactor     .10000E-03    23.996       -.11763E-05** at limit **
  18  norm          13.420        19.060       -.33986E-07    .25688E-06
  19  Prefactor     3.1878        4.1363        .17469E-07    .99652E-06
  20  norm          .10000E-03    31.017        .19274E-05** at limit **
  21  Normalizat    .71892        .20274       -.48611E-06    .58750E-05
  22  Prefactor     1.0381        .85356E-01    .85875E-07    .18229E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.0786
  norm       = 0.471491
  norm       = 0.0001
  Prefactor  = 4.50347
  norm       = 0.0001
  Prefactor  = 7.9707
  Prefactor  = 0.0001
  norm       = 13.4199
  Prefactor  = 3.18775
  norm       = 0.0001
  Normalizat = 0.718917
  Prefactor  = 1.03806
 **********
 **   18 **HESSE 
 **********

 FCN=   8622.143     FROM HESSE     STATUS=OK           338 CALLS     2365 TOTAL
                     EDM=   .58E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.0994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    26.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    11.591        .32203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    23.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    127.65        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    41.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.6995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    113.03        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    27.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    75.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.079        10.494        .10677E-03   -1.4957    
  12  norm          .47149        1.1993        .15660E-03   -1.5571    
  13  norm          .10000E-03    17.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.5035        6.0438        .94862E-03   -1.5284    
  15  norm          .10000E-03    2.0082        .12849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.9707        5.1666        .14201E-03   -1.5143    
  17  Prefactor     .10000E-03    24.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          13.420        19.065        .10933E-03   -1.4975    
  19  Prefactor     3.1878        4.1284        .20897E-03   -1.5351    
  20  norm          .10000E-03    31.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .71892        .22494        .40673E-03   -1.0315    
  22  Prefactor     1.0381        .96438E-01    .14801E-03   -.91471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.76826e-12
Minuit parameter uncertainties:
  1  4.8829e-08
  2  1.61202e-06
  3  4.21564e-05
  4  4.00055e-06
  5  2.75917e-05
  6  6.90754e-08
  7  1.64084e-06
  8  1.41532e-05
  9  5.22645e-07
  10  8.70236e-06
  11  10.4956
  12  1.19932
  13  5.86997e-07
  14  6.0446
  15  3.78055e-08
  16  5.16684
  17  7.0721e-06
  18  19.0736
  19  4.1288
  20  3.04705e-06
  21  0.225228
  22  0.0964537
Done.

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

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.000e-04  8.702e-06  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:  1.038e+00  9.645e-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:  7.189e-01  2.252e-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: 6.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/281033/likelihoodResults_628387201_628646401_4FGL_J1753.7+2847_daily_bin1501.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) = 8622.14305864
delta logL = -6.2898525357e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8622.14305864
delta logL = -6.28969683021e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96364E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3963       1.0000          .0000       10.000    
     3 'Normalizat'    .71892       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0381       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=   8621.927     FROM MIGRAD    STATUS=CONVERGED    131 CALLS      280 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.646        7171.9        .90712E-02   -.22073E-04
   2  Index         1.4734        5.1291        .38110       -.14869E-04
   3  Normalizat    .72340        .80799E-01    .91543E-01    .13235E-03
   4  Prefactor     1.0342        .30023E-01    .40666E-01    .26529E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.6458
  Index      = 1.47342
  Normalizat = 0.723401
  Prefactor  = 1.03418
 **********
 **   18 **HESSE 
 **********

 FCN=   8621.927     FROM HESSE     STATUS=OK            31 CALLS      311 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.646        75.158        .36285E-03   -1.6984    
   2  Index         1.4734        .75312        .13334E-01   -.78287    
   3  Normalizat    .72340        .22099        .40554E-03   -1.0298    
   4  Prefactor     1.0342        .96055E-01    .14822E-03   -.91599    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15515e-11
Minuit parameter uncertainties:
  1  75.3339
  2  0.758901
  3  0.22126
  4  0.096071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/281033': 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) = 8621.92664318
delta logL = 0.216352562677

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  4.065e+01  7.533e+01  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  1.473e+00  7.589e-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:  1.034e+00  9.607e-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:  7.234e-01  2.213e-01  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/281033/cmap_HighResolution_628387201_628646401_4FGL_J1753.7+2847_daily_bin1501.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.32e-03', job_status='DONE', photon_flux_upper_limit='6.89e-08', time_completed='2021-09-18 21:19:33.333982', job_id='281033', GAL2='1.03', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1632025173.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='2.16e-01', ts2='0.44', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1501' AND source_name='4FGL J1753.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 21:19:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 281033: <4FGL_J1753.7+2847_daily_bin1501> in cluster <slac> Done

Job <4FGL_J1753.7+2847_daily_bin1501> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 18 21:05:30 2021
Job was executed on host(s) <bullet0187>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 21:05:31 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:05:31 2021
Terminated at Sat Sep 18 21:19:34 2021
Results reported at Sat Sep 18 21:19:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.7+2847_daily_bin1501 268.433 28.7967 628387201 628646401 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 :                                   817.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             357.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            844 sec.

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

