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


Performing analysis on: 4FGL_J1753.7+2847_daily_bin468
RA = 268.433, Dec = 28.7967
tmin = 360633601, tmax = 360892801
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='268974', job_status='RUN', time_executed='2021-09-18 20:30:36.565739', time_epoch_executed='1632022236.57' WHERE source_name='4FGL J1753.7+2847' and cadence='daily' and bin_id='468'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/268974

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/268974/ft1_4FGL_J1753.7+2847_daily_bin468.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/268974/ft2_4FGL_J1753.7+2847_daily_bin468.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/268974/ft1_4FGL_J1753.7+2847_daily_bin468.fits outfile=/scratch/kocevski/268974/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin468.fits ra=268.433 dec=28.7967 rad=12.0 tmin=360633601.0 tmax=360892801.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.39
user 3.15
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/268974/ft2_4FGL_J1753.7+2847_daily_bin468.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/268974/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin468.fits evtable="EVENTS" outfile="/scratch/kocevski/268974/ft1_filtered_4FGL_J1753.7+2847_daily_bin468.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.52
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/268974/ft1_filtered_4FGL_J1753.7+2847_daily_bin468.fits" evtable="EVENTS" scfile=/scratch/kocevski/268974/ft2_4FGL_J1753.7+2847_daily_bin468.fits sctable="SC_DATA" outfile=/scratch/kocevski/268974/ltcube_360633601_360892801_4FGL_J1753.7+2847_daily_bin468.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/268974/ft2_4FGL_J1753.7+2847_daily_bin468.fits
.....................!
real 11.77
user 11.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/268974/ft1_filtered_4FGL_J1753.7+2847_daily_bin468.fits evtable="EVENTS" scfile=/scratch/kocevski/268974/ft2_4FGL_J1753.7+2847_daily_bin468.fits sctable="SC_DATA" expcube=/scratch/kocevski/268974/ltcube_360633601_360892801_4FGL_J1753.7+2847_daily_bin468.fits outfile=/scratch/kocevski/268974/expmap_360633601_360892801_4FGL_J1753.7+2847_daily_bin468.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/268974/ltcube_360633601_360892801_4FGL_J1753.7+2847_daily_bin468.fits
.....................!
real 190.38
user 186.11
sys 3.91

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/268974/ft1_filtered_4FGL_J1753.7+2847_daily_bin468.fits scfile=/scratch/kocevski/268974/ft2_4FGL_J1753.7+2847_daily_bin468.fits outfile=/scratch/kocevski/268974/cmap_360633601_360892801_4FGL_J1753.7+2847_daily_bin468.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/268974/ft1_filtered_4FGL_J1753.7+2847_daily_bin468.fits scfile=/scratch/kocevski/268974/ft2_4FGL_J1753.7+2847_daily_bin468.fits outfile=/scratch/kocevski/268974/cmap_HighResolution_360633601_360892801_4FGL_J1753.7+2847_daily_bin468.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/268974/ft1_filtered_4FGL_J1753.7+2847_daily_bin468.fits evtable="EVENTS" scfile=/scratch/kocevski/268974/ft2_4FGL_J1753.7+2847_daily_bin468.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/268974/Model_4FGL_J1753.7+2847_daily_bin468.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/268974/ft1_filtered_4FGL_J1753.7+2847_daily_bin468.fits.....................!
real 84.71
user 82.82
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10598E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.2729       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    106.70       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.3146       1.0000         .10000E-03   10000.    
    13 'norm      '    98.852       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.7024       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.0997       1.0000         .10000E-03   10000.    
    20 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .82202       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0829       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=   10240.17     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     2394 TOTAL
                     EDM=   .76E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.098        .19526E-06** at limit **
   2  Prefactor     .10000E-03    111.60        .19479E-05** at limit **
   3  norm          4.2642        10.687        .32413E-05    .16508E-04
   4  norm          .10000E-03    26.164       -.29656E-06** at limit **
   5  Prefactor     106.86        152.10       -.86421E-05    .73909E-05
   6  Prefactor     .10000E-03    31.693        .60443E-06** at limit **
   7  Prefactor     .10000E-03    8.0670        .10892E-06** at limit **
   8  Prefactor     .10000E-03    26.297       -.36752E-06** at limit **
   9  Prefactor     .10000E-03    21.232       -.20343E-06** at limit **
  10  Prefactor     .10000E-03    78.294       -.10014E-05** at limit **
  11  Prefactor     .10000E-03    4.0032       -.85046E-07** at limit **
  12  norm          2.3145        1.7501        .74026E-08    .24304E-04
  13  norm          98.864        73.646       -.78648E-07    .71101E-05
  14  Prefactor     .10000E-03    3.0501        .72557E-07** at limit **
  15  norm          .10000E-03    5.5770        .78215E-08** at limit **
  16  Prefactor     3.7026        4.4529        .48372E-06   -.68202E-04
  17  Prefactor     .10000E-03    60.595        .61611E-06** at limit **
  18  norm          .10000E-03    18.546        .32455E-06** at limit **
  19  Prefactor     8.0977        9.5862        .22433E-06   -.18177E-04
  20  norm          .10000E-03    13.529       -.26044E-06** at limit **
  21  Normalizat    .82182        .22347       -.17858E-05   -.26443E-04
  22  Prefactor     1.0830        .85663E-01    .55629E-06    .19253E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.26421
  norm       = 0.0001
  Prefactor  = 106.857
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.31447
  norm       = 98.8641
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.70263
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.09771
  norm       = 0.0001
  Normalizat = 0.821823
  Prefactor  = 1.08297
 **********
 **   18 **HESSE 
 **********

 FCN=   10240.17     FROM HESSE     STATUS=OK           334 CALLS     2728 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    112.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.2642        10.797        .97455E-03   -1.5295    
   4  norm          .10000E-03    26.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     106.86        154.27        .19466E-03   -1.3637    
   6  Prefactor     .10000E-03    31.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.0854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    26.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    21.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    78.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.0293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.3145        1.7513        .11289E-03   -1.5404    
  13  norm          98.864        73.672        .40433E-04   -1.3716    
  14  Prefactor     .10000E-03    3.0668        .17252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    5.6262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.7026        4.4514        .10494E-02   -1.5323    
  17  Prefactor     .10000E-03    61.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    18.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0977        9.5876        .70438E-03   -1.5139    
  20  norm          .10000E-03    13.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .82182        .24597        .44222E-03   -.99264    
  22  Prefactor     1.0830        .95773E-01    .15702E-03   -.90013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58101e-11
