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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin511
RA = 118.491, Dec = 9.3904
tmin = 371779201, tmax = 372038401
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='992641', job_status='RUN', time_executed='2021-08-28 18:48:41.721927', time_epoch_executed='1630201721.72' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='511'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/992641

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/992641/ft1_4FGL_J0753.9+0923_daily_bin511.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/992641/ft2_4FGL_J0753.9+0923_daily_bin511.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/992641/ft1_4FGL_J0753.9+0923_daily_bin511.fits outfile=/scratch/kocevski/992641/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin511.fits ra=118.491 dec=9.3904 rad=12.0 tmin=371779201.0 tmax=372038401.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.50
user 3.14
sys 0.34

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/992641/ft2_4FGL_J0753.9+0923_daily_bin511.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/992641/ft2_4FGL_J0753.9+0923_daily_bin511.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/992641/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin511.fits evtable="EVENTS" outfile="/scratch/kocevski/992641/ft1_filtered_4FGL_J0753.9+0923_daily_bin511.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.63
user 0.33
sys 0.28

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/992641/ft1_filtered_4FGL_J0753.9+0923_daily_bin511.fits" evtable="EVENTS" scfile=/scratch/kocevski/992641/ft2_4FGL_J0753.9+0923_daily_bin511.fits sctable="SC_DATA" outfile=/scratch/kocevski/992641/ltcube_371779201_372038401_4FGL_J0753.9+0923_daily_bin511.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/992641/ft2_4FGL_J0753.9+0923_daily_bin511.fits
.....................!
real 12.12
user 11.61
sys 0.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/992641/ft1_filtered_4FGL_J0753.9+0923_daily_bin511.fits evtable="EVENTS" scfile=/scratch/kocevski/992641/ft2_4FGL_J0753.9+0923_daily_bin511.fits sctable="SC_DATA" expcube=/scratch/kocevski/992641/ltcube_371779201_372038401_4FGL_J0753.9+0923_daily_bin511.fits outfile=/scratch/kocevski/992641/expmap_371779201_372038401_4FGL_J0753.9+0923_daily_bin511.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/992641/ltcube_371779201_372038401_4FGL_J0753.9+0923_daily_bin511.fits
.....................!
real 189.98
user 185.06
sys 4.51

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
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 166 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0753.9+0923 @ 118.491 9.3904

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/992641/ft1_filtered_4FGL_J0753.9+0923_daily_bin511.fits scfile=/scratch/kocevski/992641/ft2_4FGL_J0753.9+0923_daily_bin511.fits outfile=/scratch/kocevski/992641/cmap_371779201_372038401_4FGL_J0753.9+0923_daily_bin511.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=118.491 yref=9.3904 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.68
user 0.37
sys 0.28

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/992641/ft1_filtered_4FGL_J0753.9+0923_daily_bin511.fits scfile=/scratch/kocevski/992641/ft2_4FGL_J0753.9+0923_daily_bin511.fits outfile=/scratch/kocevski/992641/cmap_HighResolution_371779201_372038401_4FGL_J0753.9+0923_daily_bin511.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=118.491 yref=9.3904 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.70
user 0.38
sys 0.28

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/992641/ft1_filtered_4FGL_J0753.9+0923_daily_bin511.fits evtable="EVENTS" scfile=/scratch/kocevski/992641/ft2_4FGL_J0753.9+0923_daily_bin511.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/992641/Model_4FGL_J0753.9+0923_daily_bin511.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
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/992641/ft1_filtered_4FGL_J0753.9+0923_daily_bin511.fits.....................!
real 108.49
user 106.73
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/992641/ft1_filtered_4FGL_J0753.9+0923_daily_bin511.fits', '/scratch/kocevski/992641/ft2_4FGL_J0753.9+0923_daily_bin511.fits', expMap='/scratch/kocevski/992641/expmap_371779201_372038401_4FGL_J0753.9+0923_daily_bin511.fits', expCube='/scratch/kocevski/992641/ltcube_371779201_372038401_4FGL_J0753.9+0923_daily_bin511.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/992641/Model_4FGL_J0753.9+0923_daily_bin511.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0753.9+0923'

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.323e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/992641/ft1_filtered_4FGL_J0753.9+0923_daily_bin511.fits
Spacecraft file(s): /scratch/kocevski/992641/ft2_4FGL_J0753.9+0923_daily_bin511.fits
Exposure map: /scratch/kocevski/992641/expmap_371779201_372038401_4FGL_J0753.9+0923_daily_bin511.fits
Exposure cube: /scratch/kocevski/992641/ltcube_371779201_372038401_4FGL_J0753.9+0923_daily_bin511.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/992641/Model_4FGL_J0753.9+0923_daily_bin511.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) = 8326.95770831

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .71090       1.0000         .10000E-03   10000.    
     3 'norm      '    2.4887       1.0000         .10000E-03   10000.    
     4 'Prefactor '    59.663       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.1249       1.0000         .10000E-03   10000.    
     7 'norm      '    1.0620       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.048       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .68708       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    84.775       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.8603       1.0000         .10000E-03   10000.    
    18 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.4677       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10900E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    14.012       1.0000         .10000E-03   10000.    
    22 'norm      '    1.7252       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3563       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .72430       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8326.940     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2704 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.445        .26619E-06** at limit **
   2  norm          .71391        1.5224        .31903E-06   -.18730E-04
   3  norm          2.4891        1.2229        .14087E-07   -.99700E-04
   4  Prefactor     59.626        45.545       -.61987E-06   -.20621E-03
   5  Prefactor     .10000E-03    11.624        .81083E-07** at limit **
   6  norm          1.1245        1.8399       -.49001E-06   -.27562E-03
   7  norm          1.0635        1.4696        .20439E-06    .18450E-06
   8  Prefactor     13.052        11.917        .17863E-05   -.17153E-03
   9  Prefactor     .10000E-03    26.275       -.26334E-06** at limit **
  10  Prefactor     .10000E-03    19.949        .21094E-06** at limit **
  11  Prefactor     .68604        2.5953        .18726E-05   -.15930E-03
  12  norm          .10000E-03    5.8059       -.11904E-07** at limit **
  13  Prefactor     .10000E-03    10.364       -.13120E-06** at limit **
  14  Prefactor     .10000E-03    36.285        .11610E-06** at limit **
  15  norm          84.778        102.29        .34816E-06    .50142E-05
  16  Prefactor     .10000E-03    24.312       -.16351E-06** at limit **
  17  norm          6.8605        8.0683        .23186E-06   -.17867E-04
  18  norm          .10000E-03    12.790       -.12325E-06** at limit **
  19  norm          4.4680        2.7349        .14492E-07   -.15267E-04
  20  Prefactor     .10000E-03    76.692        .12610E-06** at limit **
  21  Prefactor     14.006        13.750        .27291E-06   -.30260E-04
  22  norm          1.7252        .89649        .48459E-07   -.60570E-04
  23  Normalizat    1.3565        .17820       -.17753E-05   -.59588E-04
  24  Prefactor     .72409        .10730        .48431E-06   -.26368E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.713914
  norm       = 2.48912
  Prefactor  = 59.6256
  Prefactor  = 0.0001
  norm       = 1.12449
  norm       = 1.06351
  Prefactor  = 13.0522
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.686044
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 84.7783
  Prefactor  = 0.0001
  norm       = 6.86052
  norm       = 0.0001
  norm       = 4.46796
  Prefactor  = 0.0001
  Prefactor  = 14.0059
  norm       = 1.72521
  Normalizat = 1.35648
  Prefactor  = 0.724087
 **********
 **   18 **HESSE 
 **********

 FCN=   8326.940     FROM HESSE     STATUS=OK           397 CALLS     3101 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    36.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .71391        1.5040        .15095E-03   -1.5539    
   3  norm          2.4891        1.2194        .67475E-04   -1.5392    
   4  Prefactor     59.626        45.340        .51942E-04   -1.4162    
   5  Prefactor     .10000E-03    11.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.1245        1.7680        .11251E-03   -1.5496    
   7  norm          1.0635        1.4401        .12230E-03   -1.5502    
   8  Prefactor     13.052        11.697        .55444E-03   -1.4985    
   9  Prefactor     .10000E-03    26.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .68604        2.5906        .26372E-03   -1.5542    
  12  norm          .10000E-03    5.8179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    36.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          84.778        102.30        .43630E-04   -1.3864    
  16  Prefactor     .10000E-03    24.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.8605        8.0679        .15318E-03   -1.5184    
  18  norm          .10000E-03    12.848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.4680        2.7355        .11451E-03   -1.5285    
  20  Prefactor     .10000E-03    77.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     14.006        13.816        .10700E-03   -1.4959    
  22  norm          1.7252        .89033        .60069E-04   -1.5445    
  23  Normalizat    1.3565        .19966        .26307E-03   -.81896    
  24  Prefactor     .72409        .12128        .21418E-03   -1.0259    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81279e-10
