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


Performing analysis on: 4FGL_J2245.9+1544_daily_bin1082
RA = 341.491, Dec = 15.7479
tmin = 519782401, tmax = 520041601
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='467193', job_status='RUN', time_executed='2021-09-28 20:15:46.824334', time_epoch_executed='1632885346.82' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='1082'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/467193

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/467193/ft1_4FGL_J2245.9+1544_daily_bin1082.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/467193/ft2_4FGL_J2245.9+1544_daily_bin1082.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/467193/ft1_4FGL_J2245.9+1544_daily_bin1082.fits outfile=/scratch/kocevski/467193/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1082.fits ra=341.491 dec=15.7479 rad=12.0 tmin=519782401.0 tmax=520041601.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.55
user 3.30
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/467193/ft2_4FGL_J2245.9+1544_daily_bin1082.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/467193/ft2_4FGL_J2245.9+1544_daily_bin1082.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/467193/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1082.fits evtable="EVENTS" outfile="/scratch/kocevski/467193/ft1_filtered_4FGL_J2245.9+1544_daily_bin1082.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/467193/ft1_filtered_4FGL_J2245.9+1544_daily_bin1082.fits" evtable="EVENTS" scfile=/scratch/kocevski/467193/ft2_4FGL_J2245.9+1544_daily_bin1082.fits sctable="SC_DATA" outfile=/scratch/kocevski/467193/ltcube_519782401_520041601_4FGL_J2245.9+1544_daily_bin1082.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/467193/ft2_4FGL_J2245.9+1544_daily_bin1082.fits
.....................!
real 11.79
user 11.42
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/467193/ft1_filtered_4FGL_J2245.9+1544_daily_bin1082.fits evtable="EVENTS" scfile=/scratch/kocevski/467193/ft2_4FGL_J2245.9+1544_daily_bin1082.fits sctable="SC_DATA" expcube=/scratch/kocevski/467193/ltcube_519782401_520041601_4FGL_J2245.9+1544_daily_bin1082.fits outfile=/scratch/kocevski/467193/expmap_519782401_520041601_4FGL_J2245.9+1544_daily_bin1082.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/467193/ltcube_519782401_520041601_4FGL_J2245.9+1544_daily_bin1082.fits
.....................!
real 190.37
user 185.19
sys 4.83

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

