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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin480
RA = 140.885, Dec = 38.8743
tmin = 363744001, tmax = 364003201
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='193079', job_status='RUN', time_executed='2021-08-31 10:06:01.630565', time_epoch_executed='1630429561.63' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='480'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193079

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193079/ft1_4FGL_J0923.5+3852_daily_bin480.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193079/ft2_4FGL_J0923.5+3852_daily_bin480.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193079/ft1_4FGL_J0923.5+3852_daily_bin480.fits outfile=/scratch/kocevski/193079/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin480.fits ra=140.885 dec=38.8743 rad=12.0 tmin=363744001.0 tmax=364003201.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.24
user 3.04
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/193079/ft2_4FGL_J0923.5+3852_daily_bin480.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/193079/ft2_4FGL_J0923.5+3852_daily_bin480.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/193079/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin480.fits evtable="EVENTS" outfile="/scratch/kocevski/193079/ft1_filtered_4FGL_J0923.5+3852_daily_bin480.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.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193079/ft1_filtered_4FGL_J0923.5+3852_daily_bin480.fits" evtable="EVENTS" scfile=/scratch/kocevski/193079/ft2_4FGL_J0923.5+3852_daily_bin480.fits sctable="SC_DATA" outfile=/scratch/kocevski/193079/ltcube_363744001_364003201_4FGL_J0923.5+3852_daily_bin480.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/193079/ft2_4FGL_J0923.5+3852_daily_bin480.fits
.....................!
real 12.19
user 11.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193079/ft1_filtered_4FGL_J0923.5+3852_daily_bin480.fits evtable="EVENTS" scfile=/scratch/kocevski/193079/ft2_4FGL_J0923.5+3852_daily_bin480.fits sctable="SC_DATA" expcube=/scratch/kocevski/193079/ltcube_363744001_364003201_4FGL_J0923.5+3852_daily_bin480.fits outfile=/scratch/kocevski/193079/expmap_363744001_364003201_4FGL_J0923.5+3852_daily_bin480.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/193079/ltcube_363744001_364003201_4FGL_J0923.5+3852_daily_bin480.fits
.....................!
real 191.10
user 184.91
sys 4.21

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 203 point sources and 0 extended sources