Minuit parameter uncertainties:
  1  1.31067e-05
  2  4.17267e-05
  3  10.8019
  4  1.42479e-05
  5  154.86
  6  4.46666e-05
  7  1.29685e-05
  8  4.84262e-06
  9  7.77417e-07
  10  6.75581e-05
  11  4.52716e-06
  12  1.75134
  13  73.7407
  14  5.18997e-06
  15  1.45109e-06
  16  4.45177
  17  4.48385e-05
  18  1.19024e-05
  19  9.58945
  20  1.26829e-05
  21  0.246305
  22  0.0957882
Done.

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

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.000e-04  6.756e-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:  1.083e+00  9.579e-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:  8.218e-01  2.463e-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: 8.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/268974/likelihoodResults_360633601_360892801_4FGL_J1753.7+2847_daily_bin468.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) = 10240.166346
delta logL = -6.0565489548e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10240.1662854
delta logL = 4.87543729832e-08

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 'Index     '    2.4442       1.0000          .0000       10.000    
     3 'Normalizat'    .82182       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0830       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=   10240.17     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      245 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7169.3        .90712E-02** at limit **
   2  Index         2.4880        6.1373        .50000       -.48606E-05
   3  Normalizat    .82182        .44487E-01    .99791E-01    .42773E-04
   4  Prefactor     1.0830        .17991E-01    .38272E-01    .16572E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.48799
  Normalizat = 0.821823
  Prefactor  = 1.08297
 **********
 **   18 **HESSE 
 **********

 FCN=   10240.17     FROM HESSE     STATUS=OK            33 CALLS      278 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    103.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4880        6.2425        .50000       -.52637    
   3  Normalizat    .82182        .23072        .44224E-03   -.99264    
   4  Prefactor     1.0830        .93739E-01    .15702E-03   -.90013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98453e-11
Minuit parameter uncertainties:
  1  0.00088378
  2  4.66348
  3  0.230996
  4  0.0937532
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/268974': 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) = 10240.1662854
delta logL = 9.62427293416e-08

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.000e-04  8.838e-04  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.488e+00  4.663e+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.083e+00  9.375e-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:  8.218e-01  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 268.433 28.797

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/268974/cmap_HighResolution_360633601_360892801_4FGL_J1753.7+2847_daily_bin468.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.60e-03', job_status='DONE', photon_flux_upper_limit='8.54e-08', time_completed='2021-09-18 20:46:08.246825', job_id='268974', GAL2='1.08', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1632023168.25', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='9.62e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='468' AND source_name='4FGL J1753.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 20:46:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 268974: <4FGL_J1753.7+2847_daily_bin468> in cluster <slac> Done

Job <4FGL_J1753.7+2847_daily_bin468> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep 18 20:30:20 2021
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 20:30: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:30:22 2021
Terminated at Sat Sep 18 20:46:09 2021
Results reported at Sat Sep 18 20:46:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.7+2847_daily_bin468 268.433 28.7967 360633601 360892801 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 :                                   928.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             346.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   946 sec.
    Turnaround time :                            949 sec.

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

