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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin200
RA = 222.017, Dec = 36.1344
tmin = 291168001, tmax = 291427201
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='785564', job_status='RUN', time_executed='2021-09-10 09:41:23.464107', time_epoch_executed='1631292083.46' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='200'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785564

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785564/ft1_4FGL_J1448.0+3608_daily_bin200.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785564/ft2_4FGL_J1448.0+3608_daily_bin200.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785564/ft1_4FGL_J1448.0+3608_daily_bin200.fits outfile=/scratch/kocevski/785564/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin200.fits ra=222.017 dec=36.1344 rad=12.0 tmin=291168001.0 tmax=291427201.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.43
user 3.23
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/785564/ft2_4FGL_J1448.0+3608_daily_bin200.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/785564/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin200.fits evtable="EVENTS" outfile="/scratch/kocevski/785564/ft1_filtered_4FGL_J1448.0+3608_daily_bin200.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/785564/ft1_filtered_4FGL_J1448.0+3608_daily_bin200.fits" evtable="EVENTS" scfile=/scratch/kocevski/785564/ft2_4FGL_J1448.0+3608_daily_bin200.fits sctable="SC_DATA" outfile=/scratch/kocevski/785564/ltcube_291168001_291427201_4FGL_J1448.0+3608_daily_bin200.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/785564/ft2_4FGL_J1448.0+3608_daily_bin200.fits
.....................!
real 11.69
user 11.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785564/ft1_filtered_4FGL_J1448.0+3608_daily_bin200.fits evtable="EVENTS" scfile=/scratch/kocevski/785564/ft2_4FGL_J1448.0+3608_daily_bin200.fits sctable="SC_DATA" expcube=/scratch/kocevski/785564/ltcube_291168001_291427201_4FGL_J1448.0+3608_daily_bin200.fits outfile=/scratch/kocevski/785564/expmap_291168001_291427201_4FGL_J1448.0+3608_daily_bin200.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/785564/ltcube_291168001_291427201_4FGL_J1448.0+3608_daily_bin200.fits
.....................!
real 191.03
user 186.04
sys 4.58

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/785564/ft1_filtered_4FGL_J1448.0+3608_daily_bin200.fits scfile=/scratch/kocevski/785564/ft2_4FGL_J1448.0+3608_daily_bin200.fits outfile=/scratch/kocevski/785564/cmap_291168001_291427201_4FGL_J1448.0+3608_daily_bin200.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785564/ft1_filtered_4FGL_J1448.0+3608_daily_bin200.fits scfile=/scratch/kocevski/785564/ft2_4FGL_J1448.0+3608_daily_bin200.fits outfile=/scratch/kocevski/785564/cmap_HighResolution_291168001_291427201_4FGL_J1448.0+3608_daily_bin200.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/785564/ft1_filtered_4FGL_J1448.0+3608_daily_bin200.fits evtable="EVENTS" scfile=/scratch/kocevski/785564/ft2_4FGL_J1448.0+3608_daily_bin200.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/785564/Model_4FGL_J1448.0+3608_daily_bin200.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/785564/ft1_filtered_4FGL_J1448.0+3608_daily_bin200.fits.....................!
real 46.98
user 45.64
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/785564/ft1_filtered_4FGL_J1448.0+3608_daily_bin200.fits', '/scratch/kocevski/785564/ft2_4FGL_J1448.0+3608_daily_bin200.fits', expMap='/scratch/kocevski/785564/expmap_291168001_291427201_4FGL_J1448.0+3608_daily_bin200.fits', expCube='/scratch/kocevski/785564/ltcube_291168001_291427201_4FGL_J1448.0+3608_daily_bin200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/785564/Model_4FGL_J1448.0+3608_daily_bin200.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/785564/ft1_filtered_4FGL_J1448.0+3608_daily_bin200.fits
Spacecraft file(s): /scratch/kocevski/785564/ft2_4FGL_J1448.0+3608_daily_bin200.fits
Exposure map: /scratch/kocevski/785564/expmap_291168001_291427201_4FGL_J1448.0+3608_daily_bin200.fits
Exposure cube: /scratch/kocevski/785564/ltcube_291168001_291427201_4FGL_J1448.0+3608_daily_bin200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/785564/Model_4FGL_J1448.0+3608_daily_bin200.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) = 6106.11966343

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9751       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.624       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .55448E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    31.271       1.0000         .10000E-03   10000.    
    10 'norm      '    3.8044       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.196       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.635       1.0000         .10000E-03   10000.    
    14 'norm      '    5.6495       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .61190E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.8102       1.0000         .10000E-03   10000.    
    18 'norm      '    5.2714       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    28.519       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    5.3666       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    92.694       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    10.820       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .89841       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .85415       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=   6106.074     FROM MIGRAD    STATUS=CONVERGED    740 CALLS     3315 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9769        14.942        .88549E-06   -.14646E-04
   2  Prefactor     .10000E-03    29.144       -.11253E-04** at limit **
   3  Prefactor     10.624        18.611       -.73184E-06   -.17436E-04
   4  norm          .10000E-03    1.0475        .86292E-08** at limit **
   5  Prefactor     .10000E-03    4.5777        .46704E-06** at limit **
   6  Prefactor     .10000E-03    12.703       -.63260E-05** at limit **
   7  Prefactor     .10002E-03    1.5775        .20990E-06** at limit **
   8  norm          .10000E-03    3.3548        .13711E-05** at limit **
   9  Prefactor     31.271        21.387        .24622E-06    .35785E-04
  10  norm          3.8040        3.8870        .12973E-07   -.13749E-03
  11  Prefactor     17.192        29.046       -.49336E-05    .54190E-05
  12  norm          .10000E-03    2.1601        .11349E-07** at limit **
  13  Prefactor     18.634        22.735       -.12190E-05   -.20599E-04
  14  norm          5.6485        5.5440        .11407E-05    .19085E-02
  15  Prefactor     .10000E-03    7.4305        .24797E-05** at limit **
  16  Prefactor     .10000E-03    5.6720        .25014E-06** at limit **
  17  norm          2.8065        1.6730       -.70996E-07   -.75959E-03
  18  norm          5.2717        3.2549       -.10581E-06   -.17253E-03
  19  Prefactor     .10000E-03    4.3493        .89503E-06** at limit **
  20  Prefactor     .10000E-03    24.412        .13250E-04** at limit **
  21  Prefactor     .10000E-03    3.6064       -.18916E-05** at limit **
  22  Prefactor     28.521        17.132        .88974E-06   -.38422E-04
  23  Prefactor     .10000E-03    2.9263       -.21328E-06** at limit **
  24  norm          5.3672        1.4710       -.90771E-07    .63417E-03
  25  Prefactor     .10000E-03    6.5610       -.34119E-05** at limit **
  26  Prefactor     92.701        45.901        .57581E-05    .45782E-04
  27  Prefactor     .10000E-03    9.8396        .34878E-05** at limit **
  28  norm          10.821        10.582       -.10762E-06   -.45235E-04
  29  Normalizat    .89831        .16512        .21915E-06    .12901E-04
  30  Prefactor     .85413        .16425       -.36979E-06    .47097E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.97688
  Prefactor  = 0.000100001
  Prefactor  = 10.624
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100022
  norm       = 0.0001
  Prefactor  = 31.2712
  norm       = 3.80396
  Prefactor  = 17.1924
  norm       = 0.0001
  Prefactor  = 18.634
  norm       = 5.64848
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.80653
  norm       = 5.27169
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.5213
  Prefactor  = 0.0001
  norm       = 5.36721
  Prefactor  = 0.0001
  Prefactor  = 92.7011
  Prefactor  = 0.0001
  norm       = 10.8209
  Normalizat = 0.898313
  Prefactor  = 0.85413
 **********
 **   18 **HESSE 
 **********

 FCN=   6106.074     FROM HESSE     STATUS=OK           588 CALLS     3903 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9769        14.954        .16427E-03   -1.5219    
   2  Prefactor     .10000E-03    29.703        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.624        18.677        .12292E-03   -1.5056    
   4  norm          .10000E-03    1.0550        .78085E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.5973        .16328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10002E-03    29.645        .18473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.3533        .13973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     31.271        21.439        .71651E-04   -1.4589    
  10  norm          3.8040        3.8796        .15054E-03   -1.5318    
  11  Prefactor     17.192        28.983        .96584E-04   -1.4878    
  12  norm          .10000E-03    2.2060        .11213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.634        22.757        .92780E-04   -1.4844    
  14  norm          5.6485        5.7760        .84503E-03   -1.5233    
  15  Prefactor     .10000E-03    7.4605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.505        .33656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.8065        1.5682        .69521E-04   -1.5373    
  18  norm          5.2717        3.2492        .10672E-03   -1.5249    
  19  Prefactor     .10000E-03    4.3798        .15878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    24.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.6182        .14479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     28.521        17.120        .75021E-04   -1.4639    
  23  Prefactor     .10000E-03    2.9298        .13051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          5.3672        1.4676        .46871E-04   -1.5245    
  25  Prefactor     .10000E-03    6.6010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     92.701        45.786        .20870E-03   -1.3779    
  27  Prefactor     .10000E-03    9.8296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          10.821        10.578        .12180E-03   -1.5050    
  29  Normalizat    .89831        .19042        .22962E-03   -.96519    
  30  Prefactor     .85413        .19177        .24892E-03   -.97763    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02108e-09
