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


Performing analysis on: 4FGL_J1753.9+2443_daily_bin872
RA = 268.496, Dec = 24.7297
tmin = 465350401, tmax = 465609601
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='288245', job_status='RUN', time_executed='2021-09-18 21:30:53.353085', time_epoch_executed='1632025853.35' WHERE source_name='4FGL J1753.9+2443' and cadence='daily' and bin_id='872'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/288245

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/288245/ft1_4FGL_J1753.9+2443_daily_bin872.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/288245/ft2_4FGL_J1753.9+2443_daily_bin872.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/288245/ft1_4FGL_J1753.9+2443_daily_bin872.fits outfile=/scratch/kocevski/288245/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin872.fits ra=268.496 dec=24.7297 rad=12.0 tmin=465350401.0 tmax=465609601.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.42
user 3.21
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/288245/ft2_4FGL_J1753.9+2443_daily_bin872.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/288245/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin872.fits evtable="EVENTS" outfile="/scratch/kocevski/288245/ft1_filtered_4FGL_J1753.9+2443_daily_bin872.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/288245/ft1_filtered_4FGL_J1753.9+2443_daily_bin872.fits" evtable="EVENTS" scfile=/scratch/kocevski/288245/ft2_4FGL_J1753.9+2443_daily_bin872.fits sctable="SC_DATA" outfile=/scratch/kocevski/288245/ltcube_465350401_465609601_4FGL_J1753.9+2443_daily_bin872.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/288245/ft2_4FGL_J1753.9+2443_daily_bin872.fits
.....................!
real 12.02
user 11.68
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/288245/ft1_filtered_4FGL_J1753.9+2443_daily_bin872.fits evtable="EVENTS" scfile=/scratch/kocevski/288245/ft2_4FGL_J1753.9+2443_daily_bin872.fits sctable="SC_DATA" expcube=/scratch/kocevski/288245/ltcube_465350401_465609601_4FGL_J1753.9+2443_daily_bin872.fits outfile=/scratch/kocevski/288245/expmap_465350401_465609601_4FGL_J1753.9+2443_daily_bin872.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/288245/ltcube_465350401_465609601_4FGL_J1753.9+2443_daily_bin872.fits
.....................!
real 190.34
user 185.21
sys 4.73

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/288245/ft1_filtered_4FGL_J1753.9+2443_daily_bin872.fits scfile=/scratch/kocevski/288245/ft2_4FGL_J1753.9+2443_daily_bin872.fits outfile=/scratch/kocevski/288245/cmap_465350401_465609601_4FGL_J1753.9+2443_daily_bin872.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/288245/ft1_filtered_4FGL_J1753.9+2443_daily_bin872.fits scfile=/scratch/kocevski/288245/ft2_4FGL_J1753.9+2443_daily_bin872.fits outfile=/scratch/kocevski/288245/cmap_HighResolution_465350401_465609601_4FGL_J1753.9+2443_daily_bin872.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.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/288245/ft1_filtered_4FGL_J1753.9+2443_daily_bin872.fits', '/scratch/kocevski/288245/ft2_4FGL_J1753.9+2443_daily_bin872.fits', expMap='/scratch/kocevski/288245/expmap_465350401_465609601_4FGL_J1753.9+2443_daily_bin872.fits', expCube='/scratch/kocevski/288245/ltcube_465350401_465609601_4FGL_J1753.9+2443_daily_bin872.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/288245/Model_4FGL_J1753.9+2443_daily_bin872.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/288245/ft1_filtered_4FGL_J1753.9+2443_daily_bin872.fits
Spacecraft file(s): /scratch/kocevski/288245/ft2_4FGL_J1753.9+2443_daily_bin872.fits
Exposure map: /scratch/kocevski/288245/expmap_465350401_465609601_4FGL_J1753.9+2443_daily_bin872.fits
Exposure cube: /scratch/kocevski/288245/ltcube_465350401_465609601_4FGL_J1753.9+2443_daily_bin872.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/288245/Model_4FGL_J1753.9+2443_daily_bin872.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) = 10227.0675354

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10321E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    7.7239       1.0000         .10000E-03   10000.    
     3 'norm      '    14.520       1.0000         .10000E-03   10000.    
     4 'Prefactor '    199.74       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .32705E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.6920       1.0000         .10000E-03   10000.    
    10 'norm      '    5.4070       1.0000         .10000E-03   10000.    
    11 'norm      '    52.638       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    16.644       1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.025       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.451       1.0000         .10000E-03   10000.    
    17 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.7509       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0605       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .98017       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=   10227.06     FROM MIGRAD    STATUS=CONVERGED    441 CALLS     2343 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.524        .71763E-08** at limit **
   2  norm          7.7233        3.7486       -.51877E-07   -.18766E-04
   3  norm          14.523        37.208       -.14742E-06   -.47540E-05
   4  Prefactor     199.64        104.11       -.27635E-05   -.14201E-03
   5  Prefactor     .10021E-03    12.052       -.14470E-05** at limit **
   6  Prefactor     .10000E-03    49.975       -.13600E-08** at limit **
   7  Prefactor     .10000E-03    18.339       -.23981E-06** at limit **
   8  Prefactor     .10000E-03    30.839       -.81909E-07** at limit **
   9  Prefactor     4.6903        4.6211       -.17271E-05    .15209E-03
  10  norm          5.4071        2.5193        .26045E-06    .29145E-03
  11  norm          52.624        68.075        .42493E-05    .46531E-04
  12  Prefactor     .10000E-03    3.1947       -.11225E-06** at limit **
  13  norm          16.640        9.7368        .49459E-07    .46955E-05
  14  Prefactor     24.014        24.614        .96806E-06    .78883E-04
  15  Prefactor     .10000E-03    2.2634       -.75462E-07** at limit **
  16  Prefactor     26.453        21.702       -.52273E-06   -.29744E-05
  17  norm          .10000E-03    7.7028       -.17451E-08** at limit **
  18  Prefactor     7.7448        8.5754       -.92224E-07   -.90996E-05
  19  Normalizat    1.0605        .23615        .54881E-05    .20883E-04
  20  Prefactor     .98022        .81137E-01   -.12861E-05    .56029E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 7.72331
  norm       = 14.5226
  Prefactor  = 199.636
  Prefactor  = 0.000100209
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.69033
  norm       = 5.40712
  norm       = 52.6243
  Prefactor  = 0.0001
  norm       = 16.6401
  Prefactor  = 24.0139
  Prefactor  = 0.0001
  Prefactor  = 26.4526
  norm       = 0.0001
  Prefactor  = 7.7448
  Normalizat = 1.06052
  Prefactor  = 0.980218
 **********
 **   18 **HESSE 
 **********

 FCN=   10227.06     FROM HESSE     STATUS=OK           295 CALLS     2638 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.7233        3.7488        .13225E-03   -1.5152    
   3  norm          14.523        37.211        .10511E-03   -1.4946    
   4  Prefactor     199.64        107.59        .14295E-03   -1.2873    
   5  Prefactor     .10021E-03    17.006        .93124E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    50.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    30.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.6903        4.6295        .92890E-03   -1.5275    
  10  norm          5.4071        2.5293        .10527E-03   -1.5243    
  11  norm          52.624        70.043        .55281E-04   -1.4256    
  12  Prefactor     .10000E-03    3.2292        .17657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          16.640        9.7358        .98172E-04   -1.4892    
  14  Prefactor     24.014        24.660        .81724E-04   -1.4727    
  15  Prefactor     .10000E-03    2.2951        .14848E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     26.453        21.702        .77892E-04   -1.4679    
  17  norm          .10000E-03    7.7035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.7448        8.5715        .14403E-03   -1.5151    
  19  Normalizat    1.0605        .25443        .41815E-03   -.91030    
  20  Prefactor     .98022        .88483E-01    .15617E-03   -.93392    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79683e-10
