/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 120 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 = 7487
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0753.9+0923_daily_bin319
RA = 118.491, Dec = 9.3904
tmin = 322012801, tmax = 322272001
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='990855', job_status='RUN', time_executed='2021-08-28 18:42:56.100245', time_epoch_executed='1630201376.1' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='319'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/990855

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/990855/ft1_4FGL_J0753.9+0923_daily_bin319.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/990855/ft2_4FGL_J0753.9+0923_daily_bin319.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/990855/ft1_4FGL_J0753.9+0923_daily_bin319.fits outfile=/scratch/kocevski/990855/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin319.fits ra=118.491 dec=9.3904 rad=12.0 tmin=322012801.0 tmax=322272001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.79
user 3.14
sys 0.61

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/990855/ft2_4FGL_J0753.9+0923_daily_bin319.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/990855/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin319.fits evtable="EVENTS" outfile="/scratch/kocevski/990855/ft1_filtered_4FGL_J0753.9+0923_daily_bin319.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.97
user 0.31
sys 0.60

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/990855/ft1_filtered_4FGL_J0753.9+0923_daily_bin319.fits" evtable="EVENTS" scfile=/scratch/kocevski/990855/ft2_4FGL_J0753.9+0923_daily_bin319.fits sctable="SC_DATA" outfile=/scratch/kocevski/990855/ltcube_322012801_322272001_4FGL_J0753.9+0923_daily_bin319.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/990855/ft2_4FGL_J0753.9+0923_daily_bin319.fits
.....................!
real 12.51
user 11.64
sys 0.81

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/990855/ft1_filtered_4FGL_J0753.9+0923_daily_bin319.fits evtable="EVENTS" scfile=/scratch/kocevski/990855/ft2_4FGL_J0753.9+0923_daily_bin319.fits sctable="SC_DATA" expcube=/scratch/kocevski/990855/ltcube_322012801_322272001_4FGL_J0753.9+0923_daily_bin319.fits outfile=/scratch/kocevski/990855/expmap_322012801_322272001_4FGL_J0753.9+0923_daily_bin319.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/990855/ltcube_322012801_322272001_4FGL_J0753.9+0923_daily_bin319.fits
.....................!
real 191.01
user 185.72
sys 4.92

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/990855/ft1_filtered_4FGL_J0753.9+0923_daily_bin319.fits scfile=/scratch/kocevski/990855/ft2_4FGL_J0753.9+0923_daily_bin319.fits outfile=/scratch/kocevski/990855/cmap_322012801_322272001_4FGL_J0753.9+0923_daily_bin319.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=118.491 yref=9.3904 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.97
user 0.36
sys 0.58

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/990855/ft1_filtered_4FGL_J0753.9+0923_daily_bin319.fits scfile=/scratch/kocevski/990855/ft2_4FGL_J0753.9+0923_daily_bin319.fits outfile=/scratch/kocevski/990855/cmap_HighResolution_322012801_322272001_4FGL_J0753.9+0923_daily_bin319.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.02
user 0.40
sys 0.57

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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.8871       1.0000         .10000E-03   10000.    
     3 'norm      '    2.3623       1.0000         .10000E-03   10000.    
     4 'Prefactor '    55.199       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.5412       1.0000         .10000E-03   10000.    
     7 'norm      '    .23598       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.737       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    77.153       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14930E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    9.1903       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.4043       1.0000         .10000E-03   10000.    
    14 'Prefactor '    112.88       1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.6229       1.0000         .10000E-03   10000.    
    18 'norm      '    11.027       1.0000         .10000E-03   10000.    
    19 'norm      '    3.8807       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.541       1.0000         .10000E-03   10000.    
    22 'norm      '    1.8351       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .26056       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1823       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=   6785.686     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2748 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.289        .25982E-07** at limit **
   2  norm          2.8875        1.7843       -.14672E-08   -.11521E-03
   3  norm          2.3621        1.1670       -.50091E-07   -.64980E-04
   4  Prefactor     55.203        36.174       -.81827E-08   -.24011E-04
   5  Prefactor     .10000E-03    22.305       -.24194E-06** at limit **
   6  norm          2.5420        2.2535        .44339E-07   -.13976E-03
   7  norm          .23501        .90691       -.11767E-06   -.16413E-03
   8  Prefactor     14.730        14.700       -.39370E-06   -.15183E-04
   9  Prefactor     .10000E-03    42.005        .53714E-06** at limit **
  10  Prefactor     77.134        47.042       -.19111E-06    .26518E-04
  11  Prefactor     .10000E-03    1.7416       -.21626E-06** at limit **
  12  norm          9.1718        22.076       -.19632E-05    .41535E-04
  13  Prefactor     2.4025        18.900        .24236E-05   -.14689E-04
  14  Prefactor     112.85        105.63       -.39604E-06    .26833E-04
  15  norm          .10000E-03    76.214        .27736E-06** at limit **
  16  Prefactor     .10000E-03    57.656       -.11374E-05** at limit **
  17  norm          2.6197        6.4084        .90795E-06   -.25896E-04
  18  norm          10.990        21.329       -.13911E-05    .79917E-04
  19  norm          3.8803        2.9866       -.62242E-07    .40413E-04
  20  Prefactor     .10000E-03    76.698        .70898E-06** at limit **
  21  Prefactor     23.527        16.118       -.54931E-06   -.23497E-04
  22  norm          1.8348        .96630       -.55233E-07   -.80973E-04
  23  Normalizat    .26092        .21160        .63022E-05    .56063E-04
  24  Prefactor     1.1820        .13334       -.17953E-05    .11923E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.88749
  norm       = 2.36212
  Prefactor  = 55.2029
  Prefactor  = 0.0001
  norm       = 2.542
  norm       = 0.235008
  Prefactor  = 14.7302
  Prefactor  = 0.0001
  Prefactor  = 77.1338
  Prefactor  = 0.000100001
  norm       = 9.17181
  Prefactor  = 2.40246
  Prefactor  = 112.855
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.61965
  norm       = 10.9898
  norm       = 3.88032
  Prefactor  = 0.0001
  Prefactor  = 23.5272
  norm       = 1.83481
  Normalizat = 0.260923
  Prefactor  = 1.18205
 **********
 **   18 **HESSE 
 **********

 FCN=   6785.686     FROM HESSE     STATUS=OK           405 CALLS     3153 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.8875        1.7888        .81603E-04   -1.5368    
   3  norm          2.3621        1.1675        .60179E-04   -1.5401    
   4  Prefactor     55.203        36.177        .26995E-03   -1.4221    
   5  Prefactor     .10000E-03    22.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.5420        2.2624        .87397E-04   -1.5389    
   7  norm          .23501        2.9528        .14200E-02   -1.5611    
   8  Prefactor     14.730        14.760        .52167E-03   -1.4940    
   9  Prefactor     .10000E-03    42.256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     77.134        46.954        .45717E-04   -1.3949    
  11  Prefactor     .10000E-03    3.0452        .20693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.1718        21.890        .13220E-03   -1.5102    
  13  Prefactor     2.4025        19.097        .13203E-02   -1.5398    
  14  Prefactor     112.85        105.36        .18932E-03   -1.3579    
  15  norm          .10000E-03    76.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    58.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.6197        6.3141        .12591E-02   -1.5384    
  18  norm          10.990        21.338        .12065E-03   -1.5045    
  19  norm          3.8803        2.9823        .60233E-03   -1.5314    
  20  Prefactor     .10000E-03    77.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     23.527        16.140        .82558E-04   -1.4737    
  22  norm          1.8348        .96516        .56536E-04   -1.5437    
  23  Normalizat    .26092        .21142        .51227E-03   -1.2525    
  24  Prefactor     1.1820        .13517        .16536E-03   -.86886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54122e-08
