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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin954
RA = 118.491, Dec = 9.3904
tmin = 486604801, tmax = 486864001
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='996163', job_status='RUN', time_executed='2021-08-28 18:59:29.301964', time_epoch_executed='1630202369.3' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='954'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/996163

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/996163/ft1_4FGL_J0753.9+0923_daily_bin954.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/996163/ft2_4FGL_J0753.9+0923_daily_bin954.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/996163/ft1_4FGL_J0753.9+0923_daily_bin954.fits outfile=/scratch/kocevski/996163/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin954.fits ra=118.491 dec=9.3904 rad=12.0 tmin=486604801.0 tmax=486864001.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 6.62
user 3.41
sys 3.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/996163/ft2_4FGL_J0753.9+0923_daily_bin954.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/996163/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin954.fits evtable="EVENTS" outfile="/scratch/kocevski/996163/ft1_filtered_4FGL_J0753.9+0923_daily_bin954.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 3.82
user 0.34
sys 3.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/996163/ft1_filtered_4FGL_J0753.9+0923_daily_bin954.fits" evtable="EVENTS" scfile=/scratch/kocevski/996163/ft2_4FGL_J0753.9+0923_daily_bin954.fits sctable="SC_DATA" outfile=/scratch/kocevski/996163/ltcube_486604801_486864001_4FGL_J0753.9+0923_daily_bin954.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/996163/ft2_4FGL_J0753.9+0923_daily_bin954.fits
.....................!
real 15.32
user 11.45
sys 3.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/996163/ft1_filtered_4FGL_J0753.9+0923_daily_bin954.fits evtable="EVENTS" scfile=/scratch/kocevski/996163/ft2_4FGL_J0753.9+0923_daily_bin954.fits sctable="SC_DATA" expcube=/scratch/kocevski/996163/ltcube_486604801_486864001_4FGL_J0753.9+0923_daily_bin954.fits outfile=/scratch/kocevski/996163/expmap_486604801_486864001_4FGL_J0753.9+0923_daily_bin954.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/996163/ltcube_486604801_486864001_4FGL_J0753.9+0923_daily_bin954.fits
.....................!
real 196.84
user 184.99
sys 8.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
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/996163/ft1_filtered_4FGL_J0753.9+0923_daily_bin954.fits scfile=/scratch/kocevski/996163/ft2_4FGL_J0753.9+0923_daily_bin954.fits outfile=/scratch/kocevski/996163/cmap_486604801_486864001_4FGL_J0753.9+0923_daily_bin954.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 3.63
user 0.38
sys 3.01

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/996163/ft1_filtered_4FGL_J0753.9+0923_daily_bin954.fits scfile=/scratch/kocevski/996163/ft2_4FGL_J0753.9+0923_daily_bin954.fits outfile=/scratch/kocevski/996163/cmap_HighResolution_486604801_486864001_4FGL_J0753.9+0923_daily_bin954.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 3.45
user 0.37
sys 3.05

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.716       1.0000         .10000E-03   10000.    
     2 'norm      '    1.8428       1.0000         .10000E-03   10000.    
     3 'norm      '    2.4600       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8445       1.0000         .10000E-03   10000.    
     6 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.3033       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.648       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.7210       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8028       1.0000         .10000E-03   10000.    
    12 'norm      '    51.031       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4377       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10852E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .11027E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11324E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.8717       1.0000         .10000E-03   10000.    
    18 'norm      '    27.077       1.0000         .10000E-03   10000.    
    19 'norm      '    8.1046       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.064       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0373       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88626       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=   7318.018     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2737 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.719        58.317       -.35122E-05    .17613E-04
   2  norm          1.8416        2.6142        .11054E-05    .15315E-03
   3  norm          2.4597        1.2535       -.15605E-06   -.47026E-04
   4  Prefactor     .10000E-03    45.252        .18449E-04** at limit **
   5  Prefactor     1.6037        233.08       -.90886E-04   -.33651E-04
   6  norm          .10000E-03    .50687        .24141E-07** at limit **
   7  norm          4.3020        2.0735        .27528E-06    .64741E-03
   8  Prefactor     .10000E-03    4.7558        .26725E-06** at limit **
   9  Prefactor     18.660        29.705       -.90643E-05    .71230E-05
  10  Prefactor     8.7220        57.379       -.18114E-04    .41588E-05
  11  Prefactor     2.8020        3.5969       -.33716E-06   -.53563E-03
  12  norm          51.011        25.005        .77290E-05    .24031E-03
  13  Prefactor     3.4466        16.195       -.18176E-04   -.18529E-03
  14  Prefactor     .10000E-03    73.050        .81853E-04** at limit **
  15  norm          .10000E-03    59.277       -.81628E-04** at limit **
  16  Prefactor     .10000E-03    14.510       -.10359E-06** at limit **
  17  norm          3.8714        5.2074       -.47006E-06   -.17961E-03
  18  norm          27.086        19.382       -.32300E-05    .51263E-04
  19  norm          8.1043        3.7075       -.82491E-07    .93840E-04
  20  Prefactor     10.046        17.558       -.13104E-05   -.39541E-03
  21  Prefactor     .10000E-03    13.060       -.25422E-06** at limit **
  22  norm          .10000E-03    .34506       -.15964E-06** at limit **
  23  Normalizat    1.0373        .18561        .38990E-05    .34605E-03
  24  Prefactor     .88630        .11506        .14888E-05    .59281E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.7193
  norm       = 1.84157
  norm       = 2.4597
  Prefactor  = 0.0001
  Prefactor  = 1.6037
  norm       = 0.0001
  norm       = 4.30204
  Prefactor  = 0.0001
  Prefactor  = 18.6605
  Prefactor  = 8.72195
  Prefactor  = 2.80196
  norm       = 51.0108
  Prefactor  = 3.44662
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.87136
  norm       = 27.0859
  norm       = 8.10427
  Prefactor  = 10.0464
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.03728
  Prefactor  = 0.886305
 **********
 **   18 **HESSE 
 **********

 FCN=   7318.018     FROM HESSE     STATUS=OK           403 CALLS     3140 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.719        58.576        .68014E-04   -1.4529    
   2  norm          1.8416        2.5525        .14043E-03   -1.5437    
   3  norm          2.4597        1.2515        .65535E-04   -1.5394    
   4  Prefactor     .10000E-03    45.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6037        227.23        .30708E-03   -1.5455    
   6  norm          .10000E-03    .88047        .11769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.3020        2.0656        .79907E-04   -1.5293    
   8  Prefactor     .10000E-03    4.7843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.660        29.714        .92749E-04   -1.4844    
  10  Prefactor     8.7220        57.169        .13573E-03   -1.5117    
  11  Prefactor     2.8020        3.5841        .16940E-03   -1.5373    
  12  norm          51.011        24.788        .56140E-04   -1.4278    
  13  Prefactor     3.4466        15.869        .21815E-03   -1.5337    
  14  Prefactor     .10000E-03    72.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    58.912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.8714        5.1992        .20508E-03   -1.5314    
  18  norm          27.086        19.389        .76988E-04   -1.4667    
  19  norm          8.1043        3.7080        .10759E-03   -1.5139    
  20  Prefactor     10.046        17.578        .63154E-03   -1.5074    
  21  Prefactor     .10000E-03    13.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    .54658        .97176E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0373        .21194        .29640E-03   -.91792    
  24  Prefactor     .88630        .13258        .19854E-03   -.96621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8275e-09