Minuit parameter uncertainties:
  1  1.82239e-05
  2  3.74892
  3  37.2702
  4  107.695
  5  0.00376924
  6  5.13046e-05
  7  2.32849e-05
  8  1.99306e-05
  9  4.62981
  10  2.52935
  11  70.153
  12  1.62618e-05
  13  9.73672
  14  24.6705
  15  5.54425e-06
  16  21.7088
  17  2.43012e-07
  18  8.57288
  19  0.254723
  20  0.0884961
Done.

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

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  4.690e+00  4.630e+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

GAL_V02
   Spectrum: PowerLaw
692    Prefactor:  9.802e-01  8.850e-02  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.061e+00  2.547e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.17
Ra Dec: 268.496 24.730
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 2.07e-08 +/- 2.04e-08
Energy Flux (Fixed Index): 9.29e-06 +/- 9.17e-06

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) = 10224.4382628
delta logL = 2.62049686354

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10224.2804911
delta logL = 2.77826861851

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7596       1.0000         .10000E-03   10000.    
     2 'Index     '    .60734       1.0000          .0000       10.000    
     3 'Normalizat'    1.0728       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97983       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=   10224.28     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      224 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7523        1.9009        .78975E-02   -.96184E-03
   2  Index         .60606        .44180        .34221       -.11687E-04
   3  Normalizat    1.0728        .21375        .93895E-01    .33193E-04
   4  Prefactor     .97984        .77516E-01    .35344E-01   -.48103E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.75235
  Index      = 0.606057
  Normalizat = 1.07277
  Prefactor  = 0.979841
 **********
 **   18 **HESSE 
 **********

 FCN=   10224.28     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7523        3.2769        .12942E-03   -1.5443    
   2  Index         .60606        .67254        .16782E-01   -1.0733    
   3  Normalizat    1.0728        .23913        .41594E-03   -.90631    
   4  Prefactor     .97984        .86964E-01    .15617E-03   -.93405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40452e-11
