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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1660
RA = 220.993, Dec = 25.0291
tmin = 669600001, tmax = 669859201
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='115104', job_status='RUN', time_executed='2022-03-25 08:32:42.043724', time_epoch_executed='1648222362.04' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1660'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115104

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115104/ft1_4FGL_J1443.9+2501_daily_bin1660.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115104/ft2_4FGL_J1443.9+2501_daily_bin1660.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/115104/ft1_4FGL_J1443.9+2501_daily_bin1660.fits outfile=/scratch/kocevski/115104/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1660.fits ra=220.993 dec=25.0291 rad=12.0 tmin=669600001.0 tmax=669859201.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.55
user 4.29
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/115104/ft2_4FGL_J1443.9+2501_daily_bin1660.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/115104/ft2_4FGL_J1443.9+2501_daily_bin1660.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/115104/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1660.fits evtable="EVENTS" outfile="/scratch/kocevski/115104/ft1_filtered_4FGL_J1443.9+2501_daily_bin1660.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.55
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 531

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/115104/ft1_filtered_4FGL_J1443.9+2501_daily_bin1660.fits" evtable="EVENTS" scfile=/scratch/kocevski/115104/ft2_4FGL_J1443.9+2501_daily_bin1660.fits sctable="SC_DATA" outfile=/scratch/kocevski/115104/ltcube_669600001_669859201_4FGL_J1443.9+2501_daily_bin1660.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/115104/ft2_4FGL_J1443.9+2501_daily_bin1660.fits
.....................!
real 12.78
user 12.39
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115104/ft1_filtered_4FGL_J1443.9+2501_daily_bin1660.fits evtable="EVENTS" scfile=/scratch/kocevski/115104/ft2_4FGL_J1443.9+2501_daily_bin1660.fits sctable="SC_DATA" expcube=/scratch/kocevski/115104/ltcube_669600001_669859201_4FGL_J1443.9+2501_daily_bin1660.fits outfile=/scratch/kocevski/115104/expmap_669600001_669859201_4FGL_J1443.9+2501_daily_bin1660.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/115104/ltcube_669600001_669859201_4FGL_J1443.9+2501_daily_bin1660.fits
.....................!
real 191.05
user 185.64
sys 4.75

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