Setting source of interest to:
4FGL J2245.9+1544 @ 341.491 15.7479

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/467193/ft1_filtered_4FGL_J2245.9+1544_daily_bin1082.fits scfile=/scratch/kocevski/467193/ft2_4FGL_J2245.9+1544_daily_bin1082.fits outfile=/scratch/kocevski/467193/cmap_519782401_520041601_4FGL_J2245.9+1544_daily_bin1082.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=341.491 yref=15.7479 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/467193/ft1_filtered_4FGL_J2245.9+1544_daily_bin1082.fits scfile=/scratch/kocevski/467193/ft2_4FGL_J2245.9+1544_daily_bin1082.fits outfile=/scratch/kocevski/467193/cmap_HighResolution_519782401_520041601_4FGL_J2245.9+1544_daily_bin1082.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=341.491 yref=15.7479 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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/467193/ft1_filtered_4FGL_J2245.9+1544_daily_bin1082.fits evtable="EVENTS" scfile=/scratch/kocevski/467193/ft2_4FGL_J2245.9+1544_daily_bin1082.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/467193/Model_4FGL_J2245.9+1544_daily_bin1082.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/467193/ft1_filtered_4FGL_J2245.9+1544_daily_bin1082.fits.....................!
real 102.59
user 101.12
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/467193/ft1_filtered_4FGL_J2245.9+1544_daily_bin1082.fits', '/scratch/kocevski/467193/ft2_4FGL_J2245.9+1544_daily_bin1082.fits', expMap='/scratch/kocevski/467193/expmap_519782401_520041601_4FGL_J2245.9+1544_daily_bin1082.fits', expCube='/scratch/kocevski/467193/ltcube_519782401_520041601_4FGL_J2245.9+1544_daily_bin1082.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/467193/Model_4FGL_J2245.9+1544_daily_bin1082.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2245.9+1544'

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  5.169e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  1.964e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  3.328e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/467193/ft1_filtered_4FGL_J2245.9+1544_daily_bin1082.fits
Spacecraft file(s): /scratch/kocevski/467193/ft2_4FGL_J2245.9+1544_daily_bin1082.fits
Exposure map: /scratch/kocevski/467193/expmap_519782401_520041601_4FGL_J2245.9+1544_daily_bin1082.fits
Exposure cube: /scratch/kocevski/467193/ltcube_519782401_520041601_4FGL_J2245.9+1544_daily_bin1082.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/467193/Model_4FGL_J2245.9+1544_daily_bin1082.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) = 10528.8241884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28850       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.175       1.0000         .10000E-03   10000.    
     3 'norm      '    .49631       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.1226       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.7732       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.1460       1.0000         .10000E-03   10000.    
     8 'norm      '    1.1109       1.0000         .10000E-03   10000.    
     9 'Prefactor '    40.088       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.9008       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .82671       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11736E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    60.747       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.6227       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.7258       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.518       1.0000         .10000E-03   10000.    
    20 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    2.3770       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .77857       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1232       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10528.82     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2773 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28867        .61413       -.40164E-08   -.37558E-03
   2  Prefactor     11.176        10.509       -.20393E-06    .61655E-05
   3  norm          .49675        2.3985       -.69638E-06    .27812E-03
   4  Prefactor     9.1228        15.210       -.30049E-06   -.10122E-03
   5  Prefactor     .10000E-03    10.931        .57688E-06** at limit **
   6  Prefactor     3.7732        .38702       -.24965E-07    .64725E-03
   7  Prefactor     9.1466        8.8765       -.41387E-07   -.16129E-03
   8  norm          1.1110        1.0846       -.51664E-07   -.45271E-04
   9  Prefactor     40.090        29.667        .17441E-05    .73883E-05
  10  Prefactor     1.9003        4.3487        .53933E-06   -.18115E-02
  11  Prefactor     .10000E-03    5.1203       -.16616E-07** at limit **
  12  Prefactor     .82666        .16976       -.36612E-07    .40992E-03
  13  Prefactor     .10000E-03    4.7414        .15327E-05** at limit **
  14  Prefactor     60.744        39.029       -.23624E-05   -.39552E-05
  15  Prefactor     .10000E-03    2.4322       -.32518E-07** at limit **
  16  Prefactor     .10000E-03    14.823       -.34541E-05** at limit **
  17  Prefactor     9.6028        26.542       -.37346E-04   -.10407E-03
  18  Prefactor     1.7223        3.0832        .58427E-06   -.29518E-02
  19  Prefactor     10.522        16.386        .22378E-05    .17593E-04
  20  norm          .10003E-03    3.7939        .56593E-06** at limit **
  21  Prefactor     .10000E-03    2.9416       -.16788E-07** at limit **
  22  norm          2.3769        25.818       -.97929E-07   -.24790E-03
  23  Normalizat    .77871        .21903        .28040E-05   -.57502E-04
  24  Prefactor     1.1231        .11619        .14759E-06   -.88852E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.288668
  Prefactor  = 11.1758
  norm       = 0.496753
  Prefactor  = 9.1228
  Prefactor  = 0.0001
  Prefactor  = 3.77317
  Prefactor  = 9.14659
  norm       = 1.11097
  Prefactor  = 40.0896
  Prefactor  = 1.90028
  Prefactor  = 0.0001
  Prefactor  = 0.826665
  Prefactor  = 0.000100002
  Prefactor  = 60.7439
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.60276
  Prefactor  = 1.72227
  Prefactor  = 10.5224
  norm       = 0.000100027
  Prefactor  = 0.0001
  norm       = 2.37694
  Normalizat = 0.778706
  Prefactor  = 1.12313
 **********
 **   18 **HESSE 
 **********

 FCN=   10528.82     FROM HESSE     STATUS=OK           409 CALLS     3182 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28867        .49688        .11219E-02   -1.5601    
   2  Prefactor     11.176        10.511        .11984E-03   -1.5039    
   3  norm          .49675        12.899        .29826E-02   -1.5567    
   4  Prefactor     9.1228        15.277        .66348E-03   -1.5104    
   5  Prefactor     .10000E-03    11.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.7732        .38934        .18527E-04   -1.5319    
   7  Prefactor     9.1466        8.9017        .66262E-03   -1.5103    
   8  norm          1.1110        1.0820        .10261E-03   -1.5497    
   9  Prefactor     40.090        29.729        .63308E-04   -1.4441    
  10  Prefactor     1.9003        4.7746        .15083E-02   -1.5432    
  11  Prefactor     .10000E-03    5.1240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .82666        .16976        .17950E-04   -1.5526    
  13  Prefactor     .10000E-03    24.513        .42823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     60.744        39.079        .51480E-04   -1.4148    
  15  Prefactor     .10000E-03    2.4498        .15624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.6028        26.611        .12918E-03   -1.5088    
  18  Prefactor     1.7223        5.3101        .15983E-02   -1.5445    
  19  Prefactor     10.522        16.893        .12354E-03   -1.5059    
  20  norm          .10003E-03    18.128        .38693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.9543        .17181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.3769        26.846        .13286E-02   -1.5400    
  23  Normalizat    .77871        .24349        .42771E-03   -1.0086    
  24  Prefactor     1.1231        .13068        .20315E-03   -.88731    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67686e-08
