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


Performing analysis on: 4FGL_J1753.7+2847_daily_bin1431
RA = 268.433, Dec = 28.7967
tmin = 610243201, tmax = 610502401
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='280929', job_status='RUN', time_executed='2021-09-18 21:09:15.189183', time_epoch_executed='1632024555.19' WHERE source_name='4FGL J1753.7+2847' and cadence='daily' and bin_id='1431'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/280929

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/280929/ft1_4FGL_J1753.7+2847_daily_bin1431.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/280929/ft2_4FGL_J1753.7+2847_daily_bin1431.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/280929/ft1_4FGL_J1753.7+2847_daily_bin1431.fits outfile=/scratch/kocevski/280929/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin1431.fits ra=268.433 dec=28.7967 rad=12.0 tmin=610243201.0 tmax=610502401.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.14
user 2.92
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/280929/ft2_4FGL_J1753.7+2847_daily_bin1431.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/280929/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin1431.fits evtable="EVENTS" outfile="/scratch/kocevski/280929/ft1_filtered_4FGL_J1753.7+2847_daily_bin1431.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.42
user 0.27
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/280929/ft1_filtered_4FGL_J1753.7+2847_daily_bin1431.fits" evtable="EVENTS" scfile=/scratch/kocevski/280929/ft2_4FGL_J1753.7+2847_daily_bin1431.fits sctable="SC_DATA" outfile=/scratch/kocevski/280929/ltcube_610243201_610502401_4FGL_J1753.7+2847_daily_bin1431.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/280929/ft2_4FGL_J1753.7+2847_daily_bin1431.fits
.....................!
real 9.13
user 8.83
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/280929/ft1_filtered_4FGL_J1753.7+2847_daily_bin1431.fits evtable="EVENTS" scfile=/scratch/kocevski/280929/ft2_4FGL_J1753.7+2847_daily_bin1431.fits sctable="SC_DATA" expcube=/scratch/kocevski/280929/ltcube_610243201_610502401_4FGL_J1753.7+2847_daily_bin1431.fits outfile=/scratch/kocevski/280929/expmap_610243201_610502401_4FGL_J1753.7+2847_daily_bin1431.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/280929/ltcube_610243201_610502401_4FGL_J1753.7+2847_daily_bin1431.fits
.....................!
real 144.52
user 140.77
sys 3.52

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/280929/ft1_filtered_4FGL_J1753.7+2847_daily_bin1431.fits scfile=/scratch/kocevski/280929/ft2_4FGL_J1753.7+2847_daily_bin1431.fits outfile=/scratch/kocevski/280929/cmap_610243201_610502401_4FGL_J1753.7+2847_daily_bin1431.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.44
user 0.28
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/280929/ft1_filtered_4FGL_J1753.7+2847_daily_bin1431.fits scfile=/scratch/kocevski/280929/ft2_4FGL_J1753.7+2847_daily_bin1431.fits outfile=/scratch/kocevski/280929/cmap_HighResolution_610243201_610502401_4FGL_J1753.7+2847_daily_bin1431.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.45
user 0.31
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/280929/ft1_filtered_4FGL_J1753.7+2847_daily_bin1431.fits evtable="EVENTS" scfile=/scratch/kocevski/280929/ft2_4FGL_J1753.7+2847_daily_bin1431.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/280929/Model_4FGL_J1753.7+2847_daily_bin1431.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/280929/ft1_filtered_4FGL_J1753.7+2847_daily_bin1431.fits.....................!
real 49.27
user 48.23
sys 0.95

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10722E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.4421       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.5403       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    13.984       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.518       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .19415E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    16.339       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .20617E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .68215       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0056       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=   7793.950     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2360 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.186        .10043E-05** at limit **
   2  Prefactor     .10000E-03    10.846        .61056E-07** at limit **
   3  norm          .10000E-03    1.9635        .21803E-07** at limit **
   4  norm          .10000E-03    64.444        .39603E-04** at limit **
   5  Prefactor     .10000E-03    22.514        .13268E-04** at limit **
   6  Prefactor     .10000E-03    31.576       -.96973E-05** at limit **
   7  Prefactor     .10000E-03    3.2452        .90517E-07** at limit **
   8  Prefactor     .10000E-03    38.486        .19202E-04** at limit **
   9  Prefactor     .10000E-03    25.377       -.73244E-05** at limit **
  10  Prefactor     6.4589        45.469        .30506E-04    .25594E-04
  11  Prefactor     .10000E-03    5.0406       -.17043E-07** at limit **
  12  norm          1.5403        1.4177       -.52520E-07    .32175E-03
  13  norm          .10000E-03    15.967       -.14265E-05** at limit **
  14  Prefactor     .10000E-03    3.9222       -.54872E-07** at limit **
  15  norm          13.986        9.0102        .49139E-06    .66509E-03
  16  Prefactor     11.518        5.7535        .29213E-05    .95543E-03
  17  Prefactor     .10000E-03    79.514       -.47544E-04** at limit **
  18  norm          16.347        28.714        .66018E-05    .20250E-04
  19  Prefactor     .10000E-03    4.4068       -.44787E-06** at limit **
  20  norm          .10000E-03    29.259       -.13536E-04** at limit **
  21  Normalizat    .68217        .20706       -.19672E-05    .22637E-03
  22  Prefactor     1.0056        .89766E-01   -.22297E-06    .68817E-03
                               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.000100002
  Prefactor  = 6.45888
  Prefactor  = 0.0001
  norm       = 1.54029
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 13.9856
  Prefactor  = 11.5179
  Prefactor  = 0.0001
  norm       = 16.3473
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.682174
  Prefactor  = 1.00563
 **********
 **   18 **HESSE 
 **********

 FCN=   7793.950     FROM HESSE     STATUS=OK           332 CALLS     2692 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.9796        .12079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    64.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    22.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    31.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.2467        .15532E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    38.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    25.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.4589        45.311        .15813E-03   -1.5200    
  11  Prefactor     .10000E-03    5.1609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5403        1.4366        .98153E-04   -1.5460    
  13  norm          .10000E-03    15.969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.0008        .17066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          13.986        9.0105        .10711E-03   -1.4960    
  16  Prefactor     11.518        5.7791        .11804E-03   -1.5029    
  17  Prefactor     .10000E-03    82.135        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          16.347        28.664        .99085E-04   -1.4899    
  19  Prefactor     .10000E-03    33.673        .35361E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    29.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .68217        .22874        .40371E-03   -1.0460    
  22  Prefactor     1.0056        .99714E-01    .14609E-03   -.92542    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.60136e-10
