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


Performing analysis on: 4FGL_J1753.7+2847_daily_bin1516
RA = 268.433, Dec = 28.7967
tmin = 632275201, tmax = 632534401
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='281055', job_status='RUN', time_executed='2021-09-18 21:05:47.716494', time_epoch_executed='1632024347.72' WHERE source_name='4FGL J1753.7+2847' and cadence='daily' and bin_id='1516'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/281055

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/281055/ft1_4FGL_J1753.7+2847_daily_bin1516.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/281055/ft2_4FGL_J1753.7+2847_daily_bin1516.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/281055/ft1_4FGL_J1753.7+2847_daily_bin1516.fits outfile=/scratch/kocevski/281055/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin1516.fits ra=268.433 dec=28.7967 rad=12.0 tmin=632275201.0 tmax=632534401.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.75
user 3.50
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/281055/ft2_4FGL_J1753.7+2847_daily_bin1516.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/281055/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin1516.fits evtable="EVENTS" outfile="/scratch/kocevski/281055/ft1_filtered_4FGL_J1753.7+2847_daily_bin1516.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.50
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/281055/ft1_filtered_4FGL_J1753.7+2847_daily_bin1516.fits" evtable="EVENTS" scfile=/scratch/kocevski/281055/ft2_4FGL_J1753.7+2847_daily_bin1516.fits sctable="SC_DATA" outfile=/scratch/kocevski/281055/ltcube_632275201_632534401_4FGL_J1753.7+2847_daily_bin1516.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/281055/ft2_4FGL_J1753.7+2847_daily_bin1516.fits
.....................!
real 11.61
user 11.26
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/281055/ft1_filtered_4FGL_J1753.7+2847_daily_bin1516.fits evtable="EVENTS" scfile=/scratch/kocevski/281055/ft2_4FGL_J1753.7+2847_daily_bin1516.fits sctable="SC_DATA" expcube=/scratch/kocevski/281055/ltcube_632275201_632534401_4FGL_J1753.7+2847_daily_bin1516.fits outfile=/scratch/kocevski/281055/expmap_632275201_632534401_4FGL_J1753.7+2847_daily_bin1516.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/281055/ltcube_632275201_632534401_4FGL_J1753.7+2847_daily_bin1516.fits
.....................!
real 190.37
user 185.47
sys 4.55

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/281055/ft1_filtered_4FGL_J1753.7+2847_daily_bin1516.fits scfile=/scratch/kocevski/281055/ft2_4FGL_J1753.7+2847_daily_bin1516.fits outfile=/scratch/kocevski/281055/cmap_632275201_632534401_4FGL_J1753.7+2847_daily_bin1516.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/281055/ft1_filtered_4FGL_J1753.7+2847_daily_bin1516.fits scfile=/scratch/kocevski/281055/ft2_4FGL_J1753.7+2847_daily_bin1516.fits outfile=/scratch/kocevski/281055/cmap_HighResolution_632275201_632534401_4FGL_J1753.7+2847_daily_bin1516.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.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/281055/ft1_filtered_4FGL_J1753.7+2847_daily_bin1516.fits evtable="EVENTS" scfile=/scratch/kocevski/281055/ft2_4FGL_J1753.7+2847_daily_bin1516.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/281055/Model_4FGL_J1753.7+2847_daily_bin1516.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/281055/ft1_filtered_4FGL_J1753.7+2847_daily_bin1516.fits.....................!
real 82.78
user 80.84
sys 1.66

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2552       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.6601       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    32.440       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 '    49.774       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11845E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9391       1.0000         .10000E-03   10000.    
    12 'norm      '    .11421E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.2348       1.0000         .10000E-03   10000.    
    15 'norm      '    10.607       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.9356       1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.584       1.0000         .10000E-03   10000.    
    18 'norm      '    38.100       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.2037       1.0000         .10000E-03   10000.    
    20 'norm      '    10.908       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2382       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83611       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=   10142.23     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2373 TOTAL
                     EDM=   .48E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2560        41.992        .26180E-05    .24502E-05
   2  Prefactor     .10000E-03    18.499        .13109E-05** at limit **
   3  norm          3.6602        4.5187        .27636E-05    .12220E-03
   4  norm          .10000E-03    31.004        .14474E-05** at limit **
   5  Prefactor     32.450        69.688       -.62027E-05   -.10176E-04
   6  Prefactor     .10000E-03    97.772       -.15456E-04** at limit **
   7  Prefactor     .10000E-03    5.1978       -.14682E-08** at limit **
   8  Prefactor     49.750        51.835        .37642E-06   -.47050E-04
   9  Prefactor     .10000E-03    19.434       -.23253E-05** at limit **
  10  Prefactor     .10000E-03    136.62        .17471E-04** at limit **
  11  Prefactor     1.9419        10.056        .12775E-04   -.42894E-04
  12  norm          .10000E-03    .81837        .30378E-07** at limit **
  13  norm          .10000E-03    23.333       -.30488E-06** at limit **
  14  Prefactor     1.2351        3.3451        .67521E-06    .29992E-04
  15  norm          10.606        7.6224        .85213E-07   -.34137E-04
  16  Prefactor     9.9357        5.3048       -.20668E-07   -.63078E-04
  17  Prefactor     23.583        18.940       -.23725E-07   -.40654E-04
  18  norm          38.100        24.191        .72323E-07   -.56690E-06
  19  Prefactor     7.2037        5.3243       -.10776E-06   -.34535E-04
  20  norm          10.906        36.833        .52958E-06    .11870E-05
  21  Normalizat    1.2382        .19318       -.85190E-06   -.21932E-04
  22  Prefactor     .83612        .77932E-01   -.54027E-06   -.45938E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.25599
  Prefactor  = 0.0001
  norm       = 3.66025
  norm       = 0.0001
  Prefactor  = 32.4499
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 49.7496
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 1.94193
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.2351
  norm       = 10.6064
  Prefactor  = 9.93566
  Prefactor  = 23.5834
  norm       = 38.0998
  Prefactor  = 7.20374
  norm       = 10.9064
  Normalizat = 1.23815
  Prefactor  = 0.836116
 **********
 **   18 **HESSE 
 **********

 FCN=   10142.23     FROM HESSE     STATUS=OK           344 CALLS     2717 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2560        42.006        .80250E-03   -1.5208    
   2  Prefactor     .10000E-03    18.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.6602        4.5098        .10557E-02   -1.5325    
   4  norm          .10000E-03    31.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     32.450        69.696        .70352E-04   -1.4568    
   6  Prefactor     .10000E-03    98.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.2129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     49.750        51.743        .56841E-04   -1.4296    
   9  Prefactor     .10000E-03    19.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    136.29        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9419        10.076        .14908E-02   -1.5429    
  12  norm          .10000E-03    5.5136        .17655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    23.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.2351        3.3080        .29346E-03   -1.5486    
  15  norm          10.606        7.6214        .12302E-03   -1.5057    
  16  Prefactor     9.9357        5.2975        .12713E-03   -1.5077    
  17  Prefactor     23.583        18.921        .82483E-04   -1.4736    
  18  norm          38.100        24.196        .64933E-04   -1.4473    
  19  Prefactor     7.2037        5.3227        .14945E-03   -1.5171    
  20  norm          10.906        36.849        .12131E-03   -1.5047    
  21  Normalizat    1.2382        .22635        .34238E-03   -.85432    
  22  Prefactor     .83612        .91682E-01    .16620E-03   -.98410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.91536e-11