Setting source of interest to:
4FGL J1443.9+2501 @ 220.993 25.0291

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/115104/ft1_filtered_4FGL_J1443.9+2501_daily_bin1660.fits scfile=/scratch/kocevski/115104/ft2_4FGL_J1443.9+2501_daily_bin1660.fits outfile=/scratch/kocevski/115104/cmap_669600001_669859201_4FGL_J1443.9+2501_daily_bin1660.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=220.993 yref=25.0291 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/115104/ft1_filtered_4FGL_J1443.9+2501_daily_bin1660.fits scfile=/scratch/kocevski/115104/ft2_4FGL_J1443.9+2501_daily_bin1660.fits outfile=/scratch/kocevski/115104/cmap_HighResolution_669600001_669859201_4FGL_J1443.9+2501_daily_bin1660.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=220.993 yref=25.0291 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.58
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/115104/ft1_filtered_4FGL_J1443.9+2501_daily_bin1660.fits evtable="EVENTS" scfile=/scratch/kocevski/115104/ft2_4FGL_J1443.9+2501_daily_bin1660.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/115104/Model_4FGL_J1443.9+2501_daily_bin1660.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/115104/ft1_filtered_4FGL_J1443.9+2501_daily_bin1660.fits.....................!
real 47.29
user 45.88
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/115104/ft1_filtered_4FGL_J1443.9+2501_daily_bin1660.fits', '/scratch/kocevski/115104/ft2_4FGL_J1443.9+2501_daily_bin1660.fits', expMap='/scratch/kocevski/115104/expmap_669600001_669859201_4FGL_J1443.9+2501_daily_bin1660.fits', expCube='/scratch/kocevski/115104/ltcube_669600001_669859201_4FGL_J1443.9+2501_daily_bin1660.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/115104/Model_4FGL_J1443.9+2501_daily_bin1660.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1443.9+2501'

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  8.435e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.967e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.003e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  8.502e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/115104/ft1_filtered_4FGL_J1443.9+2501_daily_bin1660.fits
Spacecraft file(s): /scratch/kocevski/115104/ft2_4FGL_J1443.9+2501_daily_bin1660.fits
Exposure map: /scratch/kocevski/115104/expmap_669600001_669859201_4FGL_J1443.9+2501_daily_bin1660.fits
Exposure cube: /scratch/kocevski/115104/ltcube_669600001_669859201_4FGL_J1443.9+2501_daily_bin1660.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/115104/Model_4FGL_J1443.9+2501_daily_bin1660.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) = 5833.7780603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1505       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0963       1.0000         .10000E-03   10000.    
     3 'norm      '    6.2489       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9154       1.0000         .10000E-03   10000.    
     5 'norm      '    .10769E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.0752       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.6095       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    23.155       1.0000         .10000E-03   10000.    
    16 'Prefactor '    68.904       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .98221E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1396       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86888       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5833.764     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2349 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1520        4.4507        .24483E-06    .26456E-04
   2  Prefactor     1.0977        9.2537        .19507E-04   -.91977E-04
   3  norm          6.2485        2.8958        .36513E-07   -.11643E-04
   4  Prefactor     2.9124        6.0453       -.21277E-05    .10679E-03
   5  norm          .10000E-03    2.7492        .27449E-07** at limit **
   6  norm          4.0748        4.4878        .77221E-07   -.45162E-04
   7  Prefactor     .10000E-03    9.8594        .92848E-07** at limit **
   8  Prefactor     .10000E-03    44.769       -.17897E-06** at limit **
   9  norm          4.6095        5.5839        .68346E-07   -.27544E-05
  10  Prefactor     .10000E-03    13.684       -.14616E-06** at limit **
  11  Prefactor     .10000E-03    3.4137        .13677E-07** at limit **
  12  Prefactor     .10000E-03    14.539       -.17825E-06** at limit **
  13  Prefactor     .10000E-03    16.177       -.31717E-07** at limit **
  14  Prefactor     .10000E-03    14.704        .17590E-06** at limit **
  15  norm          23.102        38.526        .28420E-05   -.64166E-05
  16  Prefactor     68.901        43.442        .11608E-06   -.26977E-04
  17  Prefactor     .10000E-03    5.3155       -.55333E-07** at limit **
  18  norm          .10000E-03    .52271        .20874E-06** at limit **
  19  Prefactor     .10000E-03    3.2735        .25113E-07** at limit **
  20  Prefactor     .10000E-03    14.503        .55068E-08** at limit **
  21  Normalizat    1.1393        .18181       -.34911E-05   -.38424E-03
  22  Prefactor     .86915        .14371        .21138E-05    .34077E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.15195
  Prefactor  = 1.09769
  norm       = 6.24845
  Prefactor  = 2.91242
  norm       = 0.0001
  norm       = 4.07482
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.60949
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 23.1016
  Prefactor  = 68.9008
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.13931
  Prefactor  = 0.869151
 **********
 **   18 **HESSE 
 **********

 FCN=   5833.764     FROM HESSE     STATUS=OK           338 CALLS     2687 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1520        4.4857        .12011E-03   -1.5173    
   2  Prefactor     1.0977        9.4225        .21972E-02   -1.5498    
   3  norm          6.2485        2.8957        .85825E-04   -1.5208    
   4  Prefactor     2.9124        6.0424        .23794E-03   -1.5367    
   5  norm          .10000E-03    2.8631        .24701E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.0748        4.4806        .16346E-03   -1.5304    
   7  Prefactor     .10000E-03    9.8664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    45.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.6095        5.5811        .93737E-03   -1.5279    
  10  Prefactor     .10000E-03    13.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.4176        .13782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          23.102        38.532        .83242E-04   -1.4746    
  16  Prefactor     68.901        43.484        .48356E-04   -1.4046    
  17  Prefactor     .10000E-03    19.641        .33996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.0539        .10702E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.2914        .13491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    14.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1393        .21666        .24434E-03   -.88499    
  22  Prefactor     .86915        .17172        .22043E-03   -.97228    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20719e-09