Minuit parameter uncertainties:
  1  1.36607e-05
  2  2.96681e-06
  3  2.14947e-06
  4  2.94272e-05
  5  5.73636e-06
  6  2.66501e-06
  7  7.97779e-07
  8  0.000105331
  9  0.000480289
  10  34.2512
  11  6.93766e-07
  12  1.43665
  13  2.77791e-06
  14  1.18823e-05
  15  9.01137
  16  5.77934
  17  0.000131591
  18  28.6881
  19  0.000240238
  20  3.65983e-06
  21  0.229059
  22  0.0997318
Done.

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

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  6.459e+00  3.425e+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:  1.006e+00  9.973e-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:  6.822e-01  2.291e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 268.433 28.797
Photon Flux Upper Limit: 7.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/280929/likelihoodResults_610243201_610502401_4FGL_J1753.7+2847_daily_bin1431.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) = 7793.94624361
delta logL = 0.00371510798868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7793.94432318
delta logL = 0.00563554025302

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5101       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1802       1.0000          .0000       10.000    
     3 'Normalizat'    .68277       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0054       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=   7793.944     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      306 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3069        628.88        .32488E-02   -.83737E-04
   2  Index         2.1794        1.1459        .50000       -.80527E-04
   3  Normalizat    .68272        .18830E-01    .91090E-01   -.15920E-03
   4  Prefactor     1.0054        .81476E-02    .33062E-01   -.78156E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.30686
  Index      = 2.17942
  Normalizat = 0.682718
  Prefactor  = 1.00542
 **********
 **   18 **HESSE 
 **********

 FCN=   7793.944     FROM HESSE     STATUS=OK            31 CALLS      337 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.3069        64.191        .12995E-03   -1.5098    
   2  Index         2.1794        1.9050        .68766E-02   -.59936    
   3  Normalizat    .68272        .22724        .40355E-03   -1.0458    
   4  Prefactor     1.0054        .99180E-01    .14610E-03   -.92549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50386e-09
Minuit parameter uncertainties:
  1  48.9592
  2  1.98007
  3  0.227555
  4  0.0991976
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/280929': 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) = 7793.94431096
delta logL = 0.00564775673502

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  9.307e+00  4.896e+01  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.179e+00  1.980e+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:  1.005e+00  9.920e-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:  6.827e-01  2.276e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/280929/cmap_HighResolution_610243201_610502401_4FGL_J1753.7+2847_daily_bin1431.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.51e-03', job_status='DONE', photon_flux_upper_limit='7.14e-08', time_completed='2021-09-18 21:20:43.637368', job_id='280929', GAL2='1.01', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1632025243.64', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.65e-03', ts2='0.05', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1431' AND source_name='4FGL J1753.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 21:20:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0135>
Subject: Job 280929: <4FGL_J1753.7+2847_daily_bin1431> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.7+2847_daily_bin1431 268.433 28.7967 610243201 610502401 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 :                                   601.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             221.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            921 sec.

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

