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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin454
RA = 118.491, Dec = 9.3904
tmin = 357004801, tmax = 357264001
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='992515', job_status='RUN', time_executed='2021-08-28 18:48:45.620578', time_epoch_executed='1630201725.62' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='454'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/992515

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/992515/ft1_4FGL_J0753.9+0923_daily_bin454.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/992515/ft2_4FGL_J0753.9+0923_daily_bin454.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/992515/ft1_4FGL_J0753.9+0923_daily_bin454.fits outfile=/scratch/kocevski/992515/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin454.fits ra=118.491 dec=9.3904 rad=12.0 tmin=357004801.0 tmax=357264001.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.66
user 3.71
sys 0.90

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/992515/ft2_4FGL_J0753.9+0923_daily_bin454.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/992515/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin454.fits evtable="EVENTS" outfile="/scratch/kocevski/992515/ft1_filtered_4FGL_J0753.9+0923_daily_bin454.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 1.21
user 0.32
sys 0.85

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/992515/ft1_filtered_4FGL_J0753.9+0923_daily_bin454.fits" evtable="EVENTS" scfile=/scratch/kocevski/992515/ft2_4FGL_J0753.9+0923_daily_bin454.fits sctable="SC_DATA" outfile=/scratch/kocevski/992515/ltcube_357004801_357264001_4FGL_J0753.9+0923_daily_bin454.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/992515/ft2_4FGL_J0753.9+0923_daily_bin454.fits
.....................!
real 13.03
user 11.86
sys 1.11

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/992515/ft1_filtered_4FGL_J0753.9+0923_daily_bin454.fits evtable="EVENTS" scfile=/scratch/kocevski/992515/ft2_4FGL_J0753.9+0923_daily_bin454.fits sctable="SC_DATA" expcube=/scratch/kocevski/992515/ltcube_357004801_357264001_4FGL_J0753.9+0923_daily_bin454.fits outfile=/scratch/kocevski/992515/expmap_357004801_357264001_4FGL_J0753.9+0923_daily_bin454.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/992515/ltcube_357004801_357264001_4FGL_J0753.9+0923_daily_bin454.fits
.....................!
real 191.09
user 185.41
sys 5.22

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/992515/ft1_filtered_4FGL_J0753.9+0923_daily_bin454.fits scfile=/scratch/kocevski/992515/ft2_4FGL_J0753.9+0923_daily_bin454.fits outfile=/scratch/kocevski/992515/cmap_357004801_357264001_4FGL_J0753.9+0923_daily_bin454.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 1.23
user 0.37
sys 0.84

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/992515/ft1_filtered_4FGL_J0753.9+0923_daily_bin454.fits scfile=/scratch/kocevski/992515/ft2_4FGL_J0753.9+0923_daily_bin454.fits outfile=/scratch/kocevski/992515/cmap_HighResolution_357004801_357264001_4FGL_J0753.9+0923_daily_bin454.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 1.21
user 0.37
sys 0.83

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/992515/ft1_filtered_4FGL_J0753.9+0923_daily_bin454.fits evtable="EVENTS" scfile=/scratch/kocevski/992515/ft2_4FGL_J0753.9+0923_daily_bin454.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/992515/Model_4FGL_J0753.9+0923_daily_bin454.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/992515/ft1_filtered_4FGL_J0753.9+0923_daily_bin454.fits.....................!
real 83.88
user 81.47
sys 2.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/992515/ft1_filtered_4FGL_J0753.9+0923_daily_bin454.fits', '/scratch/kocevski/992515/ft2_4FGL_J0753.9+0923_daily_bin454.fits', expMap='/scratch/kocevski/992515/expmap_357004801_357264001_4FGL_J0753.9+0923_daily_bin454.fits', expCube='/scratch/kocevski/992515/ltcube_357004801_357264001_4FGL_J0753.9+0923_daily_bin454.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/992515/Model_4FGL_J0753.9+0923_daily_bin454.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/992515/ft1_filtered_4FGL_J0753.9+0923_daily_bin454.fits
Spacecraft file(s): /scratch/kocevski/992515/ft2_4FGL_J0753.9+0923_daily_bin454.fits
Exposure map: /scratch/kocevski/992515/expmap_357004801_357264001_4FGL_J0753.9+0923_daily_bin454.fits
Exposure cube: /scratch/kocevski/992515/ltcube_357004801_357264001_4FGL_J0753.9+0923_daily_bin454.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/992515/Model_4FGL_J0753.9+0923_daily_bin454.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) = 6242.40033575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.3829       1.0000         .10000E-03   10000.    
     3 'norm      '    2.7920       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.1315       1.0000         .10000E-03   10000.    
     7 'norm      '    .61807       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .99556       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11186E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    17.302       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.8018       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    136.76       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10587E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.8863       1.0000         .10000E-03   10000.    
    19 'norm      '    .10850E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    45.964       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1475       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87680       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=   6242.373     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     2748 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    54.871       -.11953E-05** at limit **
   2  norm          2.3829        2.4040        .24470E-06   -.14445E-03
   3  norm          2.7917        1.5771        .69768E-06   -.66971E-03
   4  Prefactor     .10000E-03    38.874        .90528E-06** at limit **
   5  Prefactor     .10000E-03    24.690       -.12588E-06** at limit **
   6  norm          7.1297        3.1013       -.14727E-06   -.73097E-03
   7  norm          .61842        1.4091        .57273E-06    .36731E-04
   8  Prefactor     .97138        11.603        .66198E-06   -.17105E-03
   9  Prefactor     .10000E-03    23.197       -.20239E-06** at limit **
  10  Prefactor     .10000E-03    47.908        .13269E-06** at limit **
  11  Prefactor     .10000E-03    2.1257        .13196E-06** at limit **
  12  norm          17.307        17.537        .15639E-08   -.81716E-05
  13  Prefactor     4.8006        12.868        .35800E-06   -.28284E-04
  14  Prefactor     .10000E-03    46.673        .26907E-06** at limit **
  15  norm          136.74        118.76        .23709E-07   -.34164E-04
  16  Prefactor     .10000E-03    22.647       -.23107E-06** at limit **
  17  norm          .10000E-03    18.960        .83671E-06** at limit **
  18  norm          6.8865        20.783        .13877E-06   -.10380E-04
  19  norm          .10000E-03    2.2542        .10615E-06** at limit **
  20  Prefactor     45.958        53.117        .56026E-07   -.40520E-04
  21  Prefactor     .10000E-03    4.7551       -.10487E-07** at limit **
  22  norm          .10000E-03    .38054        .48880E-07** at limit **
  23  Normalizat    1.1477        .20542       -.46075E-06   -.21077E-03
  24  Prefactor     .87673        .12534       -.76806E-06   -.18515E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  norm       = 2.38292
  norm       = 2.79167
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 7.12969
  norm       = 0.618416
  Prefactor  = 0.971377
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.3074
  Prefactor  = 4.80062
  Prefactor  = 0.0001
  norm       = 136.736
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.88647
  norm       = 0.0001
  Prefactor  = 45.9584
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.14765
  Prefactor  = 0.876727
 **********
 **   18 **HESSE 
 **********

 FCN=   6242.373     FROM HESSE     STATUS=OK           395 CALLS     3143 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    55.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.3829        2.4069        .11369E-03   -1.5399    
   3  norm          2.7917        1.5596        .34896E-03   -1.5374    
   4  Prefactor     .10000E-03    39.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    24.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.1297        3.9135        .63175E-04   -1.5174    
   7  norm          .61842        1.3846        .13578E-03   -1.5551    
   8  Prefactor     .97138        107.09        .35349E-02   -1.5511    
   9  Prefactor     .10000E-03    23.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    48.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.8952        .21876E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          17.307        17.495        .96287E-04   -1.4876    
  13  Prefactor     4.8006        12.793        .18359E-03   -1.5270    
  14  Prefactor     .10000E-03    46.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          136.74        118.82        .17221E-03   -1.3364    
  16  Prefactor     .10000E-03    22.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    19.690        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.8865        20.670        .15289E-03   -1.5183    
  19  norm          .10000E-03    7.3129        .23044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     45.958        53.588        .59139E-04   -1.4351    
  21  Prefactor     .10000E-03    4.7591        .16825E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    .56479        .94850E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1477        .23946        .28493E-03   -.88236    
  24  Prefactor     .87673        .14539        .20241E-03   -.96959    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.00427e-10
