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


Performing analysis on: 4FGL_J0948.9+0022_daily_bin920
RA = 147.244, Dec = 0.3717
tmin = 477792001, tmax = 478051201
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='518225', job_status='RUN', time_executed='2021-09-01 02:54:09.736316', time_epoch_executed='1630490049.74' WHERE source_name='4FGL J0948.9+0022' and cadence='daily' and bin_id='920'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/518225

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/518225/ft1_4FGL_J0948.9+0022_daily_bin920.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/518225/ft2_4FGL_J0948.9+0022_daily_bin920.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/518225/ft1_4FGL_J0948.9+0022_daily_bin920.fits outfile=/scratch/kocevski/518225/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin920.fits ra=147.244 dec=0.3717 rad=12.0 tmin=477792001.0 tmax=478051201.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 2.91
user 2.67
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/518225/ft2_4FGL_J0948.9+0022_daily_bin920.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/518225/ft2_4FGL_J0948.9+0022_daily_bin920.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/518225/ft1_filteredMKT_4FGL_J0948.9+0022_daily_bin920.fits evtable="EVENTS" outfile="/scratch/kocevski/518225/ft1_filtered_4FGL_J0948.9+0022_daily_bin920.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.48
user 0.28
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/518225/ft1_filtered_4FGL_J0948.9+0022_daily_bin920.fits" evtable="EVENTS" scfile=/scratch/kocevski/518225/ft2_4FGL_J0948.9+0022_daily_bin920.fits sctable="SC_DATA" outfile=/scratch/kocevski/518225/ltcube_477792001_478051201_4FGL_J0948.9+0022_daily_bin920.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/518225/ft2_4FGL_J0948.9+0022_daily_bin920.fits
.....................!
real 11.92
user 11.58
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/518225/ft1_filtered_4FGL_J0948.9+0022_daily_bin920.fits evtable="EVENTS" scfile=/scratch/kocevski/518225/ft2_4FGL_J0948.9+0022_daily_bin920.fits sctable="SC_DATA" expcube=/scratch/kocevski/518225/ltcube_477792001_478051201_4FGL_J0948.9+0022_daily_bin920.fits outfile=/scratch/kocevski/518225/expmap_477792001_478051201_4FGL_J0948.9+0022_daily_bin920.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/518225/ltcube_477792001_478051201_4FGL_J0948.9+0022_daily_bin920.fits
.....................!
real 152.13
user 148.19
sys 3.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
Added 147 point sources and 0 extended sources

