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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1177
RA = 220.993, Dec = 25.0291
tmin = 544406401, tmax = 544665601
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='724327', job_status='RUN', time_executed='2021-09-10 06:23:15.677580', time_epoch_executed='1631280195.68' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1177'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724327

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

Retrieving the FT1 file...

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

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

Retrieving 36 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724327/ft1_4FGL_J1443.9+2501_daily_bin1177.fits


Retrieving the FT1 file...

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

Retrieving 36 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724327/ft2_4FGL_J1443.9+2501_daily_bin1177.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724327/ft1_4FGL_J1443.9+2501_daily_bin1177.fits outfile=/scratch/kocevski/724327/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1177.fits ra=220.993 dec=25.0291 rad=12.0 tmin=544406401.0 tmax=544665601.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 7.64
user 7.38
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724327/ft1_filtered_4FGL_J1443.9+2501_daily_bin1177.fits" evtable="EVENTS" scfile=/scratch/kocevski/724327/ft2_4FGL_J1443.9+2501_daily_bin1177.fits sctable="SC_DATA" outfile=/scratch/kocevski/724327/ltcube_544406401_544665601_4FGL_J1443.9+2501_daily_bin1177.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/724327/ft2_4FGL_J1443.9+2501_daily_bin1177.fits
.....................!
real 7.61
user 7.22
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724327/ft1_filtered_4FGL_J1443.9+2501_daily_bin1177.fits evtable="EVENTS" scfile=/scratch/kocevski/724327/ft2_4FGL_J1443.9+2501_daily_bin1177.fits sctable="SC_DATA" expcube=/scratch/kocevski/724327/ltcube_544406401_544665601_4FGL_J1443.9+2501_daily_bin1177.fits outfile=/scratch/kocevski/724327/expmap_544406401_544665601_4FGL_J1443.9+2501_daily_bin1177.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/724327/ltcube_544406401_544665601_4FGL_J1443.9+2501_daily_bin1177.fits
.....................!
real 191.09
user 185.32
sys 5.31

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/724327/ft1_filtered_4FGL_J1443.9+2501_daily_bin1177.fits scfile=/scratch/kocevski/724327/ft2_4FGL_J1443.9+2501_daily_bin1177.fits outfile=/scratch/kocevski/724327/cmap_544406401_544665601_4FGL_J1443.9+2501_daily_bin1177.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724327/ft1_filtered_4FGL_J1443.9+2501_daily_bin1177.fits scfile=/scratch/kocevski/724327/ft2_4FGL_J1443.9+2501_daily_bin1177.fits outfile=/scratch/kocevski/724327/cmap_HighResolution_544406401_544665601_4FGL_J1443.9+2501_daily_bin1177.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.53
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.517       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .87698E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    9.7092       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .44069E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.4596       1.0000         .10000E-03   10000.    
     6 'norm      '    9.3140       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .72792       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10374E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .14403E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .50801E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12790E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10377E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .17195E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .33240E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .63722E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .93772E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.2278       1.0000         .10000E-03   10000.    
    18 'norm      '    .10847E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .96803E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10681E-01   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .10020E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.8514       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2412.158     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1742 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.938        23.323       -.66937E-05    .27178E-02
   2  Prefactor     .10000E-03    9.8159       -.72152E-06** at limit **
   3  norm          9.6777        5.9405        .13047E-07   -.14690E-05
   4  Prefactor     .10000E-03    9.7746       -.10488E-05** at limit **
   5  norm          2.4308        4.0434        .65398E-06    .44715E-04
   6  norm          9.3005        1.2540        .96929E-07    .33663E-03
   7  Prefactor     .10444E-03    6186.6       -.81407E-04** at limit **
   8  Prefactor     .10004E-03    21.593        .70806E-05** at limit **
   9  norm          .10890E-03    16.854        .16917E-05** at limit **
  10  Prefactor     .10473E-03    3.0154        .57955E-05** at limit **
  11  Prefactor     .11845E-03    26.226        .40714E-06** at limit **
  12  Prefactor     .10000E-03    17.259        .36713E-05** at limit **
  13  Prefactor     .10002E-03    19.837       -.91322E-05** at limit **
  14  Prefactor     .10000E-03    4.1880        .78665E-06** at limit **
  15  norm          .10042E-03    32.144       -.10013E-04** at limit **
  16  Prefactor     .10000E-03    20.363       -.54691E-05** at limit **
  17  Prefactor     3.3198        4.1080       -.20602E-05    .33507E-03
  18  norm          .10000E-03    2.1780       -.28331E-06** at limit **
  19  Prefactor     .10052E-03    60.182        .13043E-04** at limit **
  20  Prefactor     .10039E-03    62.499       -.50228E-05** at limit **
  21  Normalizat    .10000E-01    1.9986       -.15938E-04** at limit **
  22  Prefactor     1.8511        .15175       -.12337E-04   -.46767E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.9375
  Prefactor  = 0.0001
  norm       = 9.67772
  Prefactor  = 0.0001
  norm       = 2.43084
  norm       = 9.30047
  Prefactor  = 0.000104442
  Prefactor  = 0.000100043
  norm       = 0.000108901
  Prefactor  = 0.000104727
  Prefactor  = 0.000118452
  Prefactor  = 0.000100001
  Prefactor  = 0.00010002
  Prefactor  = 0.0001
  norm       = 0.000100419
  Prefactor  = 0.000100001
  Prefactor  = 3.31975
  norm       = 0.0001
  Prefactor  = 0.000100525
  Prefactor  = 0.00010039
  Normalizat = 0.01
  Prefactor  = 1.85114
 **********
 **   18 **HESSE 
 **********

 FCN=   2412.158     FROM HESSE     STATUS=OK           386 CALLS     2128 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.938        25.216        .20650E-02   -1.4729    
   2  Prefactor     .10000E-03    9.7270        .10423E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          9.6777        5.9646        .32151E-02   -1.5086    
   4  Prefactor     .10000E-03    9.6492        .10609E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4308        4.0666        .65195E-02   -1.5396    
   6  norm          9.3005        10.076        .32830E-02   -1.5098    
   7  Prefactor     .10444E-03    6155.0        .12168E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10004E-03    21.766        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10890E-03    94.454        .10251E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10473E-03    20.813        .10575       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11845E-03    102.82        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.257        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10002E-03    19.940        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.1833        .10673E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10042E-03    33.481        .10516E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.392        .10402E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.3198        32.705        .56367E-02   -1.5344    
  18  norm          .10000E-03    2.1382        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10052E-03    60.274        .10392E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10039E-03    86.912        .90764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .10000E-01    .33867        .32094       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.8511        .22776        .40159E-01   -.68126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.23558e-07
