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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1075
RA = 222.017, Dec = 36.1344
tmin = 517968001, tmax = 518227201
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='790806', job_status='RUN', time_executed='2021-09-10 09:57:54.553681', time_epoch_executed='1631293074.55' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1075'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790806

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790806/ft1_4FGL_J1448.0+3608_daily_bin1075.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790806/ft2_4FGL_J1448.0+3608_daily_bin1075.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790806/ft1_4FGL_J1448.0+3608_daily_bin1075.fits outfile=/scratch/kocevski/790806/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1075.fits ra=222.017 dec=36.1344 rad=12.0 tmin=517968001.0 tmax=518227201.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.75
user 3.51
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/790806/ft2_4FGL_J1448.0+3608_daily_bin1075.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/790806/ft2_4FGL_J1448.0+3608_daily_bin1075.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/790806/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1075.fits evtable="EVENTS" outfile="/scratch/kocevski/790806/ft1_filtered_4FGL_J1448.0+3608_daily_bin1075.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.54
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/790806/ft1_filtered_4FGL_J1448.0+3608_daily_bin1075.fits" evtable="EVENTS" scfile=/scratch/kocevski/790806/ft2_4FGL_J1448.0+3608_daily_bin1075.fits sctable="SC_DATA" outfile=/scratch/kocevski/790806/ltcube_517968001_518227201_4FGL_J1448.0+3608_daily_bin1075.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/790806/ft2_4FGL_J1448.0+3608_daily_bin1075.fits
.....................!
real 11.89
user 11.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790806/ft1_filtered_4FGL_J1448.0+3608_daily_bin1075.fits evtable="EVENTS" scfile=/scratch/kocevski/790806/ft2_4FGL_J1448.0+3608_daily_bin1075.fits sctable="SC_DATA" expcube=/scratch/kocevski/790806/ltcube_517968001_518227201_4FGL_J1448.0+3608_daily_bin1075.fits outfile=/scratch/kocevski/790806/expmap_517968001_518227201_4FGL_J1448.0+3608_daily_bin1075.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/790806/ltcube_517968001_518227201_4FGL_J1448.0+3608_daily_bin1075.fits
.....................!
real 190.67
user 186.05
sys 4.20

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

