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


Performing analysis on: 4FGL_J1753.7+2847_daily_bin504
RA = 268.433, Dec = 28.7967
tmin = 369964801, tmax = 370224001
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='269037', job_status='RUN', time_executed='2021-09-18 20:30:46.128764', time_epoch_executed='1632022246.13' WHERE source_name='4FGL J1753.7+2847' and cadence='daily' and bin_id='504'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/269037

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/269037/ft1_4FGL_J1753.7+2847_daily_bin504.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/269037/ft2_4FGL_J1753.7+2847_daily_bin504.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/269037/ft1_4FGL_J1753.7+2847_daily_bin504.fits outfile=/scratch/kocevski/269037/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin504.fits ra=268.433 dec=28.7967 rad=12.0 tmin=369964801.0 tmax=370224001.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 7.67
user 7.35
sys 0.25

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/269037/ft1_filtered_4FGL_J1753.7+2847_daily_bin504.fits" evtable="EVENTS" scfile=/scratch/kocevski/269037/ft2_4FGL_J1753.7+2847_daily_bin504.fits sctable="SC_DATA" outfile=/scratch/kocevski/269037/ltcube_369964801_370224001_4FGL_J1753.7+2847_daily_bin504.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/269037/ft2_4FGL_J1753.7+2847_daily_bin504.fits
.....................!
real 11.98
user 11.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/269037/ft1_filtered_4FGL_J1753.7+2847_daily_bin504.fits evtable="EVENTS" scfile=/scratch/kocevski/269037/ft2_4FGL_J1753.7+2847_daily_bin504.fits sctable="SC_DATA" expcube=/scratch/kocevski/269037/ltcube_369964801_370224001_4FGL_J1753.7+2847_daily_bin504.fits outfile=/scratch/kocevski/269037/expmap_369964801_370224001_4FGL_J1753.7+2847_daily_bin504.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/269037/ltcube_369964801_370224001_4FGL_J1753.7+2847_daily_bin504.fits
.....................!
real 190.07
user 185.30
sys 4.35

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/269037/ft1_filtered_4FGL_J1753.7+2847_daily_bin504.fits scfile=/scratch/kocevski/269037/ft2_4FGL_J1753.7+2847_daily_bin504.fits outfile=/scratch/kocevski/269037/cmap_369964801_370224001_4FGL_J1753.7+2847_daily_bin504.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/269037/ft1_filtered_4FGL_J1753.7+2847_daily_bin504.fits scfile=/scratch/kocevski/269037/ft2_4FGL_J1753.7+2847_daily_bin504.fits outfile=/scratch/kocevski/269037/cmap_HighResolution_369964801_370224001_4FGL_J1753.7+2847_daily_bin504.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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/269037/ft1_filtered_4FGL_J1753.7+2847_daily_bin504.fits evtable="EVENTS" scfile=/scratch/kocevski/269037/ft2_4FGL_J1753.7+2847_daily_bin504.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/269037/Model_4FGL_J1753.7+2847_daily_bin504.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/269037/ft1_filtered_4FGL_J1753.7+2847_daily_bin504.fits.....................!
real 68.55
user 67.19
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    41.725       1.0000         .10000E-03   10000.    
     3 'norm      '    7.9934       1.0000         .10000E-03   10000.    
     4 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10375E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.423       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    46.008       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .66857E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .50374E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.3416       1.0000         .10000E-03   10000.    
    15 'norm      '    1.8512       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    44.571       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10270E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2735       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96059       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=   7569.787     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2367 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.943        .11273E-05** at limit **
   2  Prefactor     41.712        51.247        .13398E-05    .10432E-04
   3  norm          7.9931        7.7627        .74296E-06    .10714E-03
   4  norm          .10000E-03    38.496        .15654E-05** at limit **
   5  Prefactor     .10000E-03    51.894       -.35149E-05** at limit **
   6  Prefactor     .10000E-03    86.683        .93203E-06** at limit **
   7  Prefactor     21.429        17.215       -.91617E-07   -.40784E-04
   8  Prefactor     .10000E-03    19.220       -.52446E-06** at limit **
   9  Prefactor     45.999        41.586        .28277E-06   -.79636E-04
  10  Prefactor     .10000E-03    230.26        .12494E-04** at limit **
  11  Prefactor     .10000E-03    10.959       -.14826E-06** at limit **
  12  norm          .40462E-01    1.2056        .55221E-06   -.86439E-03
  13  norm          .10000E-03    24.751       -.15785E-05** at limit **
  14  Prefactor     4.3413        9.1449        .28844E-05    .98226E-04
  15  norm          1.8506        6.7487       -.10035E-06   -.12165E-04
  16  Prefactor     .10000E-03    1.8814       -.56629E-08** at limit **
  17  Prefactor     44.567        28.872        .86903E-07   -.20928E-04
  18  norm          .10000E-03    31.439        .17001E-05** at limit **
  19  Prefactor     .10000E-03    26.990        .13040E-06** at limit **
  20  norm          .10000E-03    19.029       -.24363E-06** at limit **
  21  Normalizat    1.2734        .25600       -.10319E-05   -.43446E-04
  22  Prefactor     .96071        .98250E-01   -.75765E-07   -.17931E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 41.7122
  norm       = 7.99313
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.4295
  Prefactor  = 0.0001
  Prefactor  = 45.9994
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0404616
  norm       = 0.0001
  Prefactor  = 4.34126
  norm       = 1.85057
  Prefactor  = 0.0001
  Prefactor  = 44.5669
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.27339
  Prefactor  = 0.960706
 **********
 **   18 **HESSE 
 **********

 FCN=   7569.787     FROM HESSE     STATUS=OK           336 CALLS     2703 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     41.712        51.288        .62058E-04   -1.4415    
   3  norm          7.9931        7.7672        .70908E-03   -1.5142    
   4  norm          .10000E-03    38.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    52.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    86.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.429        17.222        .86537E-04   -1.4782    
   8  Prefactor     .10000E-03    19.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     45.999        41.480        .59111E-04   -1.4350    
  10  Prefactor     .10000E-03    229.75        .21005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .40462E-01    13.678        .17214E-02   -1.5668    
  13  norm          .10000E-03    24.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.3413        9.1797        .96660E-03   -1.5291    
  15  norm          1.8506        6.7001        .30642E-03   -1.5436    
  16  Prefactor     .10000E-03    1.8869        .11653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     44.567        28.802        .60053E-04   -1.4372    
  18  norm          .10000E-03    31.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    28.135        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    19.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2734        .29833        .38387E-03   -.84364    
  22  Prefactor     .96071        .11509        .17250E-03   -.94051    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.17423e-09
