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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin411
RA = 220.993, Dec = 25.0291
tmin = 345859201, tmax = 346118401
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='720140', job_status='RUN', time_executed='2021-09-10 06:06:43.964923', time_epoch_executed='1631279203.96' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='411'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/720140

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/720140/ft1_4FGL_J1443.9+2501_daily_bin411.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/720140/ft2_4FGL_J1443.9+2501_daily_bin411.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/720140/ft1_4FGL_J1443.9+2501_daily_bin411.fits outfile=/scratch/kocevski/720140/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin411.fits ra=220.993 dec=25.0291 rad=12.0 tmin=345859201.0 tmax=346118401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.37
user 3.16
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/720140/ft1_filtered_4FGL_J1443.9+2501_daily_bin411.fits evtable="EVENTS" scfile=/scratch/kocevski/720140/ft2_4FGL_J1443.9+2501_daily_bin411.fits sctable="SC_DATA" expcube=/scratch/kocevski/720140/ltcube_345859201_346118401_4FGL_J1443.9+2501_daily_bin411.fits outfile=/scratch/kocevski/720140/expmap_345859201_346118401_4FGL_J1443.9+2501_daily_bin411.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/720140/ltcube_345859201_346118401_4FGL_J1443.9+2501_daily_bin411.fits
.....................!
real 192.27
user 186.89
sys 4.99

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/720140/ft1_filtered_4FGL_J1443.9+2501_daily_bin411.fits scfile=/scratch/kocevski/720140/ft2_4FGL_J1443.9+2501_daily_bin411.fits outfile=/scratch/kocevski/720140/cmap_345859201_346118401_4FGL_J1443.9+2501_daily_bin411.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/720140/ft1_filtered_4FGL_J1443.9+2501_daily_bin411.fits scfile=/scratch/kocevski/720140/ft2_4FGL_J1443.9+2501_daily_bin411.fits outfile=/scratch/kocevski/720140/cmap_HighResolution_345859201_346118401_4FGL_J1443.9+2501_daily_bin411.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/720140/ft1_filtered_4FGL_J1443.9+2501_daily_bin411.fits evtable="EVENTS" scfile=/scratch/kocevski/720140/ft2_4FGL_J1443.9+2501_daily_bin411.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/720140/Model_4FGL_J1443.9+2501_daily_bin411.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/720140/ft1_filtered_4FGL_J1443.9+2501_daily_bin411.fits.....................!
real 52.34
user 50.97
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5484       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0204       1.0000         .10000E-03   10000.    
     3 'norm      '    12.320       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.0428       1.0000         .10000E-03   10000.    
     5 'norm      '    1.5658       1.0000         .10000E-03   10000.    
     6 'norm      '    4.6667       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.5789       1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.610       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.5905       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.7519       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    74.293       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.3557       1.0000         .10000E-03   10000.    
    18 'norm      '    13.463       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .93231       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97327       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=   6718.335     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2388 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5481        3.4394       -.21337E-06    .43527E-04
   2  Prefactor     4.0206        8.1690        .60103E-06   -.56899E-04
   3  norm          12.320        3.5614       -.63851E-07    .14057E-04
   4  Prefactor     3.0416        6.4673        .18263E-05   -.39311E-04
   5  norm          1.5660        2.3950       -.88521E-07   -.92532E-04
   6  norm          4.6667        4.3399       -.11099E-05   -.22637E-04
   7  Prefactor     7.5699        25.676       -.12297E-04    .14110E-04
   8  Prefactor     33.605        26.280       -.35125E-05   -.14030E-03
   9  norm          .10000E-03    3.2482        .21403E-07** at limit **
  10  Prefactor     2.5896        10.007        .17562E-06   -.32063E-03
  11  Prefactor     .10000E-03    20.996       -.12304E-04** at limit **
  12  Prefactor     .10000E-03    31.453        .17678E-04** at limit **
  13  Prefactor     .10000E-03    26.227        .32453E-05** at limit **
  14  Prefactor     5.7519        6.0678       -.24367E-06   -.62328E-05
  15  norm          .10000E-03    14.828        .49413E-05** at limit **
  16  Prefactor     74.293        43.270       -.41643E-06   -.85760E-05
  17  Prefactor     1.3561        2.3560        .23663E-06   -.11599E-02
  18  norm          13.463        2.1432       -.19421E-07    .59773E-03
  19  Prefactor     .10000E-03    12.117       -.14872E-05** at limit **
  20  Prefactor     .10000E-03    43.622       -.12990E-04** at limit **
  21  Normalizat    .93239        .18599        .15753E-05    .30049E-04
  22  Prefactor     .97319        .14755       -.59079E-07    .46499E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.5481
  Prefactor  = 4.02061
  norm       = 12.3203
  Prefactor  = 3.04158
  norm       = 1.56605
  norm       = 4.66674
  Prefactor  = 7.56987
  Prefactor  = 33.605
  norm       = 0.0001
  Prefactor  = 2.58958
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.75191
  norm       = 0.0001
  Prefactor  = 74.2929
  Prefactor  = 1.35606
  norm       = 13.4625
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.932389
  Prefactor  = 0.973189
 **********
 **   18 **HESSE 
 **********

 FCN=   6718.335     FROM HESSE     STATUS=OK           344 CALLS     2732 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5481        3.4495        .12623E-03   -1.5281    
   2  Prefactor     4.0206        8.0651        .20112E-03   -1.5307    
   3  norm          12.320        3.5626        .80536E-04   -1.5006    
   4  Prefactor     3.0416        6.3798        .23260E-03   -1.5359    
   5  norm          1.5660        2.3692        .14991E-03   -1.5458    
   6  norm          4.6667        4.3387        .15863E-03   -1.5276    
   7  Prefactor     7.5699        25.731        .14567E-03   -1.5158    
   8  Prefactor     33.605        26.389        .69120E-04   -1.4548    
   9  norm          .10000E-03    3.2513        .14427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.5896        10.322        .12676E-02   -1.5386    
  11  Prefactor     .10000E-03    21.530        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    31.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    26.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.7519        6.0649        .16747E-03   -1.5228    
  15  norm          .10000E-03    14.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     74.293        43.297        .46582E-04   -1.3982    
  17  Prefactor     1.3561        8.8229        .18770E-02   -1.5475    
  18  norm          13.463        2.1433        .45932E-04   -1.4974    
  19  Prefactor     .10000E-03    12.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    43.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .93239        .21468        .28091E-03   -.95331    
  22  Prefactor     .97319        .17127        .22429E-03   -.93629    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.13321e-09
