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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin311
RA = 118.491, Dec = 9.3904
tmin = 319939201, tmax = 320198401
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='990844', job_status='RUN', time_executed='2021-08-28 18:44:22.275663', time_epoch_executed='1630201462.28' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='311'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/990844

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/990844/ft1_4FGL_J0753.9+0923_daily_bin311.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/990844/ft2_4FGL_J0753.9+0923_daily_bin311.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/990844/ft1_4FGL_J0753.9+0923_daily_bin311.fits outfile=/scratch/kocevski/990844/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin311.fits ra=118.491 dec=9.3904 rad=12.0 tmin=319939201.0 tmax=320198401.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.67
user 3.26
sys 0.38

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/990844/ft1_filtered_4FGL_J0753.9+0923_daily_bin311.fits" evtable="EVENTS" scfile=/scratch/kocevski/990844/ft2_4FGL_J0753.9+0923_daily_bin311.fits sctable="SC_DATA" outfile=/scratch/kocevski/990844/ltcube_319939201_320198401_4FGL_J0753.9+0923_daily_bin311.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/990844/ft2_4FGL_J0753.9+0923_daily_bin311.fits
.....................!
real 12.75
user 12.12
sys 0.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/990844/ft1_filtered_4FGL_J0753.9+0923_daily_bin311.fits evtable="EVENTS" scfile=/scratch/kocevski/990844/ft2_4FGL_J0753.9+0923_daily_bin311.fits sctable="SC_DATA" expcube=/scratch/kocevski/990844/ltcube_319939201_320198401_4FGL_J0753.9+0923_daily_bin311.fits outfile=/scratch/kocevski/990844/expmap_319939201_320198401_4FGL_J0753.9+0923_daily_bin311.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/990844/ltcube_319939201_320198401_4FGL_J0753.9+0923_daily_bin311.fits
.....................!
real 191.70
user 186.80
sys 4.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/990844/ft1_filtered_4FGL_J0753.9+0923_daily_bin311.fits scfile=/scratch/kocevski/990844/ft2_4FGL_J0753.9+0923_daily_bin311.fits outfile=/scratch/kocevski/990844/cmap_319939201_320198401_4FGL_J0753.9+0923_daily_bin311.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.71
user 0.36
sys 0.33

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/990844/ft1_filtered_4FGL_J0753.9+0923_daily_bin311.fits scfile=/scratch/kocevski/990844/ft2_4FGL_J0753.9+0923_daily_bin311.fits outfile=/scratch/kocevski/990844/cmap_HighResolution_319939201_320198401_4FGL_J0753.9+0923_daily_bin311.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 0.72
user 0.37
sys 0.35

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .91958E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.3859       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    63.375       1.0000         .10000E-03   10000.    
     6 'norm      '    .10542E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.7758       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.7876       1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.312       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.6054       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .79265       1.0000         .10000E-03   10000.    
    12 'norm      '    10.083       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.1068       1.0000         .10000E-03   10000.    
    14 'Prefactor '    59.907       1.0000         .10000E-03   10000.    
    15 'norm      '    34.179       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10555E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .34030       1.0000         .10000E-03   10000.    
    22 'norm      '    .56703       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1496       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91237       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=   6431.343     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     3444 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.676       -.20557E-06** at limit **
   2  norm          .10000E-03    .88459        .11668E-06** at limit **
   3  norm          1.3861        1.1078        .20451E-06   -.31822E-03
   4  Prefactor     .10000E-03    96.972       -.53578E-05** at limit **
   5  Prefactor     63.389        43.826        .95531E-06    .79331E-04
   6  norm          .10000E-03    .95647       -.84320E-06** at limit **
   7  norm          3.7753        2.1918        .45407E-07   -.86901E-04
   8  Prefactor     4.8166        8.7905        .16788E-05    .35585E-03
   9  Prefactor     20.311        32.875        .15020E-06   -.34601E-05
  10  Prefactor     2.5933        56.957       -.90756E-06   -.66572E-05
  11  Prefactor     .79236        3.1389        .13077E-05   -.25435E-03
  12  norm          10.084        16.984        .10575E-05   -.11342E-03
  13  Prefactor     4.1070        7.6075       -.77491E-07   -.44854E-04
  14  Prefactor     59.914        92.776        .15047E-06    .23338E-05
  15  norm          34.174        71.249       -.56036E-06   -.12933E-04
  16  Prefactor     .10000E-03    86.762        .54528E-05** at limit **
  17  norm          .10000E-03    2.6783        .11867E-07** at limit **
  18  norm          .10000E-03    9.0243        .36263E-07** at limit **
  19  norm          .10000E-03    1.4057        .31313E-07** at limit **
  20  Prefactor     .10000E-03    20.018        .82952E-07** at limit **
  21  Prefactor     .34264        12.716        .88649E-06   -.15595E-03
  22  norm          .56706        1.0778        .32230E-06   -.22781E-03
  23  Normalizat    1.1495        .19901       -.68842E-06   -.92514E-04
  24  Prefactor     .91236        .12118       -.49820E-06   -.14670E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 1.38606
  Prefactor  = 0.000100003
  Prefactor  = 63.3892
  norm       = 0.0001
  norm       = 3.77534
  Prefactor  = 4.81661
  Prefactor  = 20.3114
  Prefactor  = 2.59328
  Prefactor  = 0.792361
  norm       = 10.0837
  Prefactor  = 4.10704
  Prefactor  = 59.914
  norm       = 34.1735
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.342639
  norm       = 0.567056
  Normalizat = 1.14952
  Prefactor  = 0.912361
 **********
 **   18 **HESSE 
 **********

 FCN=   6431.343     FROM HESSE     STATUS=OK           403 CALLS     3847 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.8421        .14223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.3861        1.1050        .18470E-03   -1.5473    
   4  Prefactor     .10000E-03    99.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     63.389        43.780        .50407E-04   -1.4114    
   6  norm          .10000E-03    1.3688        .14043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.7753        2.1908        .85054E-04   -1.5319    
   8  Prefactor     4.8166        8.9110        .18387E-03   -1.5269    
   9  Prefactor     20.311        32.878        .88871E-04   -1.4806    
  10  Prefactor     2.5933        56.997        .25273E-03   -1.5386    
  11  Prefactor     .79236        3.1102        .25586E-03   -1.5530    
  12  norm          10.084        16.920        .63094E-03   -1.5073    
  13  Prefactor     4.1070        7.5884        .19893E-03   -1.5303    
  14  Prefactor     59.914        92.631        .51837E-04   -1.4158    
  15  norm          34.174        71.322        .68544E-04   -1.4538    
  16  Prefactor     .10000E-03    89.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.6810        .12818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    9.0362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.4180        .92843E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    20.045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .34264        185.44        .52309E-02   -1.5591    
  22  norm          .56706        1.0513        .10879E-03   -1.5557    
  23  Normalizat    1.1495        .23005        .28001E-03   -.88177    
  24  Prefactor     .91236        .13736        .19884E-03   -.95711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66242e-09
