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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1
RA = 220.993, Dec = 25.0291
tmin = 239587201, tmax = 239846401
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='718519', job_status='RUN', time_executed='2021-09-10 06:04:18.769332', time_epoch_executed='1631279058.77' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/718519

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/718519/ft1_4FGL_J1443.9+2501_daily_bin1.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/718519/ft2_4FGL_J1443.9+2501_daily_bin1.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/718519/ft1_4FGL_J1443.9+2501_daily_bin1.fits outfile=/scratch/kocevski/718519/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1.fits ra=220.993 dec=25.0291 rad=12.0 tmin=239587201.0 tmax=239846401.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 1.30
user 1.12
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/718519/ft1_filtered_4FGL_J1443.9+2501_daily_bin1.fits" evtable="EVENTS" scfile=/scratch/kocevski/718519/ft2_4FGL_J1443.9+2501_daily_bin1.fits sctable="SC_DATA" outfile=/scratch/kocevski/718519/ltcube_239587201_239846401_4FGL_J1443.9+2501_daily_bin1.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/718519/ft2_4FGL_J1443.9+2501_daily_bin1.fits
.....................!
real 12.80
user 12.45
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/718519/ft1_filtered_4FGL_J1443.9+2501_daily_bin1.fits evtable="EVENTS" scfile=/scratch/kocevski/718519/ft2_4FGL_J1443.9+2501_daily_bin1.fits sctable="SC_DATA" expcube=/scratch/kocevski/718519/ltcube_239587201_239846401_4FGL_J1443.9+2501_daily_bin1.fits outfile=/scratch/kocevski/718519/expmap_239587201_239846401_4FGL_J1443.9+2501_daily_bin1.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/718519/ltcube_239587201_239846401_4FGL_J1443.9+2501_daily_bin1.fits
.....................!
real 190.31
user 186.05
sys 3.87

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/718519/ft1_filtered_4FGL_J1443.9+2501_daily_bin1.fits scfile=/scratch/kocevski/718519/ft2_4FGL_J1443.9+2501_daily_bin1.fits outfile=/scratch/kocevski/718519/cmap_239587201_239846401_4FGL_J1443.9+2501_daily_bin1.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/718519/ft1_filtered_4FGL_J1443.9+2501_daily_bin1.fits scfile=/scratch/kocevski/718519/ft2_4FGL_J1443.9+2501_daily_bin1.fits outfile=/scratch/kocevski/718519/cmap_HighResolution_239587201_239846401_4FGL_J1443.9+2501_daily_bin1.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.54
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/718519/ft1_filtered_4FGL_J1443.9+2501_daily_bin1.fits', '/scratch/kocevski/718519/ft2_4FGL_J1443.9+2501_daily_bin1.fits', expMap='/scratch/kocevski/718519/expmap_239587201_239846401_4FGL_J1443.9+2501_daily_bin1.fits', expCube='/scratch/kocevski/718519/ltcube_239587201_239846401_4FGL_J1443.9+2501_daily_bin1.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/718519/Model_4FGL_J1443.9+2501_daily_bin1.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/718519/ft1_filtered_4FGL_J1443.9+2501_daily_bin1.fits
Spacecraft file(s): /scratch/kocevski/718519/ft2_4FGL_J1443.9+2501_daily_bin1.fits
Exposure map: /scratch/kocevski/718519/expmap_239587201_239846401_4FGL_J1443.9+2501_daily_bin1.fits
Exposure cube: /scratch/kocevski/718519/ltcube_239587201_239846401_4FGL_J1443.9+2501_daily_bin1.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/718519/Model_4FGL_J1443.9+2501_daily_bin1.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) = 5269.25050992

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13508E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.3564       1.0000         .10000E-03   10000.    
     3 'norm      '    6.4983       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .56919       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.1922       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    50.672       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12307E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    48.520       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.265       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.563       1.0000         .10000E-03   10000.    
    18 'norm      '    3.8196       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2241       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .70927       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=   5269.239     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2415 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.2765       -.13371E-06** at limit **
   2  Prefactor     2.3627        5.9351       -.28229E-05   -.57685E-04
   3  norm          6.4978        2.9870        .26845E-07    .18011E-05
   4  Prefactor     .55140        23.707        .80254E-05   -.28236E-04
   5  norm          .10000E-03    .84602        .10467E-06** at limit **
   6  norm          2.1912        4.1525       -.90579E-06    .58965E-04
   7  Prefactor     .10000E-03    14.501        .16269E-06** at limit **
   8  Prefactor     .10000E-03    23.410        .16424E-05** at limit **
   9  norm          .10000E-03    3.0882        .14400E-07** at limit **
  10  Prefactor     50.700        29.356       -.32694E-06   -.91025E-04
  11  Prefactor     .10000E-03    5.4210        .75948E-07** at limit **
  12  Prefactor     .10000E-03    20.775        .24078E-05** at limit **
  13  Prefactor     48.246        75.328        .15244E-05   -.89236E-05
  14  Prefactor     .10000E-03    2.5498       -.11244E-06** at limit **
  15  norm          .10000E-03    28.732        .65345E-06** at limit **
  16  Prefactor     27.218        42.124       -.11996E-05   -.34403E-04
  17  Prefactor     14.560        10.122        .75480E-08    .21214E-04
  18  norm          3.8192        1.4759       -.32813E-07    .52536E-04
  19  Prefactor     .10000E-03    12.031        .17929E-06** at limit **
  20  Prefactor     .10000E-03    26.859       -.60533E-06** at limit **
  21  Normalizat    1.2245        .19557       -.59653E-06   -.19102E-03
  22  Prefactor     .70907        .14924       -.15303E-06   -.80603E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.36269
  norm       = 6.49783
  Prefactor  = 0.551398
  norm       = 0.0001
  norm       = 2.1912
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 50.6996
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 48.2465
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 27.2176
  Prefactor  = 14.5598
  norm       = 3.8192
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.22453
  Prefactor  = 0.709075
 **********
 **   18 **HESSE 
 **********

 FCN=   5269.239     FROM HESSE     STATUS=OK           342 CALLS     2757 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.2845        .20882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3627        5.9723        .25801E-03   -1.5401    
   3  norm          6.4978        2.9872        .82461E-04   -1.5198    
   4  Prefactor     .55140        24.355        .26806E-02   -1.5559    
   5  norm          .10000E-03    .85104        .65183E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1912        4.1192        .19490E-03   -1.5412    
   7  Prefactor     .10000E-03    14.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    23.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.0896        .12459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     50.700        29.346        .56338E-04   -1.4283    
  11  Prefactor     .10000E-03    5.4314        .16506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     48.246        75.388        .57568E-04   -1.4318    
  14  Prefactor     .10000E-03    2.5531        .11318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    28.756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     27.218        42.155        .76722E-04   -1.4664    
  17  Prefactor     14.560        10.113        .10496E-03   -1.4945    
  18  norm          3.8192        1.4725        .52519E-04   -1.5317    
  19  Prefactor     .10000E-03    12.167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    26.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2245        .22288        .23426E-03   -.85848    
  22  Prefactor     .70907        .17266        .23400E-03   -1.0317    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36179e-08
