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


Performing analysis on: 4FGL_J1753.9+2443_daily_bin1215
RA = 268.496, Dec = 24.7297
tmin = 554256001, tmax = 554515201
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='291002', job_status='RUN', time_executed='2021-09-18 21:40:33.195039', time_epoch_executed='1632026433.2' WHERE source_name='4FGL J1753.9+2443' and cadence='daily' and bin_id='1215'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/291002

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/291002/ft1_4FGL_J1753.9+2443_daily_bin1215.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/291002/ft2_4FGL_J1753.9+2443_daily_bin1215.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/291002/ft1_4FGL_J1753.9+2443_daily_bin1215.fits outfile=/scratch/kocevski/291002/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin1215.fits ra=268.496 dec=24.7297 rad=12.0 tmin=554256001.0 tmax=554515201.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 4.04
user 3.79
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/291002/ft2_4FGL_J1753.9+2443_daily_bin1215.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/291002/ft2_4FGL_J1753.9+2443_daily_bin1215.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/291002/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin1215.fits evtable="EVENTS" outfile="/scratch/kocevski/291002/ft1_filtered_4FGL_J1753.9+2443_daily_bin1215.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/291002/ft1_filtered_4FGL_J1753.9+2443_daily_bin1215.fits" evtable="EVENTS" scfile=/scratch/kocevski/291002/ft2_4FGL_J1753.9+2443_daily_bin1215.fits sctable="SC_DATA" outfile=/scratch/kocevski/291002/ltcube_554256001_554515201_4FGL_J1753.9+2443_daily_bin1215.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/291002/ft2_4FGL_J1753.9+2443_daily_bin1215.fits
.....................!
real 12.09
user 11.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/291002/ft1_filtered_4FGL_J1753.9+2443_daily_bin1215.fits evtable="EVENTS" scfile=/scratch/kocevski/291002/ft2_4FGL_J1753.9+2443_daily_bin1215.fits sctable="SC_DATA" expcube=/scratch/kocevski/291002/ltcube_554256001_554515201_4FGL_J1753.9+2443_daily_bin1215.fits outfile=/scratch/kocevski/291002/expmap_554256001_554515201_4FGL_J1753.9+2443_daily_bin1215.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/291002/ltcube_554256001_554515201_4FGL_J1753.9+2443_daily_bin1215.fits
.....................!
real 191.15
user 185.89
sys 4.70

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 206 point sources and 0 extended sources

