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


Performing analysis on: 4FGL_J2245.9+1544_daily_bin230
RA = 341.491, Dec = 15.7479
tmin = 298944001, tmax = 299203201
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='462790', job_status='RUN', time_executed='2021-09-28 20:00:46.133759', time_epoch_executed='1632884446.13' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='230'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/462790

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/462790/ft1_4FGL_J2245.9+1544_daily_bin230.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/462790/ft2_4FGL_J2245.9+1544_daily_bin230.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/462790/ft1_4FGL_J2245.9+1544_daily_bin230.fits outfile=/scratch/kocevski/462790/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin230.fits ra=341.491 dec=15.7479 rad=12.0 tmin=298944001.0 tmax=299203201.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.42
user 3.20
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/462790/ft1_filtered_4FGL_J2245.9+1544_daily_bin230.fits" evtable="EVENTS" scfile=/scratch/kocevski/462790/ft2_4FGL_J2245.9+1544_daily_bin230.fits sctable="SC_DATA" outfile=/scratch/kocevski/462790/ltcube_298944001_299203201_4FGL_J2245.9+1544_daily_bin230.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/462790/ft2_4FGL_J2245.9+1544_daily_bin230.fits
.....................!
real 12.22
user 11.89
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/462790/ft1_filtered_4FGL_J2245.9+1544_daily_bin230.fits evtable="EVENTS" scfile=/scratch/kocevski/462790/ft2_4FGL_J2245.9+1544_daily_bin230.fits sctable="SC_DATA" expcube=/scratch/kocevski/462790/ltcube_298944001_299203201_4FGL_J2245.9+1544_daily_bin230.fits outfile=/scratch/kocevski/462790/expmap_298944001_299203201_4FGL_J2245.9+1544_daily_bin230.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/462790/ltcube_298944001_299203201_4FGL_J2245.9+1544_daily_bin230.fits
.....................!
real 189.52
user 185.01
sys 4.20

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/462790/ft1_filtered_4FGL_J2245.9+1544_daily_bin230.fits scfile=/scratch/kocevski/462790/ft2_4FGL_J2245.9+1544_daily_bin230.fits outfile=/scratch/kocevski/462790/cmap_298944001_299203201_4FGL_J2245.9+1544_daily_bin230.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.51
user 0.35
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/462790/ft1_filtered_4FGL_J2245.9+1544_daily_bin230.fits scfile=/scratch/kocevski/462790/ft2_4FGL_J2245.9+1544_daily_bin230.fits outfile=/scratch/kocevski/462790/cmap_HighResolution_298944001_299203201_4FGL_J2245.9+1544_daily_bin230.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4111       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.9109       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.5667       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.506       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .57617       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.2556       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.2132       1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.796       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.104       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.786       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.3194       1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.966       1.0000         .10000E-03   10000.    
    20 'norm      '    24.184       1.0000         .10000E-03   10000.    
    21 'Prefactor '    28.644       1.0000         .10000E-03   10000.    
    22 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .77813       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82490       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=   8663.964     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2669 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4110        1.2960       -.45144E-07   -.12675E-03
   2  Prefactor     .10000E-03    12.350        .81736E-05** at limit **
   3  norm          3.9102        3.3318        .15003E-05   -.35179E-02
   4  Prefactor     9.5661        10.884       -.14168E-06   -.35128E-04
   5  Prefactor     20.507        15.057       -.12809E-06   -.56739E-04
   6  Prefactor     .57616        .19147        .31104E-08    .59913E-04
   7  Prefactor     .10000E-03    2.2307        .55267E-07** at limit **
   8  norm          .10000E-03    .50978       -.43856E-07** at limit **
   9  Prefactor     .10000E-03    9.7876       -.69900E-05** at limit **
  10  Prefactor     8.2555        9.9045        .34790E-07   -.84099E-05
  11  Prefactor     .10000E-03    6.6007       -.99971E-06** at limit **
  12  Prefactor     5.2131        .38828       -.66261E-08    .34091E-03
  13  Prefactor     16.794        14.107       -.47465E-06   -.74845E-04
  14  Prefactor     .10000E-03    11.461        .47546E-06** at limit **
  15  Prefactor     13.104        11.819        .52419E-06   -.41881E-03
  16  Prefactor     10.784        16.025       -.14428E-05   -.11357E-03
  17  Prefactor     .10000E-03    19.573       -.32082E-05** at limit **
  18  Prefactor     7.3185        7.0421        .41232E-07   -.40972E-04
  19  Prefactor     26.965        21.626       -.25253E-06   -.31177E-04
  20  norm          24.185        24.452        .14139E-05    .24855E-04
  21  Prefactor     28.642        20.334       -.11509E-05   -.11665E-03
  22  norm          .10000E-03    7.3531        .33156E-05** at limit **
  23  Normalizat    .77825        .25867        .54994E-07   -.54326E-04
  24  Prefactor     .82487        .12445       -.70723E-07   -.67630E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.41102
  Prefactor  = 0.000100004
  norm       = 3.9102
  Prefactor  = 9.56607
  Prefactor  = 20.5067
  Prefactor  = 0.576161
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 8.25553
  Prefactor  = 0.0001
  Prefactor  = 5.21314
  Prefactor  = 16.7944
  Prefactor  = 0.0001
  Prefactor  = 13.1036
  Prefactor  = 10.7836
  Prefactor  = 0.000100001
  Prefactor  = 7.31852
  Prefactor  = 26.9651
  norm       = 24.1848
  Prefactor  = 28.6418
  norm       = 0.000100001
  Normalizat = 0.778249
  Prefactor  = 0.824865
 **********
 **   18 **HESSE 
 **********

 FCN=   8663.964     FROM HESSE     STATUS=OK           405 CALLS     3074 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4110        1.2959        .62269E-04   -1.5339    
   2  Prefactor     .10000E-03    12.702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.9102        5.0137        .10200E-02   -1.5312    
   4  Prefactor     9.5661        10.882        .12956E-03   -1.5089    
   5  Prefactor     20.507        15.167        .88449E-04   -1.4802    
   6  Prefactor     .57616        .19088        .22373E-04   -1.5556    
   7  Prefactor     .10000E-03    2.2335        .13576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .51175        .64878E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.2555        9.8964        .13953E-03   -1.5133    
  11  Prefactor     .10000E-03    6.6070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.2131        .39001        .14633E-04   -1.5251    
  13  Prefactor     16.794        14.134        .97728E-04   -1.4888    
  14  Prefactor     .10000E-03    11.468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.104        11.917        .55327E-03   -1.4984    
  16  Prefactor     10.784        16.028        .12199E-03   -1.5051    
  17  Prefactor     .10000E-03    19.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.3185        7.0310        .14825E-03   -1.5167    
  19  Prefactor     26.965        21.616        .77147E-04   -1.4669    
  20  norm          24.185        24.508        .81455E-04   -1.4724    
  21  Prefactor     28.642        20.413        .74857E-04   -1.4637    
  22  norm          .10000E-03    7.4169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .77825        .29415        .43638E-03   -1.0088    
  24  Prefactor     .82487        .14310        .22477E-03   -.98818    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.93879e-09