Minuit parameter uncertainties:
  1  32.454
  2  2.58151e-05
  3  4.51018
  4  3.86224e-05
  5  69.8715
  6  0.000685224
  7  6.86178e-07
  8  51.79
  9  0.000185376
  10  0.00105066
  11  8.84898
  12  2.61837e-05
  13  5.70767e-06
  14  3.30847
  15  7.62214
  16  5.29775
  17  18.9261
  18  24.202
  19  5.32302
  20  36.9255
  21  0.226535
  22  0.0916985
Done.

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

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.000e-04  1.051e-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:  8.361e-01  9.170e-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.238e+00  2.265e-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: 7.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/281055/likelihoodResults_632275201_632534401_4FGL_J1753.7+2847_daily_bin1516.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) = 10142.2283576
delta logL = -3.48297380697e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10142.2283229
delta logL = -9.45401552599e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10281E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5994       1.0000          .0000       10.000    
     3 'Normalizat'    1.2381       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83612       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=   10142.23     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      250 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    46.223        .90712E-02** at limit **
   2  Index         2.5647        5.0221        .50000        .24472E-05
   3  Normalizat    1.2382        .32319E-02    .77355E-01    .39038E-04
   4  Prefactor     .83612        .13238E-02    .44185E-01    .55041E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.5647
  Normalizat = 1.23815
  Prefactor  = 0.836116
 **********
 **   18 **HESSE 
 **********

 FCN=   10142.23     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      283 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    486.56        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5647        5.8198        .50000       -.50872    
   3  Normalizat    1.2382        .10507E-01    .34238E-03   -.85432    
   4  Prefactor     .83612        .43094E-02    .16620E-03   -.98410    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.83035e-08
Minuit parameter uncertainties:
  1  0.000804301
  2  386.066
  3  0.0105075
  4  0.00430937
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/281055': 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) = 10142.2283229
delta logL = -6.11944415141e-08

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.000e-04  8.043e-04  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.565e+00  3.861e+02  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:  8.361e-01  4.309e-03  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.238e+00  1.051e-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/281055/cmap_HighResolution_632275201_632534401_4FGL_J1753.7+2847_daily_bin1516.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2021-09-18 21:21:33.200499', job_id='281055', GAL2='0.84', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1632025293.2', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='-6.12e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1516' AND source_name='4FGL J1753.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 21:21:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0016>
Subject: Job 281055: <4FGL_J1753.7+2847_daily_bin1516> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.7+2847_daily_bin1516 268.433 28.7967 632275201 632534401 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 :                                   937.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             355.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            962 sec.

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