Minuit parameter uncertainties:
  1  3.27719
  2  0.681784
  3  0.239371
  4  0.0869763
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/288245': 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) = 10224.2804892
delta logL = 2.77827051763

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  1.752e+00  3.277e+00  1.000e-04  1.000e+04 ( 1.000e-13)
322        Index:  6.061e-01  6.818e-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.798e-01  8.698e-02  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.073e+00  2.394e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.72
Ra Dec: 268.496 24.730
Photon Index (Free Index): 0.61 +/- 0.68
Photon Flux (Free Index): 3.55e-09 +/- 3.64e-09
Energy Flux (Free Index): 1.08e-04 +/- 1.31e-04

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/288245/cmap_HighResolution_465350401_465609601_4FGL_J1753.9+2443_daily_bin872.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.07e-08', energy_flux2='1.08e-04', photon_flux_error='2.04e-08', dlogl='2.78e+00', energy_flux='9.29e-06', photon_flux2='3.55e-09', job_status='DONE', time_completed='2021-09-18 21:44:50.053776', photon_index_error2='0.68', photon_index2='0.61', ts='5.17', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.31e-04', EG='1.06', time_epoch_completed='1632026690.05', return_code='0', job_id='288245', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='9.17e-06', photon_flux_error2='3.64e-09', ts2='10.72', photon_index='2.20' WHERE bin_id='872' AND source_name='4FGL J1753.9+2443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 21:44:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 288245: <4FGL_J1753.9+2443_daily_bin872> in cluster <slac> Done

Job <4FGL_J1753.9+2443_daily_bin872> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 18 21:30:40 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 21:30:41 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:30:41 2021
Terminated at Sat Sep 18 21:44:50 2021
Results reported at Sat Sep 18 21:44:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.9+2443_daily_bin872 268.496 24.7297 465350401 465609601 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 :                                   832.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             371.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            850 sec.

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

