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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin95
RA = 222.017, Dec = 36.1344
tmin = 263952001, tmax = 264211201
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='784429', job_status='RUN', time_executed='2021-09-10 09:38:48.989470', time_epoch_executed='1631291928.99' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='95'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784429

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784429/ft1_4FGL_J1448.0+3608_daily_bin95.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784429/ft2_4FGL_J1448.0+3608_daily_bin95.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784429/ft1_4FGL_J1448.0+3608_daily_bin95.fits outfile=/scratch/kocevski/784429/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin95.fits ra=222.017 dec=36.1344 rad=12.0 tmin=263952001.0 tmax=264211201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 1.69
user 1.50
sys 0.17

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784429/ft1_filtered_4FGL_J1448.0+3608_daily_bin95.fits evtable="EVENTS" scfile=/scratch/kocevski/784429/ft2_4FGL_J1448.0+3608_daily_bin95.fits sctable="SC_DATA" expcube=/scratch/kocevski/784429/ltcube_263952001_264211201_4FGL_J1448.0+3608_daily_bin95.fits outfile=/scratch/kocevski/784429/expmap_263952001_264211201_4FGL_J1448.0+3608_daily_bin95.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/784429/ltcube_263952001_264211201_4FGL_J1448.0+3608_daily_bin95.fits
.....................!
real 190.45
user 184.77
sys 5.29

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/784429/ft1_filtered_4FGL_J1448.0+3608_daily_bin95.fits scfile=/scratch/kocevski/784429/ft2_4FGL_J1448.0+3608_daily_bin95.fits outfile=/scratch/kocevski/784429/cmap_263952001_264211201_4FGL_J1448.0+3608_daily_bin95.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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784429/ft1_filtered_4FGL_J1448.0+3608_daily_bin95.fits scfile=/scratch/kocevski/784429/ft2_4FGL_J1448.0+3608_daily_bin95.fits outfile=/scratch/kocevski/784429/cmap_HighResolution_263952001_264211201_4FGL_J1448.0+3608_daily_bin95.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.505       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 '    2.8549       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.1709       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.630       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    6.1132       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .36907       1.0000         .10000E-03   10000.    
    17 'norm      '    3.5150       1.0000         .10000E-03   10000.    
    18 'norm      '    2.9053       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .16811E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.2004       1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.0510       1.0000         .10000E-03   10000.    
    23 'Prefactor '    24.140       1.0000         .10000E-03   10000.    
    24 'norm      '    12.176       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    18.250       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .11342E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1769       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .78075       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=   7333.611     FROM MIGRAD    STATUS=CONVERGED    737 CALLS     3321 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    11.536        .23659E-05** at limit **
   2  Prefactor     .10000E-03    5.5151       -.41378E-06** at limit **
   3  Prefactor     27.494        21.758       -.28280E-05   -.53983E-03
   4  norm          .10000E-03    1.9063        .18728E-07** at limit **
   5  Prefactor     .10000E-03    21.817        .21030E-05** at limit **
   6  Prefactor     2.8558        21.801        .29772E-05   -.13726E-05
   7  Prefactor     3.1705        3.5574       -.15331E-06   -.45006E-03
   8  norm          .10000E-03    5.8093       -.30618E-07** at limit **
   9  Prefactor     24.633        20.100        .70338E-06    .10330E-03
  10  norm          .10000E-03    4.9144        .60328E-06** at limit **
  11  Prefactor     .10000E-03    28.260       -.40910E-05** at limit **
  12  norm          .10000E-03    1.1611        .12366E-07** at limit **
  13  Prefactor     .10000E-03    16.634       -.24016E-05** at limit **
  14  norm          6.1130        7.1734        .90665E-06   -.60007E-03
  15  Prefactor     .10000E-03    4.5840       -.24470E-06** at limit **
  16  Prefactor     .36833        4.4487        .16721E-06   -.22874E-03
  17  norm          3.5154        1.8246       -.23499E-07   -.13917E-03
  18  norm          2.9080        3.0422       -.61705E-07   -.10850E-03
  19  Prefactor     .10000E-03    12.457       -.24607E-06** at limit **
  20  Prefactor     .10000E-03    23.566        .23904E-05** at limit **
  21  Prefactor     5.1981        9.3509        .37383E-05   -.96607E-03
  22  Prefactor     9.0537        10.428       -.35753E-06   -.58374E-04
  23  Prefactor     24.155        13.816        .80108E-06    .32605E-03
  24  norm          12.176        1.8923       -.28109E-07   -.80764E-04
  25  Prefactor     .10000E-03    2.8747       -.72933E-08** at limit **
  26  Prefactor     18.252        21.296        .56484E-06    .73112E-04
  27  Prefactor     .10000E-03    13.393       -.20724E-05** at limit **
  28  norm          .10000E-03    22.856        .25879E-05** at limit **
  29  Normalizat    1.1767        .17015       -.29408E-06   -.10533E-03
  30  Prefactor     .78096        .16343       -.63162E-06   -.66357E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 27.4941
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.85581
  Prefactor  = 3.1705
  norm       = 0.0001
  Prefactor  = 24.6327
  norm       = 0.0001
  Prefactor  = 0.000100005
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 6.11301
  Prefactor  = 0.0001
  Prefactor  = 0.368329
  norm       = 3.51536
  norm       = 2.90797
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 5.19809
  Prefactor  = 9.05371
  Prefactor  = 24.1555
  norm       = 12.1758
  Prefactor  = 0.0001
  Prefactor  = 18.2522
  Prefactor  = 0.000100001
  norm       = 0.000100002
  Normalizat = 1.17666
  Prefactor  = 0.780962
 **********
 **   18 **HESSE 
 **********

 FCN=   7333.611     FROM HESSE     STATUS=OK           580 CALLS     3901 TOTAL
                     EDM=   .59E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    11.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.5264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.494        22.631        .76388E-04   -1.4659    
   4  norm          .10000E-03    1.9250        .11540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    21.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.8558        21.584        .24061E-03   -1.5370    
   7  Prefactor     3.1705        3.5889        .16283E-03   -1.5352    
   8  norm          .10000E-03    5.8161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     24.633        20.157        .80714E-04   -1.4715    
  10  norm          .10000E-03    4.9820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    28.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.1657        .90110E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.1130        7.3050        .81189E-03   -1.5213    
  15  Prefactor     .10000E-03    4.5947        .17907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .36833        12.721        .32640E-02   -1.5587    
  17  norm          3.5154        1.8079        .74092E-04   -1.5333    
  18  norm          2.9080        3.0273        .14387E-03   -1.5367    
  19  Prefactor     .10000E-03    12.720        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    23.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.1981        10.716        .88138E-03   -1.5252    
  22  Prefactor     9.0537        10.431        .13322E-03   -1.5106    
  23  Prefactor     24.155        13.836        .81528E-04   -1.4725    
  24  norm          12.176        1.8928        .44087E-04   -1.5010    
  25  Prefactor     .10000E-03    2.8787        .14173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     18.252        21.318        .93753E-04   -1.4853    
  27  Prefactor     .10000E-03    13.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    23.688        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.1767        .20619        .23756E-03   -.87327    
  30  Prefactor     .78096        .19648        .28998E-03   -1.0043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.88373e-08