Minuit parameter uncertainties:
  1  0.496886
  2  10.5131
  3  5.06337
  4  15.284
  5  3.46951e-05
  6  0.389338
  7  8.90294
  8  1.08205
  9  29.7396
  10  4.77554
  11  3.10058e-06
  12  0.169764
  13  0.000457155
  14  39.0958
  15  5.74952e-06
  16  5.36761e-05
  17  26.6438
  18  5.31159
  19  16.9007
  20  0.00140795
  21  7.55293e-06
  22  15.9851
  23  0.24383
  24  0.13072
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  4.009e+01  2.974e+01  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  1.964e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  3.328e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.123e+00  1.307e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  7.787e-01  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.40
Ra Dec: 341.491 15.748
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 4.06e-08 +/- 3.01e-08
Energy Flux (Fixed Index): 3.07e-05 +/- 2.28e-05

TS (Fixed Index): 3.40
Ra Dec: 341.491 15.748
Photon Flux Upper Limit: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/467193/likelihoodResults_519782401_520041601_4FGL_J2245.9+1544_daily_bin1082.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) = 10528.5708206
delta logL = 0.249734911644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10528.5690277
delta logL = 0.251527767301

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.227       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3468       1.0000          .0000       10.000    
     3 'Normalizat'    .75859       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1291       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+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=   10528.57     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      303 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.228        38.173        .83113E-04    .80977E-04
   2  Index         2.3467        .73148        .54950E-02    .95563E-04
   3  Normalizat    .75864        .23315        .43242E-03    .74509E-04
   4  Prefactor     1.1291        .13057        .20258E-03    .20787E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.228
  Index      = 2.34669
  Normalizat = 0.758635
  Prefactor  = 1.12907
 **********
 **   18 **HESSE 
 **********

 FCN=   10528.57     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.228        29.472        .33245E-05   -1.4744    
   2  Index         2.3467        .56540        .21980E-03   -.55938    
   3  Normalizat    .75864        .23172        .17297E-04   -1.0162    
   4  Prefactor     1.1291        .13015        .40516E-04   -.88543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77937e-11
Minuit parameter uncertainties:
  1  29.4902
  2  0.567087
  3  0.232025
  4  0.130188
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/467193': 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) = 10528.5690277
delta logL = 0.25152782208

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  2.323e+01  2.949e+01  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  2.347e+00  5.671e-01  0.000e+00  1.000e+01 (-1.000e+00)
285        Scale:  3.328e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.129e+00  1.302e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  7.586e-01  2.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.92
Ra Dec: 341.491 15.748
Photon Index (Free Index): 2.35 +/- 0.57
Photon Flux (Free Index): 6.44e-08 +/- 5.22e-08
Energy Flux (Free Index): 2.27e-05 +/- 1.68e-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/467193/cmap_HighResolution_519782401_520041601_4FGL_J2245.9+1544_daily_bin1082.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.00e-03', comment='SUCCESS', photon_flux='4.06e-08', energy_flux2='2.27e-05', photon_flux_error='3.01e-08', dlogl='2.52e-01', energy_flux='3.07e-05', photon_flux2='6.44e-08', job_status='DONE', time_completed='2021-09-28 20:30:57.438465', photon_index_error2='0.57', photon_index2='2.35', ts='3.40', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.07e-07', energy_flux_error2='1.68e-05', EG='0.78', time_epoch_completed='1632886257.44', return_code='0', job_id='467193', GAL2='1.13', EG2='0.76', return_code2='0', energy_flux_error='2.28e-05', photon_flux_error2='5.22e-08', ts2='3.92', photon_index='1.96' WHERE bin_id='1082' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:30:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 467193: <4FGL_J2245.9+1544_daily_bin1082> in cluster <slac> Done

Job <4FGL_J2245.9+1544_daily_bin1082> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 20:15:36 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:15:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 20:15:37 2021
Terminated at Tue Sep 28 20:30:58 2021
Results reported at Tue Sep 28 20:30:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin1082 341.491 15.7479 519782401 520041601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2245.9+1544 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   906.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             376.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   920 sec.
    Turnaround time :                            922 sec.

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