Minuit parameter uncertainties:
  1  1.29591
  2  0.00045579
  3  5.01425
  4  10.8842
  5  15.1697
  6  0.190878
  7  1.19022e-06
  8  5.56097e-07
  9  0.000375131
  10  9.89834
  11  4.28484e-05
  12  0.390012
  13  14.1365
  14  2.73196e-05
  15  11.9195
  16  16.034
  17  0.000234388
  18  7.03178
  19  21.622
  20  24.5184
  21  20.4184
  22  0.000154147
  23  0.294748
  24  0.143169
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  3.751e-04  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:  8.249e-01  1.432e-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.782e-01  2.947e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 341.491 15.748
Photon Flux Upper Limit: 5.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/462790/likelihoodResults_298944001_299203201_4FGL_J2245.9+1544_daily_bin230.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) = 8663.96402858
delta logL = -0.000469341763164

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8663.96355916
delta logL = 7.80091795605e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9424       1.0000          .0000       10.000    
     3 'Normalizat'    .77828       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82485       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.

 FCN=   8663.964     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      207 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    461.21        .90712E-02** at limit **
   2  Index         1.9209        5.6852        .50000        .15855E-04
   3  Normalizat    .77825        .40297E-01    .98464E-01    .40335E-04
   4  Prefactor     .82486        .21472E-01    .44040E-01   -.13806E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.92088
  Normalizat = 0.77825
  Prefactor  = 0.824865
 **********
 **   18 **HESSE 
 **********

 FCN=   8663.964     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9209        5.9010        .50000       -.66343    
   3  Normalizat    .77825        .26149        .43638E-03   -1.0088    
   4  Prefactor     .82486        .13989        .22477E-03   -.98818    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.5301e-10
Minuit parameter uncertainties:
  1  0.000246181
  2  4.43542
  3  0.261908
  4  0.139954
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/462790': 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) = 8663.96355906
delta logL = 1.81909854291e-07

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  2.462e-04  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  1.921e+00  4.435e+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:  8.249e-01  1.400e-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.782e-01  2.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/462790/cmap_HighResolution_298944001_299203201_4FGL_J2245.9+1544_daily_bin230.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.17e-03', job_status='DONE', photon_flux_upper_limit='5.57e-08', time_completed='2021-09-28 20:14:09.595288', job_id='462790', GAL2='0.82', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1632885249.6', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.82e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='230' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:14:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0291>
Subject: Job 462790: <4FGL_J2245.9+1544_daily_bin230> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin230 341.491 15.7479 298944001 299203201 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 :                                   800.15 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             382.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            821 sec.

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

