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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin506
RA = 118.491, Dec = 9.3904
tmin = 370483201, tmax = 370742401
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='992634', job_status='RUN', time_executed='2021-08-28 18:50:21.720322', time_epoch_executed='1630201821.72' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='506'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/992634

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/992634/ft1_4FGL_J0753.9+0923_daily_bin506.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/992634/ft2_4FGL_J0753.9+0923_daily_bin506.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/992634/ft1_4FGL_J0753.9+0923_daily_bin506.fits outfile=/scratch/kocevski/992634/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin506.fits ra=118.491 dec=9.3904 rad=12.0 tmin=370483201.0 tmax=370742401.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 22.39
user 19.34
sys 2.94

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/992634/ft2_4FGL_J0753.9+0923_daily_bin506.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/992634/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin506.fits evtable="EVENTS" outfile="/scratch/kocevski/992634/ft1_filtered_4FGL_J0753.9+0923_daily_bin506.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 2.96
user 0.31
sys 2.61

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/992634/ft1_filtered_4FGL_J0753.9+0923_daily_bin506.fits" evtable="EVENTS" scfile=/scratch/kocevski/992634/ft2_4FGL_J0753.9+0923_daily_bin506.fits sctable="SC_DATA" outfile=/scratch/kocevski/992634/ltcube_370483201_370742401_4FGL_J0753.9+0923_daily_bin506.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/992634/ft2_4FGL_J0753.9+0923_daily_bin506.fits
.....................!
real 13.23
user 10.11
sys 3.07

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/992634/ft1_filtered_4FGL_J0753.9+0923_daily_bin506.fits evtable="EVENTS" scfile=/scratch/kocevski/992634/ft2_4FGL_J0753.9+0923_daily_bin506.fits sctable="SC_DATA" expcube=/scratch/kocevski/992634/ltcube_370483201_370742401_4FGL_J0753.9+0923_daily_bin506.fits outfile=/scratch/kocevski/992634/expmap_370483201_370742401_4FGL_J0753.9+0923_daily_bin506.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/992634/ltcube_370483201_370742401_4FGL_J0753.9+0923_daily_bin506.fits
.....................!
real 194.05
user 185.62
sys 8.03

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/992634/ft1_filtered_4FGL_J0753.9+0923_daily_bin506.fits scfile=/scratch/kocevski/992634/ft2_4FGL_J0753.9+0923_daily_bin506.fits outfile=/scratch/kocevski/992634/cmap_370483201_370742401_4FGL_J0753.9+0923_daily_bin506.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 2.99
user 0.36
sys 2.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/992634/ft1_filtered_4FGL_J0753.9+0923_daily_bin506.fits scfile=/scratch/kocevski/992634/ft2_4FGL_J0753.9+0923_daily_bin506.fits outfile=/scratch/kocevski/992634/cmap_HighResolution_370483201_370742401_4FGL_J0753.9+0923_daily_bin506.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 2.93
user 0.38
sys 2.54

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.536       1.0000         .10000E-03   10000.    
     2 'norm      '    4.3738       1.0000         .10000E-03   10000.    
     3 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    45.836       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10283E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.0166       1.0000         .10000E-03   10000.    
     7 'norm      '    3.4062       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2589       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    25.299       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .73801       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    37.431       1.0000         .10000E-03   10000.    
    16 'Prefactor '    78.761       1.0000         .10000E-03   10000.    
    17 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10326E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    121.86       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.0377       1.0000         .10000E-03   10000.    
    22 'norm      '    2.5330       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5052       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .67988       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=   3927.189     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2703 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.529        58.747       -.75346E-05    .70330E-05
   2  norm          4.3734        4.4044        .10675E-05    .34299E-04
   3  norm          .10000E-03    .80077        .33337E-07** at limit **
   4  Prefactor     45.820        86.346       -.21591E-04    .16074E-04
   5  Prefactor     .10000E-03    81.274       -.42740E-04** at limit **
   6  norm          1.0146        2.5374        .24060E-06   -.43545E-03
   7  norm          3.4062        3.2543       -.76013E-07   -.34929E-04
   8  Prefactor     2.2650        25.708       -.17181E-05   -.31244E-03
   9  Prefactor     .10000E-03    35.427       -.66303E-05** at limit **
  10  Prefactor     .10000E-03    11.830        .43446E-06** at limit **
  11  Prefactor     .10000E-03    2.8578        .66732E-07** at limit **
  12  norm          25.292        22.470       -.14145E-05    .91773E-05
  13  Prefactor     .75913        12.349       -.49260E-06   -.25020E-03
  14  Prefactor     .10000E-03    66.125        .43306E-04** at limit **
  15  norm          37.410        77.701       -.29981E-04   -.49358E-06
  16  Prefactor     78.789        72.731        .27296E-04   -.11800E-04
  17  norm          .10000E-03    13.920       -.23855E-05** at limit **
  18  norm          .10000E-03    16.174        .24961E-05** at limit **
  19  norm          .10000E-03    3.0973       -.11259E-06** at limit **
  20  Prefactor     121.84        85.620       -.17984E-04   -.29782E-04
  21  Prefactor     8.0500        31.607        .19602E-04   -.14034E-04
  22  norm          2.5334        2.0125       -.28035E-07   -.90636E-04
  23  Normalizat    1.5049        .28951       -.51783E-05    .22145E-03
  24  Prefactor     .68005        .16205        .40449E-05   -.14842E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.5293
  norm       = 4.37339
  norm       = 0.0001
  Prefactor  = 45.8197
  Prefactor  = 0.0001
  norm       = 1.01459
  norm       = 3.40621
  Prefactor  = 2.26497
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 25.2924
  Prefactor  = 0.759125
  Prefactor  = 0.0001
  norm       = 37.4097
  Prefactor  = 78.789
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 121.843
  Prefactor  = 8.04998
  norm       = 2.53339
  Normalizat = 1.50488
  Prefactor  = 0.680051
 **********
 **   18 **HESSE 
 **********

 FCN=   3927.189     FROM HESSE     STATUS=OK           397 CALLS     3100 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.529        58.806        .58777E-04   -1.4343    
   2  norm          4.3734        4.3873        .11868E-03   -1.5290    
   3  norm          .10000E-03    1.2943        .10782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     45.820        86.207        .59222E-04   -1.4353    
   5  Prefactor     .10000E-03    81.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.0146        2.3532        .90209E-03   -1.5507    
   7  norm          3.4062        3.2460        .10632E-03   -1.5339    
   8  Prefactor     2.2650        25.854        .27333E-03   -1.5407    
   9  Prefactor     .10000E-03    35.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.9460        .20667E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          25.292        22.568        .79643E-04   -1.4702    
  13  Prefactor     .75913        35.265        .41414E-02   -1.5534    
  14  Prefactor     .10000E-03    66.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          37.410        77.719        .65509E-04   -1.4484    
  16  Prefactor     78.789        72.777        .22626E-03   -1.3930    
  17  norm          .10000E-03    13.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    16.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.0996        .10771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     121.84        85.823        .36458E-04   -1.3496    
  21  Prefactor     8.0500        31.737        .14142E-03   -1.5140    
  22  norm          2.5334        2.0128        .76938E-04   -1.5390    
  23  Normalizat    1.5049        .34011        .27626E-03   -.77641    
  24  Prefactor     .68005        .18932        .22835E-03   -1.0431    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6996e-09