Minuit parameter uncertainties:
  1  0.00081408
  2  2.407
  3  1.55965
  4  0.000538195
  5  6.57636e-05
  6  3.91365
  7  1.38465
  8  20.4351
  9  0.000100823
  10  6.0382e-05
  11  1.71018e-05
  12  17.5005
  13  12.7999
  14  0.000171268
  15  119.024
  16  9.37623e-05
  17  0.000119838
  18  20.6916
  19  2.86506e-06
  20  53.6447
  21  2.92582e-06
  22  1.88184e-06
  23  0.23969
  24  0.145454
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.731e+01  1.750e+01  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:  8.767e-01  1.455e-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.148e+00  2.397e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.15
Ra Dec: 118.491 9.390
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 2.24e-08 +/- 2.26e-08
Energy Flux (Fixed Index): 1.03e-05 +/- 1.05e-05

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

Saving results to:
/scratch/kocevski/992515/likelihoodResults_357004801_357264001_4FGL_J0753.9+0923_daily_bin454.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) = 6241.54260951
delta logL = 0.830152113449

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6241.53733136
delta logL = 0.835430256808

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.047       1.0000         .10000E-03   10000.    
     2 'alpha     '    .98243       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1662       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87207       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=   6241.537     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      207 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.041        20.481       -.38042E-05   -.85707E-04
   2  alpha         .98220        .98105       -.77075E-04    .46294E-05
   3  Normalizat    1.1660        .18711        .14300E-06    .12303E-03
   4  Prefactor     .87211        .11849        .11656E-06    .14241E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 16.0405
  alpha      = 0.9822
  Normalizat = 1.16597
  Prefactor  = 0.872109
 **********
 **   18 **HESSE 
 **********

 FCN=   6241.537     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.041        19.825        .99983E-04   -1.4907    
   2  alpha         .98220        .95442        .33005E-01   -.65243    
   3  Normalizat    1.1660        .21248        .28302E-03   -.87661    
   4  Prefactor     .87211        .13465        .20290E-03   -.97123    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16263e-09
