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


Performing analysis on: 4FGL_J1753.7+2847_daily_bin612
RA = 268.433, Dec = 28.7967
tmin = 397958401, tmax = 398217601
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='270972', job_status='RUN', time_executed='2021-09-18 20:35:33.543829', time_epoch_executed='1632022533.54' WHERE source_name='4FGL J1753.7+2847' and cadence='daily' and bin_id='612'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/270972

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/270972/ft1_4FGL_J1753.7+2847_daily_bin612.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/270972/ft2_4FGL_J1753.7+2847_daily_bin612.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/270972/ft1_4FGL_J1753.7+2847_daily_bin612.fits outfile=/scratch/kocevski/270972/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin612.fits ra=268.433 dec=28.7967 rad=12.0 tmin=397958401.0 tmax=398217601.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.49
user 3.27
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/270972/ft2_4FGL_J1753.7+2847_daily_bin612.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/270972/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin612.fits evtable="EVENTS" outfile="/scratch/kocevski/270972/ft1_filtered_4FGL_J1753.7+2847_daily_bin612.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/270972/ft1_filtered_4FGL_J1753.7+2847_daily_bin612.fits" evtable="EVENTS" scfile=/scratch/kocevski/270972/ft2_4FGL_J1753.7+2847_daily_bin612.fits sctable="SC_DATA" outfile=/scratch/kocevski/270972/ltcube_397958401_398217601_4FGL_J1753.7+2847_daily_bin612.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/270972/ft2_4FGL_J1753.7+2847_daily_bin612.fits
.....................!
real 12.26
user 11.94
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/270972/ft1_filtered_4FGL_J1753.7+2847_daily_bin612.fits evtable="EVENTS" scfile=/scratch/kocevski/270972/ft2_4FGL_J1753.7+2847_daily_bin612.fits sctable="SC_DATA" expcube=/scratch/kocevski/270972/ltcube_397958401_398217601_4FGL_J1753.7+2847_daily_bin612.fits outfile=/scratch/kocevski/270972/expmap_397958401_398217601_4FGL_J1753.7+2847_daily_bin612.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/270972/ltcube_397958401_398217601_4FGL_J1753.7+2847_daily_bin612.fits
.....................!
real 190.06
user 185.12
sys 4.62

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/270972/ft1_filtered_4FGL_J1753.7+2847_daily_bin612.fits scfile=/scratch/kocevski/270972/ft2_4FGL_J1753.7+2847_daily_bin612.fits outfile=/scratch/kocevski/270972/cmap_397958401_398217601_4FGL_J1753.7+2847_daily_bin612.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/270972/ft1_filtered_4FGL_J1753.7+2847_daily_bin612.fits scfile=/scratch/kocevski/270972/ft2_4FGL_J1753.7+2847_daily_bin612.fits outfile=/scratch/kocevski/270972/cmap_HighResolution_397958401_398217601_4FGL_J1753.7+2847_daily_bin612.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/270972/ft1_filtered_4FGL_J1753.7+2847_daily_bin612.fits evtable="EVENTS" scfile=/scratch/kocevski/270972/ft2_4FGL_J1753.7+2847_daily_bin612.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/270972/Model_4FGL_J1753.7+2847_daily_bin612.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/270972/ft1_filtered_4FGL_J1753.7+2847_daily_bin612.fits.....................!
real 82.43
user 81.10
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    10.995       1.0000         .10000E-03   10000.    
     3 'norm      '    .20224E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    131.29       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.7573       1.0000         .10000E-03   10000.    
     8 'Prefactor '    57.768       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .11251E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.4176       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    21.175       1.0000         .10000E-03   10000.    
    18 'norm      '    35.940       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3018       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90360       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=   9600.004     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2374 TOTAL
                     EDM=   .70E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.068       -.18847E-05** at limit **
   2  Prefactor     10.977        53.454        .23509E-05   -.15793E-04
   3  norm          .10000E-03    3.2711       -.44554E-06** at limit **
   4  norm          .10000E-03    16.734        .13472E-05** at limit **
   5  Prefactor     131.27        85.425        .25477E-06   -.35671E-04
   6  Prefactor     .10000E-03    64.325       -.51833E-05** at limit **
   7  Prefactor     6.7541        12.777        .30771E-05   -.30071E-04
   8  Prefactor     57.773        61.145        .55673E-06    .24816E-04
   9  Prefactor     .10000E-03    18.838        .14139E-06** at limit **
  10  Prefactor     .10000E-03    30.152       -.31466E-07** at limit **
  11  Prefactor     .10000E-03    7.9810        .12795E-06** at limit **
  12  norm          .10000E-03    1.0242       -.15950E-06** at limit **
  13  norm          .10000E-03    51.283        .43653E-05** at limit **
  14  Prefactor     .10000E-03    1.8418       -.39696E-07** at limit **
  15  norm          4.4175        5.5457        .26900E-07   -.15360E-04
  16  Prefactor     .10000E-03    1.9570       -.18151E-08** at limit **
  17  Prefactor     21.175        18.303       -.13113E-06    .21048E-05
  18  norm          35.942        29.724        .23671E-06    .11649E-04
  19  Prefactor     .10000E-03    5.6123        .50086E-07** at limit **
  20  norm          .10000E-03    14.898       -.75444E-06** at limit **
  21  Normalizat    1.3019        .21931        .15537E-05    .24439E-04
  22  Prefactor     .90359        .83426E-01   -.53683E-06    .26306E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.9772
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 131.268
  Prefactor  = 0.000100002
  Prefactor  = 6.75409
  Prefactor  = 57.7733
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 4.41751
  Prefactor  = 0.0001
  Prefactor  = 21.1752
  norm       = 35.9422
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.30185
  Prefactor  = 0.903593
 **********
 **   18 **HESSE 
 **********

 FCN=   9600.004     FROM HESSE     STATUS=OK           334 CALLS     2708 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.977        52.122        .12082E-03   -1.5045    
   3  norm          .10000E-03    18.054        .32073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    16.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     131.27        85.139        .17571E-03   -1.3411    
   6  Prefactor     .10000E-03    65.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.7541        12.874        .77178E-03   -1.5188    
   8  Prefactor     57.773        61.233        .52783E-04   -1.4186    
   9  Prefactor     .10000E-03    18.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    30.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.0826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.1350        .19290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    51.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.8492        .12986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.4175        5.5391        .19160E-03   -1.5288    
  16  Prefactor     .10000E-03    1.9688        .13379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     21.175        18.302        .87042E-04   -1.4787    
  18  norm          35.942        29.748        .66849E-04   -1.4508    
  19  Prefactor     .10000E-03    5.6576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    14.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3019        .25450        .36516E-03   -.83511    
  22  Prefactor     .90359        .97092E-01    .16748E-03   -.96016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56353e-10
