/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 4 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 = 7388
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1753.7+2847_daily_bin293
RA = 268.433, Dec = 28.7967
tmin = 315273601, tmax = 315532801
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='266103', job_status='RUN', time_executed='2021-09-18 20:20:33.815756', time_epoch_executed='1632021633.82' WHERE source_name='4FGL J1753.7+2847' and cadence='daily' and bin_id='293'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/266103

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/266103/ft1_4FGL_J1753.7+2847_daily_bin293.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/266103/ft2_4FGL_J1753.7+2847_daily_bin293.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/266103/ft1_4FGL_J1753.7+2847_daily_bin293.fits outfile=/scratch/kocevski/266103/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin293.fits ra=268.433 dec=28.7967 rad=12.0 tmin=315273601.0 tmax=315532801.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.64
user 3.43
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/266103/ft1_filtered_4FGL_J1753.7+2847_daily_bin293.fits" evtable="EVENTS" scfile=/scratch/kocevski/266103/ft2_4FGL_J1753.7+2847_daily_bin293.fits sctable="SC_DATA" outfile=/scratch/kocevski/266103/ltcube_315273601_315532801_4FGL_J1753.7+2847_daily_bin293.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/266103/ft2_4FGL_J1753.7+2847_daily_bin293.fits
.....................!
real 11.74
user 11.40
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/266103/ft1_filtered_4FGL_J1753.7+2847_daily_bin293.fits evtable="EVENTS" scfile=/scratch/kocevski/266103/ft2_4FGL_J1753.7+2847_daily_bin293.fits sctable="SC_DATA" expcube=/scratch/kocevski/266103/ltcube_315273601_315532801_4FGL_J1753.7+2847_daily_bin293.fits outfile=/scratch/kocevski/266103/expmap_315273601_315532801_4FGL_J1753.7+2847_daily_bin293.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/266103/ltcube_315273601_315532801_4FGL_J1753.7+2847_daily_bin293.fits
.....................!
real 189.12
user 184.98
sys 3.83

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/266103/ft1_filtered_4FGL_J1753.7+2847_daily_bin293.fits scfile=/scratch/kocevski/266103/ft2_4FGL_J1753.7+2847_daily_bin293.fits outfile=/scratch/kocevski/266103/cmap_315273601_315532801_4FGL_J1753.7+2847_daily_bin293.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/266103/ft1_filtered_4FGL_J1753.7+2847_daily_bin293.fits scfile=/scratch/kocevski/266103/ft2_4FGL_J1753.7+2847_daily_bin293.fits outfile=/scratch/kocevski/266103/cmap_HighResolution_315273601_315532801_4FGL_J1753.7+2847_daily_bin293.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/266103/ft1_filtered_4FGL_J1753.7+2847_daily_bin293.fits evtable="EVENTS" scfile=/scratch/kocevski/266103/ft2_4FGL_J1753.7+2847_daily_bin293.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/266103/Model_4FGL_J1753.7+2847_daily_bin293.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/266103/ft1_filtered_4FGL_J1753.7+2847_daily_bin293.fits.....................!
real 81.37
user 80.04
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.459       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .49621E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.582       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    42.857       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.5121       1.0000         .10000E-03   10000.    
    12 'norm      '    2.5900       1.0000         .10000E-03   10000.    
    13 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.3653       1.0000         .10000E-03   10000.    
    15 'norm      '    9.9544       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11164E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.577       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.506       1.0000         .10000E-03   10000.    
    20 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3008       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92550       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=   9244.959     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2367 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.461        39.678        .22860E-05    .10740E-04
   2  Prefactor     .10000E-03    19.231       -.32594E-05** at limit **
   3  norm          .81547E-01    3.3756       -.76663E-06    .52220E-03
   4  norm          .10000E-03    37.469       -.14348E-04** at limit **
   5  Prefactor     .10000E-03    27.345       -.10356E-04** at limit **
   6  Prefactor     31.582        99.396        .56538E-06    .45675E-06
   7  Prefactor     .10000E-03    5.8469        .38369E-06** at limit **
   8  Prefactor     .10000E-03    23.209        .14394E-04** at limit **
   9  Prefactor     .10000E-03    57.843        .19918E-04** at limit **
  10  Prefactor     42.857        60.679        .15675E-05   -.55516E-04
  11  Prefactor     4.5132        8.0002       -.63563E-06   -.79525E-04
  12  norm          2.5900        1.7349       -.73030E-07    .18415E-04
  13  norm          .10000E-03    80.171       -.46946E-04** at limit **
  14  Prefactor     1.3639        3.0293        .16082E-05   -.20782E-02
  15  norm          9.9541        9.9236       -.32449E-06   -.29175E-04
  16  Prefactor     .10000E-03    6.5300        .59234E-07** at limit **
  17  Prefactor     16.575        31.910        .17661E-05   -.13088E-04
  18  norm          .10000E-03    7.9152       -.37701E-07** at limit **
  19  Prefactor     10.506        10.102       -.20639E-07   -.26875E-03
  20  norm          .10000E-03    54.818        .21060E-04** at limit **
  21  Normalizat    1.3007        .23378       -.33928E-06    .22250E-04
  22  Prefactor     .92551        .86760E-01   -.67889E-07    .18384E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.461
  Prefactor  = 0.0001
  norm       = 0.0815473
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.5816
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.8572
  Prefactor  = 4.51319
  norm       = 2.58997
  norm       = 0.000100001
  Prefactor  = 1.36392
  norm       = 9.95405
  Prefactor  = 0.0001
  Prefactor  = 16.5753
  norm       = 0.0001
  Prefactor  = 10.5064
  norm       = 0.0001
  Normalizat = 1.30067
  Prefactor  = 0.925506
 **********
 **   18 **HESSE 
 **********

 FCN=   9244.959     FROM HESSE     STATUS=OK           346 CALLS     2713 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.461        39.709        .64630E-04   -1.4467    
   2  Prefactor     .10000E-03    19.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .81547E-01    3.7190        .60354E-01   -1.5651    
   4  norm          .10000E-03    37.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    27.361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     31.582        99.863        .71299E-04   -1.4583    
   7  Prefactor     .10000E-03    5.8521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    23.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    57.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     42.857        60.647        .61237E-04   -1.4398    
  11  Prefactor     4.5132        7.9975        .18953E-03   -1.5283    
  12  norm          2.5900        1.7393        .10090E-03   -1.5386    
  13  norm          .10000E-03    80.511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.3639        12.329        .18673E-02   -1.5474    
  15  norm          9.9541        9.9210        .12700E-03   -1.5077    
  16  Prefactor     .10000E-03    6.7262        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.575        31.872        .98372E-04   -1.4893    
  18  norm          .10000E-03    7.9155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.506        10.113        .61805E-03   -1.5060    
  20  norm          .10000E-03    54.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3007        .27965        .38052E-03   -.83546    
  22  Prefactor     .92551        .10286        .16853E-03   -.95255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24439e-08