Minuit parameter uncertainties:
  1  19.8332
  2  0.99558
  3  0.212641
  4  0.134705
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/992515': 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) = 6241.5373305
delta logL = 0.835431119428

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.604e+01  1.983e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  9.822e-01  9.956e-01  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:  8.721e-01  1.347e-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.166e+00  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.82
Ra Dec: 118.491 9.390
Photon Index (Free Index): 0.98 +/- 1.00
Photon Flux (Free Index): 6.47e-09 +/- 7.72e-09
Energy Flux (Free Index): 1.91e-05 +/- 2.50e-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/992515/cmap_HighResolution_357004801_357264001_4FGL_J0753.9+0923_daily_bin454.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-05', comment='SUCCESS', photon_flux='2.24e-08', energy_flux2='1.91e-05', photon_flux_error='2.26e-08', dlogl='8.35e-01', energy_flux='1.03e-05', photon_flux2='6.47e-09', job_status='DONE', time_completed='2021-08-28 19:00:28.178977', photon_index_error2='1.00', photon_index2='0.98', ts='3.15', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='8.32e-08', energy_flux_error2='2.50e-05', EG='1.15', time_epoch_completed='1630202428.18', return_code='0', job_id='992515', GAL2='0.87', EG2='1.17', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='7.72e-09', ts2='4.82', photon_index='2.46' WHERE bin_id='454' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:00:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 992515: <4FGL_J0753.9+0923_daily_bin454> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin454> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 18:45:32 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:45:32 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:32 2021
Terminated at Sat Aug 28 19:00:29 2021
Results reported at Sat Aug 28 19:00:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin454 118.491 9.3904 357004801 357264001 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 :                                   713.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             286.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            897 sec.

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

