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


Performing analysis on: 4FGL_J2245.9+1544_daily_bin256
RA = 341.491, Dec = 15.7479
tmin = 305683201, tmax = 305942401
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='462830', job_status='RUN', time_executed='2021-09-28 20:00:47.890410', time_epoch_executed='1632884447.89' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='256'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/462830

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/462830/ft1_4FGL_J2245.9+1544_daily_bin256.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/462830/ft2_4FGL_J2245.9+1544_daily_bin256.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/462830/ft1_4FGL_J2245.9+1544_daily_bin256.fits outfile=/scratch/kocevski/462830/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin256.fits ra=341.491 dec=15.7479 rad=12.0 tmin=305683201.0 tmax=305942401.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 4.78
user 4.47
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/462830/ft1_filtered_4FGL_J2245.9+1544_daily_bin256.fits" evtable="EVENTS" scfile=/scratch/kocevski/462830/ft2_4FGL_J2245.9+1544_daily_bin256.fits sctable="SC_DATA" outfile=/scratch/kocevski/462830/ltcube_305683201_305942401_4FGL_J2245.9+1544_daily_bin256.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/462830/ft2_4FGL_J2245.9+1544_daily_bin256.fits
.....................!
real 13.97
user 13.61
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/462830/ft1_filtered_4FGL_J2245.9+1544_daily_bin256.fits evtable="EVENTS" scfile=/scratch/kocevski/462830/ft2_4FGL_J2245.9+1544_daily_bin256.fits sctable="SC_DATA" expcube=/scratch/kocevski/462830/ltcube_305683201_305942401_4FGL_J2245.9+1544_daily_bin256.fits outfile=/scratch/kocevski/462830/expmap_305683201_305942401_4FGL_J2245.9+1544_daily_bin256.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/462830/ltcube_305683201_305942401_4FGL_J2245.9+1544_daily_bin256.fits
.....................!
real 192.30
user 186.76
sys 5.17

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/462830/ft1_filtered_4FGL_J2245.9+1544_daily_bin256.fits scfile=/scratch/kocevski/462830/ft2_4FGL_J2245.9+1544_daily_bin256.fits outfile=/scratch/kocevski/462830/cmap_305683201_305942401_4FGL_J2245.9+1544_daily_bin256.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/462830/ft1_filtered_4FGL_J2245.9+1544_daily_bin256.fits scfile=/scratch/kocevski/462830/ft2_4FGL_J2245.9+1544_daily_bin256.fits outfile=/scratch/kocevski/462830/cmap_HighResolution_305683201_305942401_4FGL_J2245.9+1544_daily_bin256.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.54
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/462830/ft1_filtered_4FGL_J2245.9+1544_daily_bin256.fits', '/scratch/kocevski/462830/ft2_4FGL_J2245.9+1544_daily_bin256.fits', expMap='/scratch/kocevski/462830/expmap_305683201_305942401_4FGL_J2245.9+1544_daily_bin256.fits', expCube='/scratch/kocevski/462830/ltcube_305683201_305942401_4FGL_J2245.9+1544_daily_bin256.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/462830/Model_4FGL_J2245.9+1544_daily_bin256.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/462830/ft1_filtered_4FGL_J2245.9+1544_daily_bin256.fits
Spacecraft file(s): /scratch/kocevski/462830/ft2_4FGL_J2245.9+1544_daily_bin256.fits
Exposure map: /scratch/kocevski/462830/expmap_305683201_305942401_4FGL_J2245.9+1544_daily_bin256.fits
Exposure cube: /scratch/kocevski/462830/ltcube_305683201_305942401_4FGL_J2245.9+1544_daily_bin256.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/462830/Model_4FGL_J2245.9+1544_daily_bin256.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) = 9968.60939079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2980       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.5938       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.548       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.6539       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .40694       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.859       1.0000         .10000E-03   10000.    
     8 'norm      '    .58981       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.2017       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.970       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.7783       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10265E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.4537       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.4154       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11326E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    10.373       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1460       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91603       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=   9968.479     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2341 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2982        1.2735        .42134E-07   -.19188E-03
   2  Prefactor     3.5929        15.202       -.39208E-06   -.40317E-04
   3  norm          .10000E-03    2.8111       -.23207E-07** at limit **
   4  Prefactor     10.550        13.885        .12767E-05   -.25823E-03
   5  Prefactor     4.6556        12.240        .50075E-05   -.61760E-03
   6  Prefactor     .40696        .19830        .58685E-08   -.17830E-03
   7  Prefactor     11.859        7.6423        .37733E-07   -.43075E-05
   8  norm          .58973        1.3787        .35540E-06   -.16646E-03
   9  Prefactor     7.1848        44.614       -.13357E-04   -.24090E-03
  10  Prefactor     .10000E-03    7.0303       -.10463E-05** at limit **
  11  Prefactor     15.966        19.704       -.64242E-06   -.10908E-03
  12  Prefactor     5.7785        .41843        .40954E-07   -.14994E-02
  13  Prefactor     .10000E-03    15.192       -.30613E-05** at limit **
  14  Prefactor     5.4573        35.855        .34724E-05    .56834E-04
  15  Prefactor     .10000E-03    11.040        .16097E-05** at limit **
  16  Prefactor     .10000E-03    4.3598        .42682E-07** at limit **
  17  Prefactor     .10000E-03    32.982       -.17933E-05** at limit **
  18  Prefactor     8.4156        8.3411        .16938E-05   -.88411E-03
  19  Prefactor     .10000E-03    22.166        .32027E-05** at limit **
  20  norm          .10000E-03    6.2366        .10361E-05** at limit **
  21  Prefactor     .10000E-03    5.6769       -.28576E-06** at limit **
  22  norm          10.374        10.939       -.36362E-06    .15191E-03
  23  Normalizat    1.1456        .24976       -.23651E-05    .26164E-04
  24  Prefactor     .91621        .12508        .24055E-06   -.84687E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.29815
  Prefactor  = 3.59286
  norm       = 0.0001
  Prefactor  = 10.5502
  Prefactor  = 4.65556
  Prefactor  = 0.406957
  Prefactor  = 11.8592
  norm       = 0.589726
  Prefactor  = 7.18476
  Prefactor  = 0.0001
  Prefactor  = 15.9664
  Prefactor  = 5.77854
  Prefactor  = 0.000100003
  Prefactor  = 5.45733
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.41561
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10.3735
  Normalizat = 1.14557
  Prefactor  = 0.916212
 **********
 **   18 **HESSE 
 **********

 FCN=   9968.479     FROM HESSE     STATUS=OK           401 CALLS     2742 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2982        1.2687        .80054E-04   -1.5405    
   2  Prefactor     3.5929        15.185        .21316E-03   -1.5329    
   3  norm          .10000E-03    2.8408        .16343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.550        13.969        .61682E-03   -1.5058    
   5  Prefactor     4.6556        13.175        .93277E-03   -1.5276    
   6  Prefactor     .40696        .19589        .28870E-04   -1.5580    
   7  Prefactor     11.859        7.6424        .11633E-03   -1.5019    
   8  norm          .58973        1.2206        .17470E-02   -1.5554    
   9  Prefactor     7.1848        50.416        .14947E-03   -1.5172    
  10  Prefactor     .10000E-03    7.1173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.966        19.747        .10022E-03   -1.4909    
  12  Prefactor     5.7785        .42088        .15803E-04   -1.5227    
  13  Prefactor     .10000E-03    15.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.4573        35.920        .17206E-03   -1.5241    
  15  Prefactor     .10000E-03    11.429        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.3682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    33.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.4156        8.6771        .69095E-03   -1.5128    
  19  Prefactor     .10000E-03    22.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    6.3050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.7136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          10.374        10.954        .62203E-03   -1.5064    
  23  Normalizat    1.1456        .29592        .41134E-03   -.88302    
  24  Prefactor     .91621        .14843        .23811E-03   -.95577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68055e-08
