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


Performing analysis on: 4FGL_J1753.9+2443_daily_bin980
RA = 268.496, Dec = 24.7297
tmin = 493344001, tmax = 493603201
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='289460', job_status='RUN', time_executed='2021-09-18 21:35:41.908622', time_epoch_executed='1632026141.91' WHERE source_name='4FGL J1753.9+2443' and cadence='daily' and bin_id='980'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/289460

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/289460/ft1_4FGL_J1753.9+2443_daily_bin980.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/289460/ft2_4FGL_J1753.9+2443_daily_bin980.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/289460/ft1_4FGL_J1753.9+2443_daily_bin980.fits outfile=/scratch/kocevski/289460/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin980.fits ra=268.496 dec=24.7297 rad=12.0 tmin=493344001.0 tmax=493603201.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.51
user 4.25
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/289460/ft2_4FGL_J1753.9+2443_daily_bin980.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/289460/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin980.fits evtable="EVENTS" outfile="/scratch/kocevski/289460/ft1_filtered_4FGL_J1753.9+2443_daily_bin980.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/289460/ft1_filtered_4FGL_J1753.9+2443_daily_bin980.fits" evtable="EVENTS" scfile=/scratch/kocevski/289460/ft2_4FGL_J1753.9+2443_daily_bin980.fits sctable="SC_DATA" outfile=/scratch/kocevski/289460/ltcube_493344001_493603201_4FGL_J1753.9+2443_daily_bin980.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/289460/ft2_4FGL_J1753.9+2443_daily_bin980.fits
.....................!
real 11.81
user 11.42
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/289460/ft1_filtered_4FGL_J1753.9+2443_daily_bin980.fits evtable="EVENTS" scfile=/scratch/kocevski/289460/ft2_4FGL_J1753.9+2443_daily_bin980.fits sctable="SC_DATA" expcube=/scratch/kocevski/289460/ltcube_493344001_493603201_4FGL_J1753.9+2443_daily_bin980.fits outfile=/scratch/kocevski/289460/expmap_493344001_493603201_4FGL_J1753.9+2443_daily_bin980.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/289460/ltcube_493344001_493603201_4FGL_J1753.9+2443_daily_bin980.fits
.....................!
real 191.03
user 185.69
sys 4.95

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/289460/ft1_filtered_4FGL_J1753.9+2443_daily_bin980.fits scfile=/scratch/kocevski/289460/ft2_4FGL_J1753.9+2443_daily_bin980.fits outfile=/scratch/kocevski/289460/cmap_493344001_493603201_4FGL_J1753.9+2443_daily_bin980.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/289460/ft1_filtered_4FGL_J1753.9+2443_daily_bin980.fits scfile=/scratch/kocevski/289460/ft2_4FGL_J1753.9+2443_daily_bin980.fits outfile=/scratch/kocevski/289460/cmap_HighResolution_493344001_493603201_4FGL_J1753.9+2443_daily_bin980.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/289460/ft1_filtered_4FGL_J1753.9+2443_daily_bin980.fits evtable="EVENTS" scfile=/scratch/kocevski/289460/ft2_4FGL_J1753.9+2443_daily_bin980.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/289460/Model_4FGL_J1753.9+2443_daily_bin980.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/289460/ft1_filtered_4FGL_J1753.9+2443_daily_bin980.fits.....................!
real 84.38
user 82.96
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13802E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .25268       1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15883E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10716E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.1057       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.568       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.3576       1.0000         .10000E-03   10000.    
    10 'norm      '    1.1956       1.0000         .10000E-03   10000.    
    11 'norm      '    .10276E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .55954       1.0000         .10000E-03   10000.    
    13 'norm      '    .11322E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.8586       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .47713E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    32.628       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.2444       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3228       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .85635       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=   10030.26     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     2135 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    60.587       -.11581E-04** at limit **
   2  norm          .25245        1.4593       -.10697E-05   -.83181E-03
   3  norm          .10000E-03    18.389       -.64013E-06** at limit **
   4  Prefactor     .10000E-03    55.735        .10666E-04** at limit **
   5  Prefactor     .10000E-03    5.6780        .39704E-07** at limit **
   6  Prefactor     .10000E-03    35.033       -.18506E-04** at limit **
   7  Prefactor     2.9031        106.77       -.19499E-05   -.34674E-04
   8  Prefactor     21.903        71.506        .45466E-05    .11778E-04
   9  Prefactor     3.3517        8.9176        .11113E-05   -.20894E-03
  10  norm          1.1956        1.2814        .22095E-07    .11661E-03
  11  norm          .10000E-03    34.638        .17394E-04** at limit **
  12  Prefactor     .56162        3.5410       -.15543E-05   -.46433E-03
  13  norm          .10000E-03    17.934        .40989E-06** at limit **
  14  Prefactor     9.8542        22.167       -.40047E-05   -.16400E-04
  15  Prefactor     .10000E-03    5.0278        .51095E-06** at limit **
  16  Prefactor     32.667        27.295       -.12902E-05   -.91426E-04
  17  norm          .10000E-03    11.762        .13218E-07** at limit **
  18  Prefactor     4.2431        8.9604        .41051E-05   -.19031E-03
  19  Normalizat    1.3232        .21985       -.98801E-08    .94831E-04
  20  Prefactor     .85632        .73145E-01    .40950E-07    .19306E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.252445
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.90307
  Prefactor  = 21.9033
  Prefactor  = 3.35168
  norm       = 1.19561
  norm       = 0.0001
  Prefactor  = 0.561615
  norm       = 0.0001
  Prefactor  = 9.85419
  Prefactor  = 0.000100003
  Prefactor  = 32.6668
  norm       = 0.0001
  Prefactor  = 4.24312
  Normalizat = 1.32315
  Prefactor  = 0.856321
 **********
 **   18 **HESSE 
 **********

 FCN=   10030.26     FROM HESSE     STATUS=OK           305 CALLS     2440 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    60.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .25245        3.2931        .23792E-02   -1.5607    
   3  norm          .10000E-03    18.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    55.675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.6870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    34.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.9031        98.372        .23010E-03   -1.5367    
   8  Prefactor     21.903        68.604        .86247E-04   -1.4772    
   9  Prefactor     3.3517        8.8795        .22085E-03   -1.5342    
  10  norm          1.1956        1.2821        .11414E-03   -1.5489    
  11  norm          .10000E-03    34.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .56162        9.4541        .36261E-02   -1.5558    
  13  norm          .10000E-03    18.635        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.8542        22.241        .12762E-03   -1.5080    
  15  Prefactor     .10000E-03    5.8979        .56794E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     32.667        27.348        .70150E-04   -1.4564    
  17  norm          .10000E-03    11.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.2431        8.8443        .19558E-03   -1.5296    
  19  Normalizat    1.3232        .25672        .37644E-03   -.82878    
  20  Prefactor     .85632        .86015E-01    .15637E-03   -.97684    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09723e-09