Setting source of interest to:
4FGL J0923.5+3852 @ 140.885 38.8743

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/193079/ft1_filtered_4FGL_J0923.5+3852_daily_bin480.fits scfile=/scratch/kocevski/193079/ft2_4FGL_J0923.5+3852_daily_bin480.fits outfile=/scratch/kocevski/193079/cmap_363744001_364003201_4FGL_J0923.5+3852_daily_bin480.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=140.885 yref=38.8743 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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193079/ft1_filtered_4FGL_J0923.5+3852_daily_bin480.fits scfile=/scratch/kocevski/193079/ft2_4FGL_J0923.5+3852_daily_bin480.fits outfile=/scratch/kocevski/193079/cmap_HighResolution_363744001_364003201_4FGL_J0923.5+3852_daily_bin480.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=140.885 yref=38.8743 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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/193079/ft1_filtered_4FGL_J0923.5+3852_daily_bin480.fits evtable="EVENTS" scfile=/scratch/kocevski/193079/ft2_4FGL_J0923.5+3852_daily_bin480.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193079/Model_4FGL_J0923.5+3852_daily_bin480.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/193079/ft1_filtered_4FGL_J0923.5+3852_daily_bin480.fits....................!
real 50.43
user 49.17
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/193079/ft1_filtered_4FGL_J0923.5+3852_daily_bin480.fits', '/scratch/kocevski/193079/ft2_4FGL_J0923.5+3852_daily_bin480.fits', expMap='/scratch/kocevski/193079/expmap_363744001_364003201_4FGL_J0923.5+3852_daily_bin480.fits', expCube='/scratch/kocevski/193079/ltcube_363744001_364003201_4FGL_J0923.5+3852_daily_bin480.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/193079/Model_4FGL_J0923.5+3852_daily_bin480.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0923.5+3852'

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  3.377e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  2.609e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  2.149e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/193079/ft1_filtered_4FGL_J0923.5+3852_daily_bin480.fits
Spacecraft file(s): /scratch/kocevski/193079/ft2_4FGL_J0923.5+3852_daily_bin480.fits
Exposure map: /scratch/kocevski/193079/expmap_363744001_364003201_4FGL_J0923.5+3852_daily_bin480.fits
Exposure cube: /scratch/kocevski/193079/ltcube_363744001_364003201_4FGL_J0923.5+3852_daily_bin480.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/193079/Model_4FGL_J0923.5+3852_daily_bin480.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) = 5911.15890568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    2.8395       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.5222       1.0000         .10000E-03   10000.    
     5 'norm      '    7.6258       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .76611       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10332E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .89131       1.0000         .10000E-03   10000.    
    11 'norm      '    1.7609       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.441       1.0000         .10000E-03   10000.    
    13 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.3835       1.0000         .10000E-03   10000.    
    15 'norm      '    15.085       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.9610       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .44560       1.0000         .10000E-03   10000.    
    20 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.4172       1.0000         .10000E-03   10000.    
    22 'Prefactor '    36.571       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    9.7897       1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.9667       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    5.9473       1.0000         .10000E-03   10000.    
    28 'norm      '    4.1159       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .84313       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.2033       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5911.138     FROM MIGRAD    STATUS=CONVERGED    785 CALLS     3973 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.196        .13095E-06** at limit **
   2  Prefactor     2.8402        2.6946        .11527E-07   -.35104E-04
   3  Prefactor     .10000E-03    13.217        .20523E-06** at limit **
   4  Prefactor     3.5222        4.0651       -.49244E-07   -.32968E-04
   5  norm          7.6237        7.8648       -.48808E-08   -.47345E-04
   6  Prefactor     .76644        1.8753        .68722E-06    .22518E-03
   7  Prefactor     .10000E-03    23.519       -.60681E-07** at limit **
   8  Prefactor     .10000E-03    4.3227        .54915E-06** at limit **
   9  Prefactor     .10000E-03    15.028       -.14939E-06** at limit **
  10  Prefactor     .88791        2.1712        .66241E-06    .55648E-03
  11  norm          1.7605        1.5403        .29181E-07   -.43600E-04
  12  Prefactor     28.452        20.211       -.24530E-06   -.42126E-04
  13  norm          .10000E-03    .18851       -.17453E-07** at limit **
  14  Prefactor     1.3859        2.2573       -.26478E-07    .11532E-03
  15  norm          15.088        8.9980       -.28043E-07    .53895E-04
  16  Prefactor     .10000E-03    1.1804       -.54336E-06** at limit **
  17  Prefactor     .10000E-03    1.2608        .12606E-06** at limit **
  18  Prefactor     2.9940        14.950        .14176E-05    .83390E-04
  19  Prefactor     .29684        17.633       -.95723E-06    .14388E-04
  20  norm          .10000E-03    4.7895       -.33993E-06** at limit **
  21  Prefactor     1.4521        38.041       -.85332E-06   -.20338E-04
  22  Prefactor     36.511        42.737       -.14009E-05   -.91949E-04
  23  Prefactor     .10000E-03    3.1440        .37417E-07** at limit **
  24  norm          9.7933        10.087       -.27328E-07    .19018E-04
  25  Prefactor     4.9684        5.9515        .36492E-07    .55043E-04
  26  Prefactor     .10000E-03    9.9651       -.20134E-06** at limit **
  27  Prefactor     5.9485        7.3469        .44862E-08    .44141E-04
  28  norm          4.1167        6.0302        .44841E-07   -.40652E-07
  29  Normalizat    .84265        .20942        .35001E-05   -.87713E-04
  30  Prefactor     1.2039        .22297       -.37754E-05    .10992E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.84015
  Prefactor  = 0.0001
  Prefactor  = 3.52216
  norm       = 7.62371
  Prefactor  = 0.766439
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.887912
  norm       = 1.76049
  Prefactor  = 28.4516
  norm       = 0.0001
  Prefactor  = 1.38585
  norm       = 15.088
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.994
  Prefactor  = 0.296838
  norm       = 0.0001
  Prefactor  = 1.45214
  Prefactor  = 36.5115
  Prefactor  = 0.0001
  norm       = 9.7933
  Prefactor  = 4.96844
  Prefactor  = 0.0001
  Prefactor  = 5.94852
  norm       = 4.11672
  Normalizat = 0.842653
  Prefactor  = 1.20389
 **********
 **   18 **HESSE 
 **********

 FCN=   5911.138     FROM HESSE     STATUS=OK           604 CALLS     4577 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.8402        2.6890        .11880E-03   -1.5371    
   3  Prefactor     .10000E-03    13.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.5222        4.0660        .16255E-03   -1.5333    
   5  norm          7.6237        7.8316        .14522E-03   -1.5156    
   6  Prefactor     .76644        1.8513        .15728E-03   -1.5533    
   7  Prefactor     .10000E-03    23.531        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.4699        .31219E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .88791        1.9649        .17032E-02   -1.5520    
  11  norm          1.7605        1.5508        .86619E-04   -1.5443    
  12  Prefactor     28.452        20.081        .75123E-04   -1.4641    
  13  norm          .10000E-03    .33807        .58277E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.3859        1.9980        .12361E-03   -1.5473    
  15  norm          15.088        8.9781        .10312E-03   -1.4931    
  16  Prefactor     .10000E-03    1.9683        .15596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.2674        .84311E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.9940        15.528        .23599E-03   -1.5362    
  19  Prefactor     .29684        23.958        .88848E-01   -1.5599    
  20  norm          .10000E-03    4.7905        .16431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.4521        37.547        .36358E-03   -1.5467    
  22  Prefactor     36.511        42.515        .66272E-04   -1.4499    
  23  Prefactor     .10000E-03    3.1482        .13312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          9.7933        10.086        .12807E-03   -1.5082    
  25  Prefactor     4.9684        5.9308        .15355E-03   -1.5262    
  26  Prefactor     .10000E-03    9.9749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     5.9485        7.3187        .16466E-03   -1.5220    
  28  norm          4.1167        6.0222        .19870E-03   -1.5302    
  29  Normalizat    .84265        .21647        .25286E-03   -.98506    
  30  Prefactor     1.2039        .22951        .24776E-03   -.86212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.59715e-10