Setting source of interest to:
4FGL J1753.9+2443 @ 268.496 24.7297

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/291002/ft1_filtered_4FGL_J1753.9+2443_daily_bin1215.fits scfile=/scratch/kocevski/291002/ft2_4FGL_J1753.9+2443_daily_bin1215.fits outfile=/scratch/kocevski/291002/cmap_554256001_554515201_4FGL_J1753.9+2443_daily_bin1215.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.496 yref=24.7297 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/291002/ft1_filtered_4FGL_J1753.9+2443_daily_bin1215.fits scfile=/scratch/kocevski/291002/ft2_4FGL_J1753.9+2443_daily_bin1215.fits outfile=/scratch/kocevski/291002/cmap_HighResolution_554256001_554515201_4FGL_J1753.9+2443_daily_bin1215.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.496 yref=24.7297 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/291002/ft1_filtered_4FGL_J1753.9+2443_daily_bin1215.fits evtable="EVENTS" scfile=/scratch/kocevski/291002/ft2_4FGL_J1753.9+2443_daily_bin1215.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/291002/Model_4FGL_J1753.9+2443_daily_bin1215.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/291002/ft1_filtered_4FGL_J1753.9+2443_daily_bin1215.fits.....................!
real 64.59
user 63.25
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/291002/ft1_filtered_4FGL_J1753.9+2443_daily_bin1215.fits', '/scratch/kocevski/291002/ft2_4FGL_J1753.9+2443_daily_bin1215.fits', expMap='/scratch/kocevski/291002/expmap_554256001_554515201_4FGL_J1753.9+2443_daily_bin1215.fits', expCube='/scratch/kocevski/291002/ltcube_554256001_554515201_4FGL_J1753.9+2443_daily_bin1215.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/291002/Model_4FGL_J1753.9+2443_daily_bin1215.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1753.9+2443'

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  1.323e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
322        Index:  2.200e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.730e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/291002/ft1_filtered_4FGL_J1753.9+2443_daily_bin1215.fits
Spacecraft file(s): /scratch/kocevski/291002/ft2_4FGL_J1753.9+2443_daily_bin1215.fits
Exposure map: /scratch/kocevski/291002/expmap_554256001_554515201_4FGL_J1753.9+2443_daily_bin1215.fits
Exposure cube: /scratch/kocevski/291002/ltcube_554256001_554515201_4FGL_J1753.9+2443_daily_bin1215.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/291002/Model_4FGL_J1753.9+2443_daily_bin1215.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) = 6709.3807985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .36122E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10326E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    34.238       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    68.412       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.488       1.0000         .10000E-03   10000.    
    13 'norm      '    10.361       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12019E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    28.117       1.0000         .10000E-03   10000.    
    17 'norm      '    56.793       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10343E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1566       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .94172       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6709.371     FROM MIGRAD    STATUS=CONVERGED    412 CALLS     2369 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    47.499        .70627E-06** at limit **
   2  norm          .10000E-03    1.1557       -.10742E-06** at limit **
   3  norm          .10000E-03    222.96        .11115E-05** at limit **
   4  Prefactor     .10000E-03    64.850       -.10137E-04** at limit **
   5  Prefactor     .10000E-03    16.222        .90614E-06** at limit **
   6  Prefactor     .10000E-03    25.126       -.10426E-05** at limit **
   7  Prefactor     .10000E-03    20.645        .10433E-05** at limit **
   8  Prefactor     .10000E-03    158.33        .23606E-04** at limit **
   9  Prefactor     34.238        18.774        .18065E-06    .86070E-05
  10  norm          .10000E-03    1.0134        .94509E-07** at limit **
  11  norm          68.323        161.09       -.10040E-03   -.38646E-05
  12  Prefactor     10.490        24.766        .12177E-04    .16259E-04
  13  norm          10.363        15.467        .83692E-05    .41775E-04
  14  Prefactor     .10000E-03    17.477       -.64172E-06** at limit **
  15  Prefactor     .10000E-03    7.0749        .13939E-05** at limit **
  16  Prefactor     28.044        54.781       -.70098E-04   -.23269E-04
  17  norm          56.803        78.408        .11447E-04   -.43712E-05
  18  Prefactor     .10000E-03    45.994        .54409E-05** at limit **
  19  Normalizat    1.1568        .30512        .74947E-05   -.62691E-04
  20  Prefactor     .94164        .94891E-01    .26062E-06    .11693E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 34.2384
  norm       = 0.0001
  norm       = 68.3233
  Prefactor  = 10.4896
  norm       = 10.363
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 28.0441
  norm       = 56.8035
  Prefactor  = 0.000100002
  Normalizat = 1.15677
  Prefactor  = 0.941645
 **********
 **   18 **HESSE 
 **********

 FCN=   6709.371     FROM HESSE     STATUS=OK           283 CALLS     2652 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    47.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.1793        .85974E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    225.54        .21310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    64.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    25.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    20.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    158.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     34.238        18.789        .68485E-04   -1.4537    
  10  norm          .10000E-03    1.0137        .80531E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          68.323        161.04        .24264E-03   -1.4053    
  12  Prefactor     10.490        24.744        .12372E-03   -1.5060    
  13  norm          10.363        15.457        .12448E-03   -1.5064    
  14  Prefactor     .10000E-03    17.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.1074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     28.044        54.813        .75554E-04   -1.4648    
  17  norm          56.803        78.407        .53231E-04   -1.4199    
  18  Prefactor     .10000E-03    46.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1568        .34663        .44687E-03   -.87949    
  20  Prefactor     .94164        .10838        .15385E-03   -.94701    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.89206e-10