Minuit parameter uncertainties:
  1  25.2268
  2  1.64114e-05
  3  5.96496
  4  2.06641e-06
  5  4.06705
  6  10.0781
  7  0.211348
  8  0.00193422
  9  0.0580825
  10  0.0198454
  11  0.0872649
  12  0.000295215
  13  0.00126861
  14  7.72316e-06
  15  0.00749353
  16  0.000207122
  17  20.854
  18  1.82832e-06
  19  0.0112575
  20  0.0116603
  21  6.11589e-06
  22  0.227892
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  9.300e+00  1.008e+01  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.851e+00  2.279e-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.000e-02  6.116e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.64
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 5.23e-08 +/- 5.67e-08
Energy Flux (Fixed Index): 3.13e-05 +/- 3.39e-05

TS (Fixed Index): 1.64
Ra Dec: 220.993 25.029
Photon Flux Upper Limit: 1.99e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.19e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/724327/likelihoodResults_544406401_544665601_4FGL_J1443.9+2501_daily_bin1177.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) = 2411.77311644
delta logL = 0.385289029439

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2411.7673694
delta logL = 0.391036069094

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.3314       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6689       1.0000          .0000       5.0000    
     3 'Normalizat'    .10002E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.8304       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=   2411.767     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      230 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.3421        222.42        .34722E-02    .82605E-04
   2  alpha         2.6690        3.1515        .25607        .23743E-04
   3  Normalizat    .10000E-01    .14835        .24195    ** at limit **
   4  Prefactor     1.8302        .11287        .40251E-01   -.10655E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.34212
  alpha      = 2.66905
  Normalizat = 0.01
  Prefactor  = 1.83021
 **********
 **   18 **HESSE 
 **********

 FCN=   2411.767     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.3421        9.1092        .11226E-03   -1.5130    
   2  alpha         2.6690        .77984        .10222E-01    .67670E-01
   3  Normalizat    .10000E-01    .80828        .13267E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.8302        .14763        .17787E-03   -.68666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07956e-11
Minuit parameter uncertainties:
  1  9.11075
  2  0.793136
  3  4.79515e-06
  4  0.147663
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724327': 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) = 2411.76736631
delta logL = 0.391039158786

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  8.342e+00  9.111e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.669e+00  7.931e-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:  1.830e+00  1.477e-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.000e-02  4.795e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.43
Ra Dec: 220.993 25.029
Photon Index (Free Index): 2.67 +/- 0.79
Photon Flux (Free Index): 1.16e-07 +/- 1.10e-07
Energy Flux (Free Index): 3.05e-05 +/- 2.56e-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/724327/cmap_HighResolution_544406401_544665601_4FGL_J1443.9+2501_daily_bin1177.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.19e-04', comment='SUCCESS', photon_flux='5.23e-08', energy_flux2='3.05e-05', photon_flux_error='5.67e-08', dlogl='3.91e-01', energy_flux='3.13e-05', photon_flux2='1.16e-07', job_status='DONE', time_completed='2021-09-10 06:30:13.476404', photon_index_error2='0.79', photon_index2='2.67', ts='1.64', fit_tolerance='1e-08', GAL='1.85', photon_index_error='0.00', photon_flux_upper_limit='1.99e-07', energy_flux_error2='2.56e-05', EG='0.01', time_epoch_completed='1631280613.48', return_code='0', job_id='724327', GAL2='1.83', EG2='0.01', return_code2='0', energy_flux_error='3.39e-05', photon_flux_error2='1.10e-07', ts2='2.43', photon_index='1.97' WHERE bin_id='1177' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:30:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 724327: <4FGL_J1443.9+2501_daily_bin1177> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1177> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 06:21:00 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:21:02 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:21:02 2021
Terminated at Fri Sep 10 06:30:14 2021
Results reported at Fri Sep 10 06:30:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1177 220.993 25.0291 544406401 544665601 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 :                                   415.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   551 sec.
    Turnaround time :                            554 sec.

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