Minuit parameter uncertainties:
  1  58.6731
  2  2.55267
  3  1.25156
  4  1.91613e-05
  5  38.3268
  6  3.40937e-06
  7  2.06561
  8  1.83272e-05
  9  29.738
  10  44.7219
  11  3.58437
  12  24.7926
  13  14.7975
  14  5.39429e-05
  15  1.5018e-05
  16  4.74065e-05
  17  5.1998
  18  19.3937
  19  3.70812
  20  17.5866
  21  6.46983e-05
  22  1.31753e-05
  23  0.212108
  24  0.132626
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  5.101e+01  2.479e+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.863e-01  1.326e-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.037e+00  2.121e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.14
Ra Dec: 118.491 9.390
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 6.59e-08 +/- 3.21e-08
Energy Flux (Fixed Index): 3.05e-05 +/- 1.48e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7317.99416279
delta logL = 0.0243363137533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7317.99233462
delta logL = 0.0261644873763

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    55.736       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3178       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0454       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88388       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=   7317.992     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      311 TOTAL
                     EDM=   .74E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          55.801        32.894        .53731E-04    .48665E-05
   2  alpha         2.3200        .65679        .13666E-01    .10742E-04
   3  Normalizat    1.0453        .19936        .29547E-03    .76954E-07
   4  Prefactor     .88373        .12328        .19882E-03   -.17726E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 55.8011
  alpha      = 2.32004
  Normalizat = 1.04527
  Prefactor  = 0.88373
 **********
 **   18 **HESSE 
 **********

 FCN=   7317.992     FROM HESSE     STATUS=OK            25 CALLS      336 TOTAL
                     EDM=   .37E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          55.801        31.597        .10746E-04   -1.4213    
   2  alpha         2.3200        .63090        .54664E-03   -.72046E-01
   3  Normalizat    1.0453        .19916        .11819E-04   -.91529    
   4  Prefactor     .88373        .12329        .79529E-05   -.96712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69235e-14
Minuit parameter uncertainties:
  1  31.6067
  2  0.637828
  3  0.199301
  4  0.123333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/996163': 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) = 7317.99231157
delta logL = 0.0261875335918

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  5.580e+01  3.161e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.320e+00  6.378e-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.837e-01  1.233e-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.045e+00  1.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.19
Ra Dec: 118.491 9.390
Photon Index (Free Index): 2.32 +/- 0.64
Photon Flux (Free Index): 5.88e-08 +/- 4.00e-08
Energy Flux (Free Index): 3.12e-05 +/- 1.43e-05

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/996163/cmap_HighResolution_486604801_486864001_4FGL_J0753.9+0923_daily_bin954.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.59e-08', energy_flux2='3.12e-05', photon_flux_error='3.21e-08', dlogl='2.62e-02', energy_flux='3.05e-05', photon_flux2='5.88e-08', job_status='DONE', time_completed='2021-08-28 19:11:44.539295', photon_index_error2='0.64', photon_index2='2.32', ts='14.14', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='1.43e-05', EG='1.04', time_epoch_completed='1630203104.54', return_code='0', job_id='996163', GAL2='0.88', EG2='1.05', return_code2='0', energy_flux_error='1.48e-05', photon_flux_error2='4.00e-08', ts2='14.19', photon_index='2.46' WHERE bin_id='954' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:11:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 996163: <4FGL_J0753.9+0923_daily_bin954> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin954 118.491 9.3904 486604801 486864001 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 :                                   772.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            961 sec.

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