Setting source of interest to:
4FGL J0948.9+0022 @ 147.244 0.3717

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/518225/ft1_filtered_4FGL_J0948.9+0022_daily_bin920.fits scfile=/scratch/kocevski/518225/ft2_4FGL_J0948.9+0022_daily_bin920.fits outfile=/scratch/kocevski/518225/cmap_477792001_478051201_4FGL_J0948.9+0022_daily_bin920.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=147.244 yref=0.3717 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.45
user 0.30
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/518225/ft1_filtered_4FGL_J0948.9+0022_daily_bin920.fits scfile=/scratch/kocevski/518225/ft2_4FGL_J0948.9+0022_daily_bin920.fits outfile=/scratch/kocevski/518225/cmap_HighResolution_477792001_478051201_4FGL_J0948.9+0022_daily_bin920.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=147.244 yref=0.3717 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.46
user 0.32
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/518225/ft1_filtered_4FGL_J0948.9+0022_daily_bin920.fits evtable="EVENTS" scfile=/scratch/kocevski/518225/ft2_4FGL_J0948.9+0022_daily_bin920.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/518225/Model_4FGL_J0948.9+0022_daily_bin920.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
Working on...
/scratch/kocevski/518225/ft1_filtered_4FGL_J0948.9+0022_daily_bin920.fits....................!
real 60.20
user 59.02
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/518225/ft1_filtered_4FGL_J0948.9+0022_daily_bin920.fits', '/scratch/kocevski/518225/ft2_4FGL_J0948.9+0022_daily_bin920.fits', expMap='/scratch/kocevski/518225/expmap_477792001_478051201_4FGL_J0948.9+0022_daily_bin920.fits', expCube='/scratch/kocevski/518225/ltcube_477792001_478051201_4FGL_J0948.9+0022_daily_bin920.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/518225/Model_4FGL_J0948.9+0022_daily_bin920.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0948.9+0022'

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  1.422e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.453e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
219         beta:  1.652e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
220           Eb:  2.768e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/518225/ft1_filtered_4FGL_J0948.9+0022_daily_bin920.fits
Spacecraft file(s): /scratch/kocevski/518225/ft2_4FGL_J0948.9+0022_daily_bin920.fits
Exposure map: /scratch/kocevski/518225/expmap_477792001_478051201_4FGL_J0948.9+0022_daily_bin920.fits
Exposure cube: /scratch/kocevski/518225/ltcube_477792001_478051201_4FGL_J0948.9+0022_daily_bin920.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/518225/Model_4FGL_J0948.9+0022_daily_bin920.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) = 7668.93434472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12158E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    10.183       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.295       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.7918       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10824E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.2869       1.0000         .10000E-03   10000.    
     9 'norm      '    2.5029       1.0000         .10000E-03   10000.    
    10 'norm      '    .99517       1.0000         .10000E-03   10000.    
    11 'norm      '    1.9373       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10973E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.483       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    34.243       1.0000         .10000E-03   10000.    
    18 'Prefactor '    29.433       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .40838E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.3445       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.3644       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1457       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0625       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7668.915     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2558 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10013E-03    2.0125       -.34510E-06** at limit **
   2  norm          10.184        6.0209        .45066E-07   -.45541E-04
   3  Prefactor     12.277        17.987        .16859E-05    .49616E-04
   4  Prefactor     4.7942        4.5685        .43162E-06    .44568E-04
   5  Prefactor     .10000E-03    27.675        .16445E-05** at limit **
   6  Prefactor     .10000E-03    6.8204       -.62830E-07** at limit **
   7  Prefactor     .10000E-03    38.999       -.40837E-05** at limit **
   8  norm          1.2872        1.6407        .59123E-07    .45417E-04
   9  norm          2.5027        1.7248        .12236E-06   -.38625E-04
  10  norm          .99519        .51145        .46925E-07    .22439E-04
  11  norm          1.9373        1.2233        .40757E-07    .21453E-04
  12  Prefactor     .10000E-03    3.6538        .66879E-07** at limit **
  13  Prefactor     .10000E-03    10.001       -.38810E-06** at limit **
  14  Prefactor     .10000E-03    8.7329        .48037E-06** at limit **
  15  norm          10.482        10.275       -.64985E-06   -.55076E-04
  16  Prefactor     .10000E-03    5.0627        .48708E-06** at limit **
  17  Prefactor     34.223        68.647        .52711E-05    .10859E-03
  18  Prefactor     29.392        40.847       -.17101E-05    .26724E-03
  19  Prefactor     .10010E-03    25.682       -.50179E-05** at limit **
  20  norm          4.3450        1.5796       -.38680E-07   -.10750E-03
  21  Prefactor     2.3646        4.6449        .14895E-05    .76710E-03
  22  Normalizat    1.1457        .20009       -.17494E-05   -.27521E-04
  23  Prefactor     1.0625        .14837       -.52347E-06   -.26534E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100126
  norm       = 10.1841
  Prefactor  = 12.2774
  Prefactor  = 4.7942
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.28724
  norm       = 2.5027
  norm       = 0.995194
  norm       = 1.93731
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.4821
  Prefactor  = 0.0001
  Prefactor  = 34.2225
  Prefactor  = 29.3916
  Prefactor  = 0.000100099
  norm       = 4.34497
  Prefactor  = 2.36461
  Normalizat = 1.14568
  Prefactor  = 1.0625
 **********
 **   18 **HESSE 
 **********

 FCN=   7668.915     FROM HESSE     STATUS=OK           374 CALLS     2932 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10013E-03    44.723        .22964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          10.184        6.0048        .12556E-03   -1.5070    
   3  Prefactor     12.277        18.039        .11424E-03   -1.5007    
   4  Prefactor     4.7942        4.5561        .17007E-03   -1.5270    
   5  Prefactor     .10000E-03    27.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.8505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    39.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2872        1.6236        .12333E-03   -1.5481    
   9  norm          2.5027        1.7217        .89970E-04   -1.5392    
  10  norm          .99519        .50591        .42927E-04   -1.5508    
  11  norm          1.9373        1.2306        .74908E-04   -1.5430    
  12  Prefactor     .10000E-03    3.6564        .16347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.7519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.482        10.291        .12375E-03   -1.5060    
  16  Prefactor     .10000E-03    5.1005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     34.223        69.178        .68480E-04   -1.4537    
  18  Prefactor     29.392        42.545        .73850E-04   -1.4623    
  19  Prefactor     .10010E-03    46.086        .55247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.3450        1.5790        .63703E-04   -1.5291    
  21  Prefactor     2.3646        5.0334        .13325E-02   -1.5400    
  22  Normalizat    1.1457        .23062        .28091E-03   -.88298    
  23  Prefactor     1.0625        .17413        .23438E-03   -.90674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.07849e-09