Minuit parameter uncertainties:
  1  0.000147982
  2  47.9075
  3  2.31696e-05
  4  9.1966e-05
  5  85.219
  6  0.000756773
  7  12.8795
  8  61.2993
  9  1.26039e-05
  10  2.28109e-05
  11  9.9706e-06
  12  1.83877e-05
  13  0.000419941
  14  3.28499e-06
  15  5.53977
  16  1.93587e-06
  17  18.3066
  18  29.7604
  19  2.76123e-06
  20  4.88602e-05
  21  0.254748
  22  0.0971105
Done.

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

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.000e-04  2.281e-05  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.036e-01  9.711e-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.302e+00  2.547e-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.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/270972/likelihoodResults_397958401_398217601_4FGL_J1753.7+2847_daily_bin612.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) = 9600.00401938
delta logL = -0.000157912852956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9600.0038623
delta logL = -8.28877091408e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10818E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7101       1.0000          .0000       10.000    
     3 'Normalizat'    1.3018       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90360       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=   9600.004     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      275 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10203E-03    145.65        .18142E-02** at limit **
   2  Index         2.6440        5.8764        .50000        .11003E-04
   3  Normalizat    1.3019        .14312E-01    .36516E-03   -.57285E-05
   4  Prefactor     .90359        .56224E-02    .16748E-03   -.99107E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102035
  Index      = 2.64404
  Normalizat = 1.30185
  Prefactor  = 0.903593
 **********
 **   18 **HESSE 
 **********

 FCN=   9600.004     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      304 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10203E-03    623.15        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6440        7.3509        .50000       -.49064    
   3  Normalizat    1.3019        .30530E-01    .14606E-04   -.83511    
   4  Prefactor     .90359        .11993E-01    .66992E-05   -.96016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.45564e-08
Minuit parameter uncertainties:
  1  0.0719781
  2  651.17
  3  0.0305306
  4  0.0119934
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/270972': 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) = 9600.00386198
delta logL = -5.10257450514e-07

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.020e-04  7.198e-02  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.644e+00  6.512e+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:  9.036e-01  1.199e-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.302e+00  3.053e-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/270972/cmap_HighResolution_397958401_398217601_4FGL_J1753.7+2847_daily_bin612.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.75e-03', job_status='DONE', photon_flux_upper_limit='7.45e-08', time_completed='2021-09-18 20:50:48.031110', job_id='270972', GAL2='0.90', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1632023448.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='-5.10e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='612' AND source_name='4FGL J1753.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 20:50:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 270972: <4FGL_J1753.7+2847_daily_bin612> in cluster <slac> Done

Job <4FGL_J1753.7+2847_daily_bin612> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 18 20:35:21 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 20:35:22 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:35:22 2021
Terminated at Sat Sep 18 20:50:48 2021
Results reported at Sat Sep 18 20:50:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.7+2847_daily_bin612 268.433 28.7967 397958401 398217601 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 :                                   911.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             347.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   926 sec.
    Turnaround time :                            927 sec.

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

