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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin983
RA = 118.491, Dec = 9.3904
tmin = 494121601, tmax = 494380801
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='996205', job_status='RUN', time_executed='2021-08-28 18:58:40.390831', time_epoch_executed='1630202320.39' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='983'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/996205

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/996205/ft1_4FGL_J0753.9+0923_daily_bin983.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/996205/ft2_4FGL_J0753.9+0923_daily_bin983.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/996205/ft1_4FGL_J0753.9+0923_daily_bin983.fits outfile=/scratch/kocevski/996205/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin983.fits ra=118.491 dec=9.3904 rad=12.0 tmin=494121601.0 tmax=494380801.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.98
user 3.48
sys 3.39

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/996205/ft1_filtered_4FGL_J0753.9+0923_daily_bin983.fits" evtable="EVENTS" scfile=/scratch/kocevski/996205/ft2_4FGL_J0753.9+0923_daily_bin983.fits sctable="SC_DATA" outfile=/scratch/kocevski/996205/ltcube_494121601_494380801_4FGL_J0753.9+0923_daily_bin983.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/996205/ft2_4FGL_J0753.9+0923_daily_bin983.fits
.....................!
real 15.41
user 11.62
sys 3.73

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/996205/ft1_filtered_4FGL_J0753.9+0923_daily_bin983.fits evtable="EVENTS" scfile=/scratch/kocevski/996205/ft2_4FGL_J0753.9+0923_daily_bin983.fits sctable="SC_DATA" expcube=/scratch/kocevski/996205/ltcube_494121601_494380801_4FGL_J0753.9+0923_daily_bin983.fits outfile=/scratch/kocevski/996205/expmap_494121601_494380801_4FGL_J0753.9+0923_daily_bin983.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/996205/ltcube_494121601_494380801_4FGL_J0753.9+0923_daily_bin983.fits
.....................!
real 195.45
user 186.56
sys 8.48

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/996205/ft1_filtered_4FGL_J0753.9+0923_daily_bin983.fits scfile=/scratch/kocevski/996205/ft2_4FGL_J0753.9+0923_daily_bin983.fits outfile=/scratch/kocevski/996205/cmap_494121601_494380801_4FGL_J0753.9+0923_daily_bin983.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.59
user 0.37
sys 3.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/996205/ft1_filtered_4FGL_J0753.9+0923_daily_bin983.fits scfile=/scratch/kocevski/996205/ft2_4FGL_J0753.9+0923_daily_bin983.fits outfile=/scratch/kocevski/996205/cmap_HighResolution_494121601_494380801_4FGL_J0753.9+0923_daily_bin983.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.66
user 0.38
sys 3.25

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    6.3858       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    40.766       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.409       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.263       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .23648       1.0000         .10000E-03   10000.    
    12 'norm      '    14.501       1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.788       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.2681       1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.589       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .27937       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2149       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0163       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=   6664.015     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2745 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.844        .32552E-05** at limit **
   2  norm          6.3857        2.8752        .13477E-06   -.34938E-03
   3  norm          .10000E-03    .30639        .29377E-08** at limit **
   4  Prefactor     40.763        43.312       -.30531E-05   -.77737E-05
   5  Prefactor     .10000E-03    13.140       -.16980E-06** at limit **
   6  norm          .10000E-03    .70517        .75125E-07** at limit **
   7  norm          .10000E-03    1.1905        .18658E-06** at limit **
   8  Prefactor     12.407        7.8591       -.12815E-05   -.74832E-04
   9  Prefactor     .10000E-03    28.449       -.10285E-04** at limit **
  10  Prefactor     32.283        47.149        .20764E-04    .75999E-05
  11  Prefactor     .23662        1.7455       -.50465E-06   -.19303E-03
  12  norm          14.500        22.006       -.10318E-05   -.34194E-03
  13  Prefactor     16.789        14.392        .51906E-06    .62663E-04
  14  Prefactor     .10000E-03    95.847       -.11250E-06** at limit **
  15  norm          .10000E-03    32.336        .77342E-05** at limit **
  16  Prefactor     .10000E-03    6.2822       -.30109E-07** at limit **
  17  norm          .10000E-03    8.0928        .10446E-06** at limit **
  18  norm          .10000E-03    5.4964        .71776E-07** at limit **
  19  norm          5.2681        3.3327        .74991E-07    .88162E-04
  20  Prefactor     17.591        28.858        .15896E-05    .11413E-05
  21  Prefactor     .10000E-03    5.3442       -.32390E-07** at limit **
  22  norm          .27933        .97718       -.64686E-06   -.22211E-02
  23  Normalizat    1.2148        .21018       -.23008E-05    .18277E-03
  24  Prefactor     1.0163        .12806        .49548E-06   -.23847E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 6.38573
  norm       = 0.0001
  Prefactor  = 40.7628
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 12.4068
  Prefactor  = 0.0001
  Prefactor  = 32.2827
  Prefactor  = 0.236621
  norm       = 14.5001
  Prefactor  = 16.7895
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.26813
  Prefactor  = 17.5909
  Prefactor  = 0.0001
  norm       = 0.27933
  Normalizat = 1.2148
  Prefactor  = 1.01632
 **********
 **   18 **HESSE 
 **********

 FCN=   6664.015     FROM HESSE     STATUS=OK           399 CALLS     3144 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.3857        2.8762        .85823E-04   -1.5203    
   3  norm          .10000E-03    .31094        .44103E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     40.763        43.272        .62781E-04   -1.4430    
   5  Prefactor     .10000E-03    13.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .71409        .13170E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.3835        .17122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.407        7.7465        .11371E-03   -1.5003    
   9  Prefactor     .10000E-03    28.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     32.283        46.029        .70544E-04   -1.4571    
  11  Prefactor     .23662        8.1045        .19908E-02   -1.5611    
  12  norm          14.500        22.108        .52591E-03   -1.4946    
  13  Prefactor     16.789        14.390        .97750E-04   -1.4888    
  14  Prefactor     .10000E-03    95.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    32.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.2843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.2085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.5020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.2681        3.3351        .11536E-03   -1.5249    
  20  Prefactor     17.591        28.912        .95499E-04   -1.4869    
  21  Prefactor     .10000E-03    5.3554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .27933        1.0088        .14724E-03   -1.5602    
  23  Normalizat    1.2148        .23607        .29585E-03   -.86147    
  24  Prefactor     1.0163        .14639        .20573E-03   -.92188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74752e-09