Minuit parameter uncertainties:
  1  14.963
  2  0.000270116
  3  18.6872
  4  4.69399e-07
  5  1.3766e-05
  6  6.38162e-05
  7  0.00161336
  8  2.02417e-06
  9  21.4443
  10  3.87985
  11  29.0069
  12  7.73378e-07
  13  22.7679
  14  5.77654
  15  1.37222e-05
  16  0.000114976
  17  1.56819
  18  3.24935
  19  5.54599e-06
  20  3.16526e-06
  21  4.60828e-07
  22  17.1229
  23  3.39607e-06
  24  1.46757
  25  3.45273e-05
  26  45.8039
  27  2.43224e-06
  28  10.5795
  29  0.190559
  30  0.191919
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  5.648e+00  5.777e+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.541e-01  1.919e-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:  8.983e-01  1.906e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.67
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 7.44e-09 +/- 7.61e-09
Energy Flux (Fixed Index): 1.42e-05 +/- 1.45e-05

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

Saving results to:
/scratch/kocevski/785564/likelihoodResults_291168001_291427201_4FGL_J1448.0+3608_daily_bin200.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) = 6105.36630766
delta logL = 0.707971479339

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6105.24121202
delta logL = 0.833067119028

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6185       1.0000         .10000E-03   10000.    
     2 'alpha     '    .61260       1.0000          .0000       5.0000    
     3 'Normalizat'    .89668       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85948       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.

 FCN=   6105.241     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      206 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6170        2.8523        .63013E-02   -.26132E-03
   2  alpha         .61231        .56266        .50000       -.14259E-04
   3  Normalizat    .89666        .15258        .44859E-01    .10839E-04
   4  Prefactor     .85949        .16262        .44486E-01    .11668E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.61704
  alpha      = 0.612306
  Normalizat = 0.896659
  Prefactor  = 0.859493
 **********
 **   18 **HESSE 
 **********

 FCN=   6105.241     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6170        4.3224        .12601E-03   -1.5384    
   2  alpha         .61231        .74631        .25038E-01   -.85577    
   3  Normalizat    .89666        .17741        .22978E-03   -.96578    
   4  Prefactor     .85949        .18909        .24823E-03   -.97571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.46153e-10