Minuit parameter uncertainties:
  1  2.73583e-06
  2  5.97377
  3  2.98725
  4  7.33176
  5  8.91117e-08
  6  4.11974
  7  2.09548e-06
  8  2.95451e-05
  9  3.22936e-08
  10  29.3543
  11  3.9676e-07
  12  9.12315e-05
  13  75.5377
  14  3.54444e-06
  15  1.77268e-05
  16  42.201
  17  10.1147
  18  1.47247
  19  3.08945e-05
  20  2.91916e-05
  21  0.223058
  22  0.172791
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  2.191e+00  4.120e+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:  7.091e-01  1.728e-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.225e+00  2.231e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/718519/likelihoodResults_239587201_239846401_4FGL_J1443.9+2501_daily_bin1.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) = 5268.95675671
delta logL = 0.281983463587

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5268.94162926
delta logL = 0.297110922269

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7004       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0694       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1886       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72293       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=   5268.942     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      234 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7026        38.655        .80649E-02    .57978E-03
   2  alpha         3.0686        4.0109        .42589        .34865E-04
   3  Normalizat    1.1886        .48430E-01    .53654E-01    .61915E-06
   4  Prefactor     .72291        .36165E-01    .42706E-01    .10371E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.70256
  alpha      = 3.0686
  Normalizat = 1.1886
  Prefactor  = 0.722912
 **********
 **   18 **HESSE 
 **********

 FCN=   5268.942     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7026        5.4737        .10190E-03   -1.5447    
   2  alpha         3.0686        3.6568        .16314E-01    .22945    
   3  Normalizat    1.1886        .23435        .23723E-03   -.86956    
   4  Prefactor     .72291        .17768        .23186E-03   -1.0264    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20286e-08
Minuit parameter uncertainties:
  1  5.4753
  2  2.43939
  3  0.234557
  4  0.177816
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/718519': 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) = 5268.94162907
delta logL = 0.297111102866

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.703e+00  5.475e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  3.069e+00  2.439e+00  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:  7.229e-01  1.778e-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.189e+00  2.346e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.36
Ra Dec: 220.993 25.029

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/718519/cmap_HighResolution_239587201_239846401_4FGL_J1443.9+2501_daily_bin1.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-05', job_status='DONE', photon_flux_upper_limit='7.28e-08', time_completed='2021-09-10 06:13:25.667144', job_id='718519', GAL2='0.72', fit_tolerance='1e-08', EG2='1.19', EG='1.22', time_epoch_completed='1631279605.67', return_code2='0', ts='0.36', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.97e-01', ts2='0.96', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:13:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 718519: <4FGL_J1443.9+2501_daily_bin1> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 06:01:23 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:01:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 06:01:25 2021
Terminated at Fri Sep 10 06:13:26 2021
Results reported at Fri Sep 10 06:13:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1 220.993 25.0291 239587201 239846401 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 :                                   547.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             266.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            723 sec.

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