Minuit parameter uncertainties:
  1  39.7364
  2  2.3349e-05
  3  1.10081
  4  0.000180253
  5  0.00011143
  6  100.398
  7  4.74921e-06
  8  0.000141568
  9  0.000166113
  10  60.7348
  11  7.99938
  12  1.73937
  13  0.00062499
  14  8.20327
  15  9.92266
  16  2.10713e-05
  17  31.9045
  18  4.13696e-07
  19  10.1145
  20  0.000297609
  21  0.279977
  22  0.102882
Done.

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

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  4.286e+01  6.073e+01  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.255e-01  1.029e-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.301e+00  2.800e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/266103/likelihoodResults_315273601_315532801_4FGL_J1753.7+2847_daily_bin293.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) = 9244.945901
delta logL = 0.0128205162891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9244.93285857
delta logL = 0.0258629427171

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.987       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7880       1.0000          .0000       10.000    
     3 'Normalizat'    1.2837       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92894       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9244.933     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      296 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.022        251.18        .73166E-04    .31076E-05
   2  Index         2.7869        3.6244        .10388E-01    .31620E-04
   3  Normalizat    1.2838        .33265        .38263E-03   -.12039E-03
   4  Prefactor     .92897        .11136        .16824E-03    .12562E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.0224
  Index      = 2.78688
  Normalizat = 1.28378
  Prefactor  = 0.928974
 **********
 **   18 **HESSE 
 **********

 FCN=   9244.933     FROM HESSE     STATUS=OK            25 CALLS      321 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.022        78.298        .29266E-05   -1.4612    
   2  Index         2.7869        1.8351        .41552E-03   -.45852    
   3  Normalizat    1.2838        .28248        .15305E-04   -.84052    
   4  Prefactor     .92897        .10373        .33649E-04   -.95136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.06265e-09
Minuit parameter uncertainties:
  1  78.5683
  2  1.89066
  3  0.282824
  4  0.103749
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/266103': 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) = 9244.93285805
delta logL = 0.0258634714392

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  3.002e+01  7.857e+01  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.787e+00  1.891e+00  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.290e-01  1.037e-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.284e+00  2.828e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.87
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/266103/cmap_HighResolution_315273601_315532801_4FGL_J1753.7+2847_daily_bin293.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.44e-03', job_status='DONE', photon_flux_upper_limit='1.22e-07', time_completed='2021-09-18 20:35:31.886584', job_id='266103', GAL2='0.93', fit_tolerance='1e-08', EG2='1.28', EG='1.30', time_epoch_completed='1632022531.89', return_code2='0', ts='0.87', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.59e-02', ts2='0.93', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='293' AND source_name='4FGL J1753.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 20:35:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 266103: <4FGL_J1753.7+2847_daily_bin293> in cluster <slac> Done

Job <4FGL_J1753.7+2847_daily_bin293> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 18 20:20:19 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 20:20:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 18 20:20:21 2021
Terminated at Sat Sep 18 20:35:32 2021
Results reported at Sat Sep 18 20:35:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.7+2847_daily_bin293 268.433 28.7967 315273601 315532801 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 :                                   893.30 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             367.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            913 sec.

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