Minuit parameter uncertainties:
  1  0.000248423
  2  3.97051e-05
  3  22.6377
  4  8.88405e-07
  5  6.69671e-05
  6  15.7097
  7  3.58913
  8  1.27849e-05
  9  20.1622
  10  3.58982e-05
  11  0.000742761
  12  4.38742e-07
  13  0.000322818
  14  7.30602
  15  1.67925e-05
  16  4.32957
  17  1.80792
  18  3.02745
  19  0.000118304
  20  0.000386889
  21  10.7199
  22  10.4332
  23  13.8379
  24  1.89282
  25  1.03969e-06
  26  21.3271
  27  0.000262824
  28  0.000378791
  29  0.206334
  30  0.196653
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  6.113e+00  7.306e+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:  7.810e-01  1.967e-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.177e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.23
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 8.05e-09 +/- 9.62e-09
Energy Flux (Fixed Index): 1.53e-05 +/- 1.83e-05

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

Saving results to:
/scratch/kocevski/784429/likelihoodResults_263952001_264211201_4FGL_J1448.0+3608_daily_bin95.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) = 7333.60280753
delta logL = 0.00789498933682

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7333.60122598
delta logL = 0.00947654606716

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6545       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4088       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1784       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78086       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=   7333.601     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      284 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6543        7.9041        .16893E-03    .28400E-04
   2  alpha         1.4088        1.1966        .31562E-01   -.84504E-05
   3  Normalizat    1.1784        .18593        .23740E-03   -.68096E-04
   4  Prefactor     .78084        .18944        .29001E-03   -.38652E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.65426
  alpha      = 1.40881
  Normalizat = 1.17839
  Prefactor  = 0.780843
 **********
 **   18 **HESSE 
 **********

 FCN=   7333.601     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .53E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6543        8.2503        .67572E-05   -1.5232    
   2  alpha         1.4088        1.2438        .12625E-02   -.45168    
   3  Normalizat    1.1784        .18609        .94961E-05   -.87273    
   4  Prefactor     .78084        .18963        .11601E-04   -1.0044    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.32295e-12
Minuit parameter uncertainties:
  1  8.25191
  2  1.31795
  3  0.186197
  4  0.189788
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784429': 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) = 7333.60122597
delta logL = 0.00947655578875

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  5.654e+00  8.252e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.409e+00  1.318e+00  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:  7.808e-01  1.898e-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.178e+00  1.862e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.24
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.41 +/- 1.32
Photon Flux (Free Index): 6.13e-09 +/- 1.38e-08
Energy Flux (Free Index): 1.88e-05 +/- 3.56e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/784429/cmap_HighResolution_263952001_264211201_4FGL_J1448.0+3608_daily_bin95.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.66e-05', comment='SUCCESS', photon_flux='8.05e-09', energy_flux2='1.88e-05', photon_flux_error='9.62e-09', dlogl='9.48e-03', energy_flux='1.53e-05', photon_flux2='6.13e-09', job_status='DONE', time_completed='2021-09-10 09:53:17.208062', photon_index_error2='1.32', photon_index2='1.41', ts='1.23', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='3.50e-08', energy_flux_error2='3.56e-05', EG='1.18', time_epoch_completed='1631292797.21', return_code='0', job_id='784429', GAL2='0.78', EG2='1.18', return_code2='0', energy_flux_error='1.83e-05', photon_flux_error2='1.38e-08', ts2='1.24', photon_index='1.60' WHERE bin_id='95' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:53:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 784429: <4FGL_J1448.0+3608_daily_bin95> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin95> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 09:36:39 2021
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:36:41 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:36:41 2021
Terminated at Fri Sep 10 09:53:17 2021
Results reported at Fri Sep 10 09:53:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin95 222.017 36.1344 263952001 264211201 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 :                                   868.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   996 sec.
    Turnaround time :                            998 sec.

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