Minuit parameter uncertainties:
  1  7.74042e-05
  2  7.68837e-06
  3  0.000702172
  4  5.32949e-05
  5  0.000265404
  6  1.24986e-05
  7  6.54344e-05
  8  0.000586457
  9  18.7923
  10  1.26017e-05
  11  162.079
  12  24.7685
  13  15.4633
  14  3.36272e-05
  15  0.000347861
  16  54.9119
  17  78.5503
  18  0.000559822
  19  0.347314
  20  0.108408
Done.

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

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  3.424e+01  1.879e+01  1.000e-04  1.000e+04 ( 1.000e-13)
322        Index:  2.200e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.730e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
692    Prefactor:  9.416e-01  1.084e-01  0.000e+00  1.000e+01 ( 1.000e+00)
693        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
694        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
691   Normalization:  1.157e+00  3.473e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.69
Ra Dec: 268.496 24.730
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 1.51e-07 +/- 8.28e-08
Energy Flux (Fixed Index): 6.78e-05 +/- 3.72e-05

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) = 6709.06421825
delta logL = 0.306468993061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6709.05804333
delta logL = 0.312643906595

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.959       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6327       1.0000          .0000       10.000    
     3 'Normalizat'    1.0835       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95396       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6709.058     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      276 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.974        154.21        .21872E-02    .77713E-03
   2  Index         2.6319        2.3999        .10569        .17174E-03
   3  Normalizat    1.0844        .16746        .10358        .17362E-04
   4  Prefactor     .95375        .39192E-01    .34600E-01   -.12894E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.9743
  Index      = 2.63195
  Normalizat = 1.0844
  Prefactor  = 0.953746
 **********
 **   18 **HESSE 
 **********

 FCN=   6709.058     FROM HESSE     STATUS=OK            33 CALLS      309 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.974        24.639        .43745E-03   -1.4792    
   2  Index         2.6319        .67581        .38915E-02   -.49339    
   3  Normalizat    1.0844        .36097        .45907E-03   -.90254    
   4  Prefactor     .95375        .11003        .15289E-03   -.94288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15836e-08
Minuit parameter uncertainties:
  1  24.6512
  2  0.678491
  3  0.361792
  4  0.110051
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/291002': 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) = 6709.05804008
delta logL = 0.312647161956

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  2.097e+01  2.465e+01  1.000e-04  1.000e+04 ( 1.000e-13)
322        Index:  2.632e+00  6.785e-01  0.000e+00  1.000e+01 (-1.000e+00)
323        Scale:  1.730e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
692    Prefactor:  9.537e-01  1.101e-01  0.000e+00  1.000e+01 ( 1.000e+00)
693        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
694        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
691   Normalization:  1.084e+00  3.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.41
Ra Dec: 268.496 24.730
Photon Index (Free Index): 2.63 +/- 0.68
Photon Flux (Free Index): 2.33e-07 +/- 1.54e-07
Energy Flux (Free Index): 5.94e-05 +/- 3.02e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/291002/cmap_HighResolution_554256001_554515201_4FGL_J1753.9+2443_daily_bin1215.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.51e-07', energy_flux2='5.94e-05', photon_flux_error='8.28e-08', dlogl='3.13e-01', energy_flux='6.78e-05', photon_flux2='2.33e-07', job_status='DONE', time_completed='2021-09-18 21:51:37.840044', photon_index_error2='0.68', photon_index2='2.63', ts='7.69', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='3.02e-05', EG='1.16', time_epoch_completed='1632027097.84', return_code='0', job_id='291002', GAL2='0.95', EG2='1.08', return_code2='0', energy_flux_error='3.72e-05', photon_flux_error2='1.54e-07', ts2='8.41', photon_index='2.20' WHERE bin_id='1215' AND source_name='4FGL J1753.9+2443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 21:51:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 291002: <4FGL_J1753.9+2443_daily_bin1215> in cluster <slac> Done

Job <4FGL_J1753.9+2443_daily_bin1215> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 18 21:40:15 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 21:40:16 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:40:16 2021
Terminated at Sat Sep 18 21:51:38 2021
Results reported at Sat Sep 18 21:51:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.9+2443_daily_bin1215 268.496 24.7297 554256001 554515201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1753.9+2443 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   652.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             369.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   682 sec.
    Turnaround time :                            683 sec.

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