Minuit parameter uncertainties:
  1  1.91924e-05
  2  0.000131384
  3  1.10504
  4  0.0011296
  5  43.8022
  6  2.35389e-05
  7  2.19087
  8  8.91341
  9  32.9073
  10  24.3411
  11  3.11082
  12  16.928
  13  7.5902
  14  92.8548
  15  71.5011
  16  0.000931064
  17  6.12232e-07
  18  2.7531e-06
  19  4.97319e-07
  20  1.11581e-07
  21  15.9899
  22  1.05134
  23  0.230248
  24  0.13741
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.008e+01  1.693e+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:  9.124e-01  1.374e-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.150e+00  2.302e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/990844/likelihoodResults_319939201_320198401_4FGL_J0753.9+0923_daily_bin311.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) = 6431.16085629
delta logL = 0.182155861738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6431.1607773
delta logL = 0.182234854425

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.023       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7246       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1562       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90938       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=   6431.161     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      267 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.022        22.246        .10006E-03    .73890E-03
   2  alpha         1.7246        1.1182        .33045E-01    .91932E-04
   3  Normalizat    1.1562        .20606        .27928E-03   -.96882E-04
   4  Prefactor     .90938        .13275        .19909E-03   -.74861E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.022
  alpha      = 1.72459
  Normalizat = 1.15624
  Prefactor  = 0.909382
 **********
 **   18 **HESSE 
 **********

 FCN=   6431.161     FROM HESSE     STATUS=OK            23 CALLS      290 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.022        22.228        .20012E-04   -1.4907    
   2  alpha         1.7246        1.1180        .13218E-02   -.31537    
   3  Normalizat    1.1562        .20619        .11171E-04   -.87966    
   4  Prefactor     .90938        .13285        .79637E-05   -.95814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75576e-09
Minuit parameter uncertainties:
  1  22.2398
  2  1.16392
  3  0.206335
  4  0.132893
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/990844': 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) = 6431.1607773
delta logL = 0.182234855792

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.602e+01  2.224e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  1.725e+00  1.164e+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:  9.094e-01  1.329e-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.156e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/990844/cmap_HighResolution_319939201_320198401_4FGL_J0753.9+0923_daily_bin311.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.27e-05', job_status='DONE', photon_flux_upper_limit='7.07e-08', time_completed='2021-08-28 18:57:09.049216', job_id='990844', GAL2='0.91', fit_tolerance='1e-08', EG2='1.16', EG='1.15', time_epoch_completed='1630202229.05', return_code2='0', ts='0.57', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.82e-01', ts2='0.93', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='311' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:57:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 990844: <4FGL_J0753.9+0923_daily_bin311> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin311> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 18:40:38 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:40:39 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:39 2021
Terminated at Sat Aug 28 18:57:09 2021
Results reported at Sat Aug 28 18:57:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin311 118.491 9.3904 319939201 320198401 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 :                                   764.50 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            991 sec.

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