Minuit parameter uncertainties:
  1  3.48075e-05
  2  1.8233
  3  3.25874e-07
  4  8.20611e-06
  5  2.38006e-07
  6  1.60529e-06
  7  33.8584
  8  68.8526
  9  8.88297
  10  1.28215
  11  3.30579e-06
  12  4.60894
  13  4.14775e-05
  14  22.2592
  15  0.000283183
  16  27.3588
  17  9.94595e-06
  18  8.84699
  19  0.256968
  20  0.0860288
Done.

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

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  3.352e+00  8.883e+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:  8.563e-01  8.603e-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.323e+00  2.570e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.16
Ra Dec: 268.496 24.730
Photon Flux Upper Limit: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/289460/likelihoodResults_493344001_493603201_4FGL_J1753.9+2443_daily_bin980.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) = 10030.2636401
delta logL = 0.000309563025439

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10030.2634893
delta logL = 0.000460359309727

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5163       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1611       1.0000          .0000       10.000    
     3 'Normalizat'    1.3239       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85627       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=   10030.26     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      228 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5220        318.07        .53897E-02    .21262E-03
   2  Index         2.1569        6.0725        .24938        .53059E-04
   3  Normalizat    1.3238        .47503E-01    .85006E-01    .61320E-04
   4  Prefactor     .85618        .15755E-01    .44445E-01    .34815E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.522
  Index      = 2.15686
  Normalizat = 1.32382
  Prefactor  = 0.856179
 **********
 **   18 **HESSE 
 **********

 FCN=   10030.26     FROM HESSE     STATUS=OK            31 CALLS      259 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5220        11.712        .21559E-03   -1.5333    
   2  Index         2.1569        1.5027        .13708E-01   -.60484    
   3  Normalizat    1.3238        .24643        .37636E-03   -.82858    
   4  Prefactor     .85618        .84779E-01    .15638E-03   -.97690    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43048e-11
Minuit parameter uncertainties:
  1  11.7193
  2  1.53831
  3  0.246648
  4  0.0847922
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/289460': 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) = 10030.263481
delta logL = 0.000468711705253

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  3.522e+00  1.172e+01  1.000e-04  1.000e+04 ( 1.000e-13)
322        Index:  2.157e+00  1.538e+00  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:  8.562e-01  8.479e-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.324e+00  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
Ra Dec: 268.496 24.730

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/289460/cmap_HighResolution_493344001_493603201_4FGL_J1753.9+2443_daily_bin980.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.18e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2021-09-18 21:50:19.485818', job_id='289460', GAL2='0.86', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1632027019.49', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='4.69e-04', ts2='0.16', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='980' AND source_name='4FGL J1753.9+2443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 21:50:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 289460: <4FGL_J1753.9+2443_daily_bin980> in cluster <slac> Done

Job <4FGL_J1753.9+2443_daily_bin980> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 18 21:35:22 2021
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 21:35:24 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:35:24 2021
Terminated at Sat Sep 18 21:50:19 2021
Results reported at Sat Sep 18 21:50:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.9+2443_daily_bin980 268.496 24.7297 493344001 493603201 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 :                                   875.05 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             368.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   895 sec.
    Turnaround time :                            897 sec.

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