Minuit parameter uncertainties:
  1  58.879
  2  4.38759
  3  4.83227e-06
  4  86.4424
  5  0.000215654
  6  2.35345
  7  3.24618
  8  15.3126
  9  1.07526e-05
  10  1.30334e-05
  11  8.36592e-06
  12  22.5753
  13  10.3539
  14  1.99353e-06
  15  77.9301
  16  72.8596
  17  4.49581e-05
  18  7.40232e-05
  19  1.89571e-05
  20  85.9108
  21  31.8037
  22  2.0129
  23  0.340633
  24  0.189498
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.529e+01  2.258e+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:  6.801e-01  1.895e-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.505e+00  3.406e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.39
Ra Dec: 118.491 9.390
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 3.27e-08 +/- 2.92e-08
Energy Flux (Fixed Index): 1.51e-05 +/- 1.35e-05

TS (Fixed Index): 3.39
Ra Dec: 118.491 9.390
Photon Flux Upper Limit: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/992634/likelihoodResults_370483201_370742401_4FGL_J0753.9+0923_daily_bin506.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) = 3927.15486377
delta logL = 0.0338629748721

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3927.15307048
delta logL = 0.0356562646566

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    30.541       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2179       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5098       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67818       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=   3927.153     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      291 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          30.555        32.915        .36251E-03    .37587E-04
   2  alpha         2.2176        .92254        .15344E-01    .82109E-04
   3  Normalizat    1.5097        .30377        .27591E-03   -.17265E-04
   4  Prefactor     .67824        .17712        .22862E-03   -.28842E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 30.5555
  alpha      = 2.21765
  Normalizat = 1.50972
  Prefactor  = 0.678245
 **********
 **   18 **HESSE 
 **********

 FCN=   3927.153     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          30.555        32.146        .72501E-04   -1.4602    
   2  alpha         2.2176        .90205        .30688E-02   -.11318    
   3  Normalizat    1.5097        .30398        .11036E-04   -.77506    
   4  Prefactor     .67824        .17726        .91448E-05   -1.0439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22503e-11
Minuit parameter uncertainties:
  1  32.1643
  2  0.923152
  3  0.304345
  4  0.177404
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/992634': 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) = 3927.15307023
delta logL = 0.0356565176266

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  3.056e+01  3.216e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.218e+00  9.232e-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:  6.782e-01  1.774e-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.510e+00  3.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.46
Ra Dec: 118.491 9.390
Photon Index (Free Index): 2.22 +/- 0.92
Photon Flux (Free Index): 2.81e-08 +/- 2.96e-08
Energy Flux (Free Index): 1.66e-05 +/- 1.57e-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/992634/cmap_HighResolution_370483201_370742401_4FGL_J0753.9+0923_daily_bin506.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.12e-05', comment='SUCCESS', photon_flux='3.27e-08', energy_flux2='1.66e-05', photon_flux_error='2.92e-08', dlogl='3.57e-02', energy_flux='1.51e-05', photon_flux2='2.81e-08', job_status='DONE', time_completed='2021-08-28 19:01:28.282079', photon_index_error2='0.92', photon_index2='2.22', ts='3.39', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', photon_flux_upper_limit='1.11e-07', energy_flux_error2='1.57e-05', EG='1.50', time_epoch_completed='1630202488.28', return_code='0', job_id='992634', GAL2='0.68', EG2='1.51', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='2.96e-08', ts2='3.46', photon_index='2.46' WHERE bin_id='506' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:01:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 992634: <4FGL_J0753.9+0923_daily_bin506> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin506> 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) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:45:38 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:38 2021
Terminated at Sat Aug 28 19:01:29 2021
Results reported at Sat Aug 28 19:01:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin506 118.491 9.3904 370483201 370742401 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 :                                   700.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             253.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   950 sec.
    Turnaround time :                            952 sec.

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