Minuit parameter uncertainties:
  1  1.45607e-06
  2  2.87628
  3  4.06238e-07
  4  43.3051
  5  7.67335e-06
  6  6.28727e-06
  7  2.82113e-05
  8  7.74711
  9  2.26273e-05
  10  46.0795
  11  2.76944
  12  22.1205
  13  14.3934
  14  1.48952e-05
  15  1.36066e-05
  16  2.02151e-06
  17  9.53922e-06
  18  1.61834e-06
  19  3.33518
  20  28.9348
  21  4.48131e-06
  22  1.00887
  23  0.236276
  24  0.146451
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.450e+01  2.212e+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:  1.016e+00  1.465e-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.215e+00  2.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/996205/likelihoodResults_494121601_494380801_4FGL_J0753.9+0923_daily_bin983.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) = 6663.95674434
delta logL = 0.0583425804916

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6663.95212133
delta logL = 0.0629655833427

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.619       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8935       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2237       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0136       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=   6663.952     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      295 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.621        24.585        .95418E-04   -.10030E-02
   2  alpha         1.8934        1.5309        .39915E-01   -.11783E-03
   3  Normalizat    1.2236        .22102        .29499E-03    .17500E-03
   4  Prefactor     1.0137        .14232        .20597E-03    .27122E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.6208
  alpha      = 1.89342
  Normalizat = 1.22359
  Prefactor  = 1.01369
 **********
 **   18 **HESSE 
 **********

 FCN=   6663.952     FROM HESSE     STATUS=OK            23 CALLS      318 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.621        24.711        .19084E-04   -1.4868    
   2  alpha         1.8934        1.5394        .15966E-02   -.24508    
   3  Normalizat    1.2236        .22106        .11800E-04   -.85877    
   4  Prefactor     1.0137        .14240        .41195E-04   -.92275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14089e-08
Minuit parameter uncertainties:
  1  24.7252
  2  1.66777
  3  0.221233
  4  0.142449
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/996205': 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) = 6663.95212126
delta logL = 0.0629656557794

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.762e+01  2.473e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  1.893e+00  1.668e+00  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:  1.014e+00  1.424e-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.224e+00  2.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.68
Ra Dec: 118.491 9.390

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/996205/cmap_HighResolution_494121601_494380801_4FGL_J0753.9+0923_daily_bin983.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.80e-05', job_status='DONE', photon_flux_upper_limit='8.22e-08', time_completed='2021-08-28 19:11:40.238614', job_id='996205', GAL2='1.01', fit_tolerance='1e-08', EG2='1.22', EG='1.21', time_epoch_completed='1630203100.24', return_code2='0', ts='0.68', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='6.30e-02', ts2='0.81', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='983' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:11:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 996205: <4FGL_J0753.9+0923_daily_bin983> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin983 118.491 9.3904 494121601 494380801 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 :                                   826.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   953 sec.
    Turnaround time :                            954 sec.

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