Minuit parameter uncertainties:
  1  4.48588
  2  6.43318
  3  2.89575
  4  6.04361
  5  1.77917e-06
  6  4.48097
  7  1.53802e-05
  8  2.6789e-05
  9  5.5817
  10  1.45915e-05
  11  2.7216e-06
  12  5.05085e-05
  13  6.24818e-05
  14  2.98362e-05
  15  38.5738
  16  43.5039
  17  3.74847e-05
  18  1.49634e-05
  19  5.42356e-06
  20  8.05741e-06
  21  0.216827
  22  0.171822
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  4.075e+00  4.481e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.967e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.003e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  8.502e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  8.692e-01  1.718e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.139e+00  2.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.38
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.29e-08 +/- 2.52e-08
Energy Flux (Fixed Index): 1.37e-05 +/- 1.51e-05

TS (Fixed Index): 1.38
Ra Dec: 220.993 25.029
Photon Flux Upper Limit: 8.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.09e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/115104/likelihoodResults_669600001_669859201_4FGL_J1443.9+2501_daily_bin1660.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) = 5832.67002271
delta logL = 1.09447217766

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5832.66633974
delta logL = 1.09815514502

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5832.666     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      235 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0302        37.191        .58278E-02    .57940E-03
   2  alpha         3.1002        4.0423        .29596        .54261E-04
   3  Normalizat    1.0832        .70416E-01    .56422E-01    .88873E-05
   4  Prefactor     .88749        .50757E-01    .44845E-01    .87117E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.03019
  alpha      = 3.10023
  Normalizat = 1.08315
  Prefactor  = 0.887486
 **********
 **   18 **HESSE 
 **********

 FCN=   5832.666     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0302        3.7261        .81980E-04   -1.5360    
   2  alpha         3.1002        .82600        .11390E-01    .24246    
   3  Normalizat    1.0832        .21449        .24950E-03   -.90295    
   4  Prefactor     .88749        .16876        .21804E-03   -.96580    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.16785e-09
Minuit parameter uncertainties:
  1  3.7264
  2  0.842843
  3  0.21466
  4  0.168854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115104': 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) = 5832.66633972
delta logL = 1.09815516699

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  3.030e+00  3.726e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  3.100e+00  8.428e-01  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.003e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  8.502e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  8.875e-01  1.689e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.083e+00  2.147e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.60
Ra Dec: 220.993 25.029
Photon Index (Free Index): 3.10 +/- 0.84
Photon Flux (Free Index): 8.21e-08 +/- 5.95e-08
Energy Flux (Free Index): 1.68e-05 +/- 1.11e-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/115104/cmap_HighResolution_669600001_669859201_4FGL_J1443.9+2501_daily_bin1660.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.09e-05', comment='SUCCESS', photon_flux='2.29e-08', energy_flux2='1.68e-05', photon_flux_error='2.52e-08', dlogl='1.10e+00', energy_flux='1.37e-05', photon_flux2='8.21e-08', job_status='DONE', time_completed='2022-03-25 08:42:29.153391', photon_index_error2='0.84', photon_index2='3.10', ts='1.38', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='8.52e-08', energy_flux_error2='1.11e-05', EG='1.14', time_epoch_completed='1648222949.15', return_code='0', job_id='115104', GAL2='0.89', EG2='1.08', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='5.95e-08', ts2='3.60', photon_index='1.97' WHERE bin_id='1660' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 25 08:42:29 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 115104: <4FGL_J1443.9+2501_daily_bin1660> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1660> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Mar 25 08:30:14 2022
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 25 08:30:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 25 08:30:16 2022
Terminated at Fri Mar 25 08:42:29 2022
Results reported at Fri Mar 25 08:42:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1660 220.993 25.0291 669600001 669859201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1443.9+2501 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   586.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             238.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            735 sec.

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