Minuit parameter uncertainties:
  1  8.46545e-06
  2  1.78879
  3  1.16755
  4  36.1913
  5  7.24803e-06
  6  2.26245
  7  1.66581
  8  14.764
  9  3.44212e-05
  10  46.9761
  11  8.25813e-05
  12  21.9091
  13  13.5526
  14  105.539
  15  1.1816e-06
  16  0.000146388
  17  6.31567
  18  21.3531
  19  2.98246
  20  0.000149473
  21  16.1434
  22  0.965166
  23  0.212069
  24  0.135213
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  9.172e+00  2.191e+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.182e+00  1.352e-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:  2.609e-01  2.121e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/990855/likelihoodResults_322012801_322272001_4FGL_J0753.9+0923_daily_bin319.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) = 6784.52135563
delta logL = 1.16421620732

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6784.51929211
delta logL = 1.16627972666

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.4663       1.0000         .10000E-03   10000.    
     2 'alpha     '    .52700       1.0000          .0000       5.0000    
     3 'Normalizat'    .26767       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1806       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=   6784.519     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      223 TOTAL
                     EDM=   .68E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.4609        15.006       -.42529E-05   -.27344E-04
   2  alpha         .52656        1.0010       -.11185E-03    .70917E-06
   3  Normalizat    .26788        .20290        .15181E-05   -.29938E-04
   4  Prefactor     1.1805        .13557       -.37901E-06   -.15627E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.4609
  alpha      = 0.526563
  Normalizat = 0.267884
  Prefactor  = 1.18047
 **********
 **   18 **HESSE 
 **********

 FCN=   6784.519     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.4609        13.954        .13777E-03   -1.5126    
   2  alpha         .52656        .94403        .40834E-01   -.90979    
   3  Normalizat    .26788        .19084        .50529E-03   -1.2481    
   4  Prefactor     1.1805        .12767        .16536E-03   -.86934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07151e-11
Minuit parameter uncertainties:
  1  13.9592
  2  1.01679
  3  0.191303
  4  0.127705
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/990855': 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) = 6784.51929133
delta logL = 1.16628050493

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  8.461e+00  1.396e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  5.266e-01  1.017e+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.180e+00  1.277e-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:  2.679e-01  1.913e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.66
Ra Dec: 118.491 9.390
Photon Index (Free Index): 0.53 +/- 1.02
Photon Flux (Free Index): 4.11e-09 +/- 4.88e-09
Energy Flux (Free Index): 2.33e-05 +/- 3.32e-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/990855/cmap_HighResolution_322012801_322272001_4FGL_J0753.9+0923_daily_bin319.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-05', comment='SUCCESS', energy_flux2='2.33e-05', dlogl='1.17e+00', photon_flux2='4.11e-09', job_status='DONE', time_completed='2021-08-28 18:54:58.545439', photon_index_error2='1.02', photon_index2='0.53', ts='0.33', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='6.94e-08', energy_flux_error2='3.32e-05', EG='0.26', time_epoch_completed='1630202098.55', return_code='0', job_id='990855', GAL2='1.18', EG2='0.27', return_code2='0', photon_flux_error2='4.88e-09', ts2='2.66', photon_index='2.46' WHERE bin_id='319' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:54:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 990855: <4FGL_J0753.9+0923_daily_bin319> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin319 118.491 9.3904 322012801 322272001 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 :                                   725.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            860 sec.

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