Minuit parameter uncertainties:
  1  3.44961
  2  8.06729
  3  3.56269
  4  6.38122
  5  2.36931
  6  4.33899
  7  25.769
  8  26.3984
  9  1.57886e-06
  10  10.3289
  11  0.00024585
  12  5.44116e-05
  13  6.42565e-06
  14  6.06559
  15  6.77903e-06
  16  43.3155
  17  6.91914
  18  2.14329
  19  5.47171e-06
  20  2.28887e-05
  21  0.214881
  22  0.171362
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  4.667e+00  4.339e+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:  9.732e-01  1.714e-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:  9.324e-01  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.63e-08 +/- 2.44e-08
Energy Flux (Fixed Index): 1.57e-05 +/- 1.46e-05

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

Saving results to:
/scratch/kocevski/720140/likelihoodResults_345859201_346118401_4FGL_J1443.9+2501_daily_bin411.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) = 6717.98167829
delta logL = 0.352876119156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6717.97760635
delta logL = 0.35694806175

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7188       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6241       1.0000          .0000       5.0000    
     3 'Normalizat'    .90699       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98346       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=   6717.978     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      268 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7214        68.815        .52350E-02    .39521E-03
   2  alpha         2.6248        3.6081        .31186        .52445E-04
   3  Normalizat    .90700        .77814E-01    .64329E-01    .21626E-04
   4  Prefactor     .98324        .52589E-01    .46060E-01    .12429E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.72139
  alpha      = 2.62482
  Normalizat = 0.907002
  Prefactor  = 0.983242
 **********
 **   18 **HESSE 
 **********

 FCN=   6717.978     FROM HESSE     STATUS=OK            33 CALLS      301 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7214        4.4632        .11676E-03   -1.5322    
   2  alpha         2.6248        .90955        .15409E-01    .49948E-01
   3  Normalizat    .90700        .20750        .28453E-03   -.96215    
   4  Prefactor     .98324        .16777        .22319E-03   -.93290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00248e-11
Minuit parameter uncertainties:
  1  4.46364
  2  0.930968
  3  0.207679
  4  0.167858
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/720140': 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) = 6717.97760224
delta logL = 0.356952171207

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  3.721e+00  4.464e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.625e+00  9.310e-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:  9.832e-01  1.679e-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:  9.070e-01  2.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.40
Ra Dec: 220.993 25.029
Photon Index (Free Index): 2.62 +/- 0.93
Photon Flux (Free Index): 4.86e-08 +/- 4.30e-08
Energy Flux (Free Index): 1.32e-05 +/- 1.09e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/720140/cmap_HighResolution_345859201_346118401_4FGL_J1443.9+2501_daily_bin411.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.92e-05', comment='SUCCESS', photon_flux='2.63e-08', energy_flux2='1.32e-05', photon_flux_error='2.44e-08', dlogl='3.57e-01', energy_flux='1.57e-05', photon_flux2='4.86e-08', job_status='DONE', time_completed='2021-09-10 06:17:11.331598', photon_index_error2='0.93', photon_index2='2.62', ts='1.69', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='8.23e-08', energy_flux_error2='1.09e-05', EG='0.93', time_epoch_completed='1631279831.33', return_code='0', job_id='720140', GAL2='0.98', EG2='0.91', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='4.30e-08', ts2='2.40', photon_index='1.97' WHERE bin_id='411' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:17:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 720140: <4FGL_J1443.9+2501_daily_bin411> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin411> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 06:06:31 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:06:33 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:06:33 2021
Terminated at Fri Sep 10 06:17:12 2021
Results reported at Fri Sep 10 06:17:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin411 220.993 25.0291 345859201 346118401 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 :                                   621.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            641 sec.

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