Minuit parameter uncertainties:
  1  0.00475628
  2  6.00513
  3  18.0475
  4  4.55643
  5  0.000153634
  6  8.88371e-06
  7  0.000392132
  8  1.62368
  9  1.72178
  10  0.505914
  11  1.23059
  12  2.45827e-06
  13  1.27588e-05
  14  3.90669e-05
  15  10.2923
  16  2.8426e-05
  17  69.3411
  18  42.5891
  19  0.0042855
  20  1.57897
  21  5.03434
  22  0.230829
  23  0.174221
Done.

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

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  9.952e-01  5.059e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  2.453e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
219         beta:  1.652e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
220           Eb:  2.768e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.062e+00  1.742e-01  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  1.146e+00  2.308e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.01
Ra Dec: 147.244 0.372
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 7.64e-08 +/- 3.88e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 9.68e-06

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) = 7666.49457979
delta logL = 2.42034493738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7666.48373858
delta logL = 2.43118614534

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44274       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2745       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2064       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0314       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7666.484     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      214 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44273        .30668         .0000       -.18020E-02
   2  alpha         1.2745        .35568         .0000       -.12289E-02
   3  Normalizat    1.2064        .18184         .0000        .21627E-04
   4  Prefactor     1.0314        .14741         .0000       -.10489E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.442732
  alpha      = 1.27453
  Normalizat = 1.2064
  Prefactor  = 1.03143
 **********
 **   18 **HESSE 
 **********

 FCN=   7666.484     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .70E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44273        .34584        .31097E-04   -1.5575    
   2  alpha         1.2745        .41740        .55561E-01   -.51231    
   3  Normalizat    1.2064        .21330        .27470E-03   -.86405    
   4  Prefactor     1.0314        .17316        .23733E-03   -.91689    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98977e-08
Minuit parameter uncertainties:
  1  0.345842
  2  0.419994
  3  0.213453
  4  0.173253
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/518225': 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) = 7666.48373856
delta logL = 2.43118616486

Extracting fit parameters...

4FGL J0948.9+0022
   Spectrum: LogParabola
217         norm:  4.427e-01  3.458e-01  1.000e-04  1.000e+04 ( 1.000e-10)
218        alpha:  1.275e+00  4.200e-01  0.000e+00  5.000e+00 ( 1.000e+00)
219         beta:  1.652e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
220           Eb:  2.768e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.031e+00  1.733e-01  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  1.206e+00  2.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.92
Ra Dec: 147.244 0.372
Photon Index (Free Index): 1.27 +/- 0.42
Photon Flux (Free Index): 3.25e-08 +/- 2.15e-08
Energy Flux (Free Index): 3.12e-05 +/- 2.10e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/518225/cmap_HighResolution_477792001_478051201_4FGL_J0948.9+0022_daily_bin920.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.64e-08', energy_flux2='3.12e-05', photon_flux_error='3.88e-08', dlogl='2.43e+00', energy_flux='1.90e-05', photon_flux2='3.25e-08', job_status='DONE', time_completed='2021-09-01 03:03:21.639495', photon_index_error2='0.42', photon_index2='1.27', ts='9.01', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='2.10e-05', EG='1.15', time_epoch_completed='1630490601.64', return_code='0', job_id='518225', GAL2='1.03', EG2='1.21', return_code2='0', energy_flux_error='9.68e-06', photon_flux_error2='2.15e-08', ts2='13.92', photon_index='2.45' WHERE bin_id='920' AND source_name='4FGL J0948.9+0022' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:03:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 518225: <4FGL_J0948.9+0022_daily_bin920> in cluster <slac> Done

Job <4FGL_J0948.9+0022_daily_bin920> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 02:50:59 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 02:51:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 02:51:00 2021
Terminated at Wed Sep  1 03:03:22 2021
Results reported at Wed Sep  1 03:03:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0948.9+0022_daily_bin920 147.244 0.3717 477792001 478051201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0948.9+0022 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   492.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             217.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            743 sec.

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

