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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin42
RA = 220.993, Dec = 25.0291
tmin = 250214401, tmax = 250473601
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='718585', job_status='RUN', time_executed='2021-09-10 06:04:24.028860', time_epoch_executed='1631279064.03' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='42'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/718585

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/718585/ft1_4FGL_J1443.9+2501_daily_bin42.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/718585/ft2_4FGL_J1443.9+2501_daily_bin42.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/718585/ft1_4FGL_J1443.9+2501_daily_bin42.fits outfile=/scratch/kocevski/718585/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin42.fits ra=220.993 dec=25.0291 rad=12.0 tmin=250214401.0 tmax=250473601.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.47
user 1.27
sys 0.14

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/718585/ft1_filtered_4FGL_J1443.9+2501_daily_bin42.fits" evtable="EVENTS" scfile=/scratch/kocevski/718585/ft2_4FGL_J1443.9+2501_daily_bin42.fits sctable="SC_DATA" outfile=/scratch/kocevski/718585/ltcube_250214401_250473601_4FGL_J1443.9+2501_daily_bin42.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/718585/ft2_4FGL_J1443.9+2501_daily_bin42.fits
.....................!
real 12.41
user 12.08
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/718585/ft1_filtered_4FGL_J1443.9+2501_daily_bin42.fits evtable="EVENTS" scfile=/scratch/kocevski/718585/ft2_4FGL_J1443.9+2501_daily_bin42.fits sctable="SC_DATA" expcube=/scratch/kocevski/718585/ltcube_250214401_250473601_4FGL_J1443.9+2501_daily_bin42.fits outfile=/scratch/kocevski/718585/expmap_250214401_250473601_4FGL_J1443.9+2501_daily_bin42.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/718585/ltcube_250214401_250473601_4FGL_J1443.9+2501_daily_bin42.fits
.....................!
real 190.20
user 185.24
sys 4.49

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/718585/ft1_filtered_4FGL_J1443.9+2501_daily_bin42.fits scfile=/scratch/kocevski/718585/ft2_4FGL_J1443.9+2501_daily_bin42.fits outfile=/scratch/kocevski/718585/cmap_250214401_250473601_4FGL_J1443.9+2501_daily_bin42.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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/718585/ft1_filtered_4FGL_J1443.9+2501_daily_bin42.fits scfile=/scratch/kocevski/718585/ft2_4FGL_J1443.9+2501_daily_bin42.fits outfile=/scratch/kocevski/718585/cmap_HighResolution_250214401_250473601_4FGL_J1443.9+2501_daily_bin42.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.41
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .64532       1.0000         .10000E-03   10000.    
     3 'norm      '    4.0429       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .54160       1.0000         .10000E-03   10000.    
     5 'norm      '    .72556       1.0000         .10000E-03   10000.    
     6 'norm      '    3.2198       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    28.235       1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.5109       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2496       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10946E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10894E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    48.362       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    8.5016       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.1205       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0571       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=   9719.761     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2425 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7362       -.48795E-07** at limit **
   2  Prefactor     .66900        6.5408        .56029E-05    .48542E-03
   3  norm          4.0428        2.0434       -.29154E-07    .97959E-04
   4  Prefactor     .47650        8.2934       -.94599E-05    .41318E-03
   5  norm          .72712        2.1067        .11068E-05    .62576E-03
   6  norm          3.2189        3.8827        .23418E-06    .26920E-03
   7  Prefactor     .10000E-03    6.6611       -.80720E-07** at limit **
   8  Prefactor     28.246        23.298        .12437E-05    .71870E-03
   9  norm          .10000E-03    3.7652       -.40186E-07** at limit **
  10  Prefactor     8.5091        19.443        .27046E-05    .48851E-03
  11  Prefactor     1.2449        20.987        .17361E-04   -.14230E-03
  12  Prefactor     .10002E-03    22.168        .16640E-05** at limit **
  13  Prefactor     .10001E-03    68.388       -.16415E-05** at limit **
  14  Prefactor     .10000E-03    5.3979        .25530E-06** at limit **
  15  norm          48.364        37.932        .97688E-07    .27677E-04
  16  Prefactor     .10001E-03    18.511       -.11228E-05** at limit **
  17  Prefactor     .10000E-03    1.6109       -.18402E-07** at limit **
  18  norm          8.5014        1.5905       -.83453E-09   -.11792E-03
  19  Prefactor     .10000E-03    4.4440       -.33615E-07** at limit **
  20  Prefactor     .10000E-03    12.588        .22244E-06** at limit **
  21  Normalizat    1.1209        .16147       -.88202E-06    .24140E-03
  22  Prefactor     1.0569        .12569       -.25693E-06    .16282E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.669003
  norm       = 4.04278
  Prefactor  = 0.476498
  norm       = 0.727118
  norm       = 3.21895
  Prefactor  = 0.0001
  Prefactor  = 28.2455
  norm       = 0.0001
  Prefactor  = 8.50909
  Prefactor  = 1.24493
  Prefactor  = 0.000100016
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  norm       = 48.364
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  norm       = 8.50138
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.12093
  Prefactor  = 1.05687
 **********
 **   18 **HESSE 
 **********

 FCN=   9719.761     FROM HESSE     STATUS=OK           346 CALLS     2771 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.8010        .25351E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .66900        14.882        .39053E-02   -1.5544    
   3  norm          4.0428        2.0445        .48556E-03   -1.5306    
   4  Prefactor     .47650        29.696        .30365E-02   -1.5570    
   5  norm          .72712        2.6038        .21830E-02   -1.5537    
   6  norm          3.2189        3.8800        .20470E-03   -1.5349    
   7  Prefactor     .10000E-03    6.6668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     28.246        23.224        .75396E-04   -1.4645    
   9  norm          .10000E-03    3.7843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.5091        19.572        .13741E-03   -1.5124    
  11  Prefactor     1.2449        27.335        .20007E-02   -1.5485    
  12  Prefactor     .10002E-03    22.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    69.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.4911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          48.364        37.959        .57661E-04   -1.4316    
  16  Prefactor     .10001E-03    18.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.6143        .12219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          8.5014        1.5925        .51689E-04   -1.5125    
  19  Prefactor     .10000E-03    4.4573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1209        .19200        .27440E-03   -.89083    
  22  Prefactor     1.0569        .14819        .22366E-03   -.90857    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83609e-09