Setting source of interest to:
4FGL J1448.0+3608 @ 222.017 36.1344

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/790806/ft1_filtered_4FGL_J1448.0+3608_daily_bin1075.fits scfile=/scratch/kocevski/790806/ft2_4FGL_J1448.0+3608_daily_bin1075.fits outfile=/scratch/kocevski/790806/cmap_517968001_518227201_4FGL_J1448.0+3608_daily_bin1075.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=222.017 yref=36.1344 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/790806/ft1_filtered_4FGL_J1448.0+3608_daily_bin1075.fits scfile=/scratch/kocevski/790806/ft2_4FGL_J1448.0+3608_daily_bin1075.fits outfile=/scratch/kocevski/790806/cmap_HighResolution_517968001_518227201_4FGL_J1448.0+3608_daily_bin1075.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=222.017 yref=36.1344 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/790806/ft1_filtered_4FGL_J1448.0+3608_daily_bin1075.fits evtable="EVENTS" scfile=/scratch/kocevski/790806/ft2_4FGL_J1448.0+3608_daily_bin1075.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/790806/Model_4FGL_J1448.0+3608_daily_bin1075.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/790806/ft1_filtered_4FGL_J1448.0+3608_daily_bin1075.fits.....................!
real 45.75
user 44.48
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/790806/ft1_filtered_4FGL_J1448.0+3608_daily_bin1075.fits', '/scratch/kocevski/790806/ft2_4FGL_J1448.0+3608_daily_bin1075.fits', expMap='/scratch/kocevski/790806/expmap_517968001_518227201_4FGL_J1448.0+3608_daily_bin1075.fits', expCube='/scratch/kocevski/790806/ltcube_517968001_518227201_4FGL_J1448.0+3608_daily_bin1075.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/790806/Model_4FGL_J1448.0+3608_daily_bin1075.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1448.0+3608'

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  3.776e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.600e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/790806/ft1_filtered_4FGL_J1448.0+3608_daily_bin1075.fits
Spacecraft file(s): /scratch/kocevski/790806/ft2_4FGL_J1448.0+3608_daily_bin1075.fits
Exposure map: /scratch/kocevski/790806/expmap_517968001_518227201_4FGL_J1448.0+3608_daily_bin1075.fits
Exposure cube: /scratch/kocevski/790806/ltcube_517968001_518227201_4FGL_J1448.0+3608_daily_bin1075.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/790806/Model_4FGL_J1448.0+3608_daily_bin1075.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) = 5644.82478761

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.070       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.3872       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .18790E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.547       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.3163       1.0000         .10000E-03   10000.    
     8 'norm      '    .10390E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.6155       1.0000         .10000E-03   10000.    
    10 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10547E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.4755       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    7.7132       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.230       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.8994       1.0000         .10000E-03   10000.    
    22 'Prefactor '    10.583       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    1.0398       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .69576E-02   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1304       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .83612       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5644.723     FROM MIGRAD    STATUS=CONVERGED    765 CALLS     3963 TOTAL
                     EDM=   .88E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.7646        .13629E-05** at limit **
   2  Prefactor     14.074        16.363       -.77252E-06   -.28204E-04
   3  Prefactor     .10000E-03    14.571        .50256E-06** at limit **
   4  norm          1.3860        3.6293       -.57718E-06   -.32492E-04
   5  Prefactor     .10000E-03    35.276        .32255E-06** at limit **
   6  Prefactor     25.551        23.491        .17548E-05    .70277E-05
   7  Prefactor     1.3164        4.1156       -.37978E-06    .33173E-04
   8  norm          .10000E-03    14.210       -.55797E-06** at limit **
   9  Prefactor     1.5064        193.13       -.13113E-04    .79187E-05
  10  norm          .10000E-03    1.7364        .18214E-06** at limit **
  11  Prefactor     .10000E-03    146.80        .49459E-05** at limit **
  12  norm          4.4764        4.0331       -.78221E-06   -.82068E-05
  13  Prefactor     .10000E-03    25.226       -.28885E-06** at limit **
  14  norm          7.7142        7.0941       -.32235E-07   -.60061E-05
  15  Prefactor     18.212        17.489        .32469E-06   -.29088E-04
  16  Prefactor     .10000E-03    2.3968        .17985E-06** at limit **
  17  norm          .10000E-03    .46235        .19430E-06** at limit **
  18  norm          .10000E-03    1.0825        .21783E-06** at limit **
  19  Prefactor     .10000E-03    5.2497        .78827E-06** at limit **
  20  Prefactor     .10000E-03    20.642        .93685E-06** at limit **
  21  Prefactor     5.8997        7.1808       -.81254E-07   -.10004E-04
  22  Prefactor     10.578        21.111        .47524E-06   -.53451E-05
  23  Prefactor     .10000E-03    9.0236       -.35222E-06** at limit **
  24  norm          1.0397        1.2900       -.20951E-06   -.27326E-03
  25  Prefactor     .10000E-03    21.173        .76327E-06** at limit **
  26  Prefactor     .10000E-03    26.395       -.74849E-06** at limit **
  27  Prefactor     .10000E-03    10.624        .74488E-06** at limit **
  28  norm          .10000E-03    136.11        .10792E-04** at limit **
  29  Normalizat    1.1309        .19768       -.14550E-05   -.30313E-04
  30  Prefactor     .83559        .18531        .15969E-05   -.14867E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 14.0742
  Prefactor  = 0.0001
  norm       = 1.38595
  Prefactor  = 0.0001
  Prefactor  = 25.5507
  Prefactor  = 1.31642
  norm       = 0.0001
  Prefactor  = 1.50643
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 4.47636
  Prefactor  = 0.0001
  norm       = 7.71416
  Prefactor  = 18.2124
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.89975
  Prefactor  = 10.578
  Prefactor  = 0.0001
  norm       = 1.0397
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.13094
  Prefactor  = 0.835588
 **********
 **   18 **HESSE 
 **********

 FCN=   5644.723     FROM HESSE     STATUS=OK           586 CALLS     4549 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.8336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.074        16.356        .10678E-03   -1.4957    
   3  Prefactor     .10000E-03    14.616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3860        3.5892        .22037E-03   -1.5473    
   5  Prefactor     .10000E-03    35.828        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     25.551        23.415        .79255E-04   -1.4697    
   7  Prefactor     1.3164        4.1045        .25183E-03   -1.5478    
   8  norm          .10000E-03    14.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.5064        195.63        .33312E-03   -1.5462    
  10  norm          .10000E-03    1.7395        .96709E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    150.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.4764        4.0238        .69138E-03   -1.5285    
  13  Prefactor     .10000E-03    25.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.7142        7.0938        .14439E-03   -1.5152    
  15  Prefactor     18.212        17.518        .93804E-04   -1.4854    
  16  Prefactor     .10000E-03    2.4023        .11360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .46753        .49945E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.0894        .76363E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.3117        .16803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    20.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.8997        7.1756        .16533E-03   -1.5222    
  22  Prefactor     10.578        21.101        .12316E-03   -1.5057    
  23  Prefactor     .10000E-03    9.0401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.0397        1.2817        .49159E-04   -1.5504    
  25  Prefactor     .10000E-03    21.615        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    26.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    10.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    130.75        .51934E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.1309        .22846        .22450E-03   -.88765    
  30  Prefactor     .83559        .21100        .25895E-03   -.98430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73537e-10