Minuit parameter uncertainties:
  1  1.83973e-05
  2  51.3418
  3  7.76817
  4  3.58722e-05
  5  9.60002e-05
  6  1.26398e-05
  7  17.2255
  8  1.47e-05
  9  41.5059
  10  8.22126e-05
  11  3.75193e-06
  12  1.48636
  13  3.33913e-05
  14  9.18268
  15  6.70282
  16  1.02619e-06
  17  28.8114
  18  2.03594e-05
  19  1.04042e-05
  20  4.07387e-06
  21  0.298733
  22  0.115116
Done.

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

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.000e-04  8.221e-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.607e-01  1.151e-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.273e+00  2.987e-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: 1.37e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/269037/likelihoodResults_369964801_370224001_4FGL_J1753.7+2847_daily_bin504.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) = 7569.78683572
delta logL = -2.05959777304e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7569.78681513
delta logL = -1.87628756976e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3678       1.0000          .0000       10.000    
     3 'Normalizat'    1.2734       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96071       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=   7569.787     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      235 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    9107.9        .90712E-02** at limit **
   2  Index         2.3708        5.8623        .50000       -.11139E-06
   3  Normalizat    1.2734        .56221E-01    .86690E-01    .39169E-03
   4  Prefactor     .96071        .22437E-01    .45774E-01    .70610E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010002
  Index      = 2.37082
  Normalizat = 1.27339
  Prefactor  = 0.960706
 **********
 **   18 **HESSE 
 **********

 FCN=   7569.787     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      264 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    9761.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3708        5.5672        .50000       -.55370    
   3  Normalizat    1.2734        .10603        .38387E-03   -.84364    
   4  Prefactor     .96071        .42400E-01    .17250E-03   -.94051    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.20899e-08
Minuit parameter uncertainties:
  1  0.0512788
  2  52.3803
  3  0.106049
  4  0.0424012
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/269037': 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) = 7569.78681513
delta logL = -6.39374775346e-10

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.000e-04  5.128e-02  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.371e+00  5.238e+01  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.607e-01  4.240e-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.273e+00  1.060e-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/269037/cmap_HighResolution_369964801_370224001_4FGL_J1753.7+2847_daily_bin504.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.37e-07', time_completed='2021-09-18 20:44:10.663123', job_id='269037', GAL2='0.96', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1632023050.66', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-6.39e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='504' AND source_name='4FGL J1753.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 20:44:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 269037: <4FGL_J1753.7+2847_daily_bin504> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.7+2847_daily_bin504 268.433 28.7967 369964801 370224001 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 :                                   799.11 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             328.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            827 sec.

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