Minuit parameter uncertainties:
  1  5.24794e-06
  2  6.31188
  3  2.04449
  4  7.52647
  5  2.60423
  6  3.88034
  7  4.01157e-05
  8  23.231
  9  5.97172e-06
  10  19.5871
  11  11.6727
  12  0.00121856
  13  0.0015502
  14  6.78742e-05
  15  37.9783
  16  0.00086005
  17  2.05266e-06
  18  1.59251
  19  1.19222e-05
  20  0.000167621
  21  0.192119
  22  0.148248
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  3.219e+00  3.880e+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:  1.057e+00  1.482e-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.121e+00  1.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/718585/likelihoodResults_250214401_250473601_4FGL_J1443.9+2501_daily_bin42.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) = 9718.43937532
delta logL = 1.32166050479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9718.43925981
delta logL = 1.32177601017

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8738       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3215       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0575       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0826       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=   9718.439     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      247 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8688        16.444        .76054E-02    .93458E-03
   2  alpha         3.3231        3.9620        .33736        .94353E-04
   3  Normalizat    1.0575        .47525E-01    .63576E-01    .19095E-04
   4  Prefactor     1.0827        .36973E-01    .38287E-01    .61160E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.86879
  alpha      = 3.32308
  Normalizat = 1.05751
  Prefactor  = 1.08267
 **********
 **   18 **HESSE 
 **********

 FCN=   9718.439     FROM HESSE     STATUS=OK            33 CALLS      280 TOTAL
                     EDM=   .65E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8688        4.7780        .78009E-04   -1.5435    
   2  alpha         3.3231        1.4812        .12810E-01    .33549    
   3  Normalizat    1.0575        .19034        .28121E-03   -.91128    
   4  Prefactor     1.0827        .14996        .22113E-03   -.90022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.50062e-08
Minuit parameter uncertainties:
  1  4.77902
  2  1.60115
  3  0.190467
  4  0.15002
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/718585': 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) = 9718.43925806
delta logL = 1.32177775957

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.869e+00  4.779e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  3.323e+00  1.601e+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:  1.083e+00  1.500e-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.058e+00  1.905e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.58
Ra Dec: 220.993 25.029
Photon Index (Free Index): 3.32 +/- 1.60
Photon Flux (Free Index): 7.29e-08 +/- 4.63e-08
Energy Flux (Free Index): 1.37e-05 +/- 9.92e-06

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/718585/cmap_HighResolution_250214401_250473601_4FGL_J1443.9+2501_daily_bin42.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.99e-05', comment='SUCCESS', energy_flux2='1.37e-05', dlogl='1.32e+00', photon_flux2='7.29e-08', job_status='DONE', time_completed='2021-09-10 06:16:54.550818', photon_index_error2='1.60', photon_index2='3.32', ts='0.88', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='6.67e-08', energy_flux_error2='9.92e-06', EG='1.12', time_epoch_completed='1631279814.55', return_code='0', job_id='718585', GAL2='1.08', EG2='1.06', return_code2='0', photon_flux_error2='4.63e-08', ts2='3.58', photon_index='1.97' WHERE bin_id='42' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:16:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 718585: <4FGL_J1443.9+2501_daily_bin42> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin42> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 06:01:29 2021
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:01:30 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:30 2021
Terminated at Fri Sep 10 06:16:55 2021
Results reported at Fri Sep 10 06:16:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin42 220.993 25.0291 250214401 250473601 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 :                                   748.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            926 sec.

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