Minuit parameter uncertainties:
  1  9.36359e-05
  2  1.50407
  3  1.21943
  4  45.3659
  5  5.10291e-05
  6  1.76806
  7  1.44017
  8  11.6992
  9  0.000143474
  10  9.98692e-05
  11  2.591
  12  3.44361e-06
  13  2.88634e-05
  14  7.56032e-05
  15  102.512
  16  5.5057e-05
  17  8.06919
  18  4.48714e-05
  19  2.73556
  20  7.65748e-05
  21  13.8196
  22  0.890341
  23  0.199774
  24  0.121324
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.000e-04  3.444e-06  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  7.241e-01  1.213e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.356e+00  1.998e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 118.491 9.390
Photon Flux Upper Limit: 3.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.59e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/992641/likelihoodResults_371779201_372038401_4FGL_J0753.9+0923_daily_bin511.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) = 8326.94042631
delta logL = -0.000817065216324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8326.93960914
delta logL = 9.73032001639e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4447       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3565       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72407       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8326.940     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      238 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    282.63        .18142E-01** at limit **
   2  alpha         1.5597        2.8962        .16466        .10509E-06
   3  Normalizat    1.3565        .26734E-01    .26307E-03   -.22126E-04
   4  Prefactor     .72409        .16538E-01    .21418E-03   -.27813E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100004
  alpha      = 1.55974
  Normalizat = 1.35648
  Prefactor  = 0.724088
 **********
 **   18 **HESSE 
 **********

 FCN=   8326.940     FROM HESSE     STATUS=OK            23 CALLS      261 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.9106        .26239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5597        3.7274        .65863E-02   -.38559    
   3  Normalizat    1.3565        .18485        .10523E-04   -.81896    
   4  Prefactor     .72409        .11437        .85673E-05   -1.0259    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.97758e-10
Minuit parameter uncertainties:
  1  0.000392317
  2  386.312
  3  0.184945
  4  0.114408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/992641': 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) = 8326.93960638
delta logL = 2.86146496364e-06

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.000e-04  3.923e-04  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  1.560e+00  3.863e+02  0.000e+00  5.000e+00 ( 1.000e+00)
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  7.241e-01  1.144e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.356e+00  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 118.491 9.390

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/992641/cmap_HighResolution_371779201_372038401_4FGL_J0753.9+0923_daily_bin511.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.59e-05', job_status='DONE', photon_flux_upper_limit='3.44e-08', time_completed='2021-08-28 19:02:06.802149', job_id='992641', GAL2='0.72', fit_tolerance='1e-08', EG2='1.36', EG='1.36', time_epoch_completed='1630202526.8', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='2.86e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='511' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:02:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 992641: <4FGL_J0753.9+0923_daily_bin511> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin511> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 18:45:37 2021
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:45:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 18:45:40 2021
Terminated at Sat Aug 28 19:02:07 2021
Results reported at Sat Aug 28 19:02:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin511 118.491 9.3904 371779201 372038401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0753.9+0923 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   805.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   987 sec.
    Turnaround time :                            990 sec.

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