Minuit parameter uncertainties:
  1  4.32295
  2  0.774846
  3  0.177522
  4  0.189231
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785564': 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) = 6105.24121195
delta logL = 0.8330671911

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  2.617e+00  4.323e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  6.123e-01  7.748e-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.595e-01  1.892e-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:  8.967e-01  1.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.34
Ra Dec: 222.017 36.134
Photon Index (Free Index): 0.61 +/- 0.77
Photon Flux (Free Index): 3.23e-09 +/- 3.50e-09
Energy Flux (Free Index): 5.65e-05 +/- 7.70e-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/785564/cmap_HighResolution_291168001_291427201_4FGL_J1448.0+3608_daily_bin200.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.12e-05', comment='SUCCESS', photon_flux='7.44e-09', energy_flux2='5.65e-05', photon_flux_error='7.61e-09', dlogl='8.33e-01', energy_flux='1.42e-05', photon_flux2='3.23e-09', job_status='DONE', time_completed='2021-09-10 09:54:29.929742', photon_index_error2='0.77', photon_index2='0.61', ts='3.67', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='3.22e-08', energy_flux_error2='7.70e-05', EG='0.90', time_epoch_completed='1631292869.93', return_code='0', job_id='785564', GAL2='0.86', EG2='0.90', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='3.50e-09', ts2='5.34', photon_index='1.60' WHERE bin_id='200' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:54:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 785564: <4FGL_J1448.0+3608_daily_bin200> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin200> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 09:41:05 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:41:07 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:41:07 2021
Terminated at Fri Sep 10 09:54:30 2021
Results reported at Fri Sep 10 09:54:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin200 222.017 36.1344 291168001 291427201 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 :                                   785.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             358.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            805 sec.

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