Minuit parameter uncertainties:
  1  1.35266e-05
  2  2.68913
  3  2.03416e-05
  4  4.06636
  5  7.83268
  6  1.85142
  7  3.53877e-05
  8  1.40955e-05
  9  5.06842e-06
  10  1.96505
  11  1.55079
  12  20.0857
  13  1.54903e-06
  14  1.99807
  15  8.97888
  16  1.97973e-05
  17  1.62361e-06
  18  13.6421
  19  5.33483
  20  7.42806e-06
  21  14.7779
  22  42.5502
  23  2.6956e-07
  24  10.0873
  25  5.93155
  26  6.93692e-06
  27  7.31977
  28  6.02309
  29  0.216692
  30  0.229703
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.509e+01  8.979e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  2.609e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  2.149e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.204e+00  2.297e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  8.427e-01  2.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.69
Ra Dec: 140.885 38.874
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 6.17e-08 +/- 3.67e-08
Energy Flux (Fixed Index): 1.64e-05 +/- 9.76e-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) = 5910.13756933
delta logL = 1.00092522546

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5910.10332402
delta logL = 1.03517053185

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5910.103     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      214 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.768        8.5370        .28031E-02   -.28050E-03
   2  alpha         1.5617        .53523        .42342       -.24603E-04
   3  Normalizat    .88664        .16408        .44727E-01    .17823E-04
   4  Prefactor     1.1769        .18850        .56604E-01    .65606E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 12.7683
  alpha      = 1.5617
  Normalizat = 0.886641
  Prefactor  = 1.17689
 **********
 **   18 **HESSE 
 **********

 FCN=   5910.103     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.768        11.348        .56062E-03   -1.4993    
   2  alpha         1.5617        .76364        .17219E-01   -.38474    
   3  Normalizat    .88664        .19306        .24732E-03   -.96931    
   4  Prefactor     1.1769        .22153        .25030E-03   -.87045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70342e-12
Minuit parameter uncertainties:
  1  11.3497
  2  0.778187
  3  0.193213
  4  0.221703
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193079': 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) = 5910.10331763
delta logL = 1.0351769245

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.277e+01  1.135e+01  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  1.562e+00  7.782e-01  0.000e+00  5.000e+00 ( 1.000e+00)
307         beta:  2.149e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.177e+00  2.217e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  8.866e-01  1.932e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.78
Ra Dec: 140.885 38.874
Photon Index (Free Index): 1.56 +/- 0.78
Photon Flux (Free Index): 2.42e-08 +/- 2.63e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.34e-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/193079/cmap_HighResolution_363744001_364003201_4FGL_J0923.5+3852_daily_bin480.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.17e-08', energy_flux2='1.86e-05', photon_flux_error='3.67e-08', dlogl='1.04e+00', energy_flux='1.64e-05', photon_flux2='2.42e-08', job_status='DONE', time_completed='2021-08-31 10:19:15.144998', photon_index_error2='0.78', photon_index2='1.56', ts='7.69', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.34e-05', EG='0.84', time_epoch_completed='1630430355.15', return_code='0', job_id='193079', GAL2='1.18', EG2='0.89', return_code2='0', energy_flux_error='9.76e-06', photon_flux_error2='2.63e-08', ts2='9.78', photon_index='2.61' WHERE bin_id='480' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:19:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 193079: <4FGL_J0923.5+3852_daily_bin480> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin480> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 10:05:44 2021
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 10:05:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 10:05:46 2021
Terminated at Tue Aug 31 10:19:15 2021
Results reported at Tue Aug 31 10:19:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin480 140.885 38.8743 363744001 364003201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0923.5+3852 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   786.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             365.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            811 sec.

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