Minuit parameter uncertainties:
  1  1.88667e-05
  2  16.3612
  3  6.02724e-05
  4  3.58975
  5  8.36622e-05
  6  23.4233
  7  4.10537
  8  3.58402e-05
  9  34.4486
  10  3.26108e-06
  11  0.00119764
  12  4.02407
  13  2.40775e-05
  14  7.0946
  15  17.523
  16  3.7409e-06
  17  1.93051e-06
  18  2.51564e-06
  19  1.91637e-05
  20  1.91663e-05
  21  7.17664
  22  21.1154
  23  2.54606e-05
  24  1.28169
  25  0.000153891
  26  1.43894e-05
  27  1.18616e-05
  28  0.000188611
  29  0.22866
  30  0.2112
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  7.714e+00  7.095e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.600e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  8.356e-01  2.112e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.131e+00  2.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.54
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 1.02e-08 +/- 9.34e-09
Energy Flux (Fixed Index): 1.93e-05 +/- 1.78e-05

TS (Fixed Index): 3.54
Ra Dec: 222.017 36.134
Photon Flux Upper Limit: 3.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.23e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/790806/likelihoodResults_517968001_518227201_4FGL_J1448.0+3608_daily_bin1075.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) = 5644.72254214
delta logL = 0.000439933560301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5644.72254132
delta logL = 0.000440752232862

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5644.723     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      217 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.7155        7.0376        .14438E-03    .92916E-05
   2  alpha         1.5781        .71800        .18552E-01   -.40751E-06
   3  Normalizat    1.1311        .20139        .22448E-03   -.13066E-04
   4  Prefactor     .83558        .20373        .25896E-03    .11853E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.71553
  alpha      = 1.57807
  Normalizat = 1.13111
  Prefactor  = 0.83558
 **********
 **   18 **HESSE 
 **********

 FCN=   5644.723     FROM HESSE     STATUS=OK            25 CALLS      242 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.7155        7.0361        .57752E-05   -1.5152    
   2  alpha         1.5781        .71796        .74209E-03   -.37769    
   3  Normalizat    1.1311        .20160        .89792E-05   -.88759    
   4  Prefactor     .83558        .20396        .10358E-04   -.98430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83944e-12
Minuit parameter uncertainties:
  1  7.03683
  2  0.729908
  3  0.201742
  4  0.204149
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790806': 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) = 5644.72254062
delta logL = 0.00044145098218

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  7.716e+00  7.037e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.578e+00  7.299e-01  0.000e+00  5.000e+00 ( 1.000e+00)
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  8.356e-01  2.041e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.131e+00  2.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.54
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.58 +/- 0.73
Photon Flux (Free Index): 9.90e-09 +/- 1.24e-08
Energy Flux (Free Index): 1.99e-05 +/- 2.61e-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/790806/cmap_HighResolution_517968001_518227201_4FGL_J1448.0+3608_daily_bin1075.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.23e-05', comment='SUCCESS', photon_flux='1.02e-08', energy_flux2='1.99e-05', photon_flux_error='9.34e-09', dlogl='4.41e-04', energy_flux='1.93e-05', photon_flux2='9.90e-09', job_status='DONE', time_completed='2021-09-10 10:10:54.042953', photon_index_error2='0.73', photon_index2='1.58', ts='3.54', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='3.80e-08', energy_flux_error2='2.61e-05', EG='1.13', time_epoch_completed='1631293854.04', return_code='0', job_id='790806', GAL2='0.84', EG2='1.13', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='1.24e-08', ts2='3.54', photon_index='1.60' WHERE bin_id='1075' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:10:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 790806: <4FGL_J1448.0+3608_daily_bin1075> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1075> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 09:57:36 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:57:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 09:57:38 2021
Terminated at Fri Sep 10 10:10:54 2021
Results reported at Fri Sep 10 10:10:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1075 222.017 36.1344 517968001 518227201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1448.0+3608 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   778.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             342.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            798 sec.

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