Minuit parameter uncertainties:
  1  1.26872
  2  14.7787
  3  1.14947e-06
  4  13.9729
  5  13.1834
  6  0.195892
  7  7.64308
  8  1.22069
  9  38.11
  10  9.52367e-05
  11  19.7552
  12  0.420878
  13  0.000398564
  14  28.026
  15  0.000148188
  16  1.43838e-06
  17  0.000358933
  18  8.67844
  19  0.000523725
  20  8.80552e-05
  21  2.69277e-05
  22  10.9557
  23  0.296348
  24  0.148499
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  7.185e+00  3.811e+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:  9.162e-01  1.485e-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:  1.146e+00  2.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/462830/likelihoodResults_305683201_305942401_4FGL_J2245.9+1544_daily_bin256.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) = 9968.46986636
delta logL = 0.00897513798009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9968.46728322
delta logL = 0.0115582789858

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.240       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7529       1.0000          .0000       10.000    
     3 'Normalizat'    1.1465       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91619       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=   9968.467     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      268 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.252        45.959        .12521E-03   -.38134E-05
   2  Index         1.7502        1.2814        .38531E-02    .17143E-04
   3  Normalizat    1.1470        .27595        .41113E-03    .77857E-03
   4  Prefactor     .91549        .14600        .23818E-03    .15870E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2518
  Index      = 1.75017
  Normalizat = 1.14697
  Prefactor  = 0.915493
 **********
 **   18 **HESSE 
 **********

 FCN=   9968.467     FROM HESSE     STATUS=OK            23 CALLS      291 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.252        45.555        .50085E-05   -1.5067    
   2  Index         1.7502        1.2769        .15412E-03   -.70754    
   3  Normalizat    1.1470        .27618        .82226E-04   -.88258    
   4  Prefactor     .91549        .14613        .47637E-04   -.95602    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55049e-09
Minuit parameter uncertainties:
  1  43.2761
  2  1.30219
  3  0.276532
  4  0.146192
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/462830': 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) = 9968.46725503
delta logL = 0.0115864674426

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.025e+01  4.328e+01  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  1.750e+00  1.302e+00  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:  9.155e-01  1.462e-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:  1.147e+00  2.765e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 341.491 15.748

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/462830/cmap_HighResolution_305683201_305942401_4FGL_J2245.9+1544_daily_bin256.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.13e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-28 20:14:45.204619', job_id='462830', GAL2='0.92', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1632885285.2', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.16e-02', ts2='0.06', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='256' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:14:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 462830: <4FGL_J2245.9+1544_daily_bin256> in cluster <slac> Done

Job <4FGL_J2245.9+1544_daily_bin256> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 20:00:32 2021
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:00:34 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:00:34 2021
Terminated at Tue Sep 28 20:14:46 2021
Results reported at Tue Sep 28 20:14:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin256 341.491 15.7479 305683201 305942401 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 :                                   834.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             343.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            854 sec.

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

