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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin362
RA = 222.017, Dec = 36.1344
tmin = 333158401, tmax = 333417601
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='786896', job_status='RUN', time_executed='2021-09-10 09:46:17.457962', time_epoch_executed='1631292377.46' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='362'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/786896

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/786896/ft1_4FGL_J1448.0+3608_daily_bin362.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/786896/ft2_4FGL_J1448.0+3608_daily_bin362.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/786896/ft1_4FGL_J1448.0+3608_daily_bin362.fits outfile=/scratch/kocevski/786896/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin362.fits ra=222.017 dec=36.1344 rad=12.0 tmin=333158401.0 tmax=333417601.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 6.12
user 5.83
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/786896/ft2_4FGL_J1448.0+3608_daily_bin362.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/786896/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin362.fits evtable="EVENTS" outfile="/scratch/kocevski/786896/ft1_filtered_4FGL_J1448.0+3608_daily_bin362.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.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/786896/ft1_filtered_4FGL_J1448.0+3608_daily_bin362.fits" evtable="EVENTS" scfile=/scratch/kocevski/786896/ft2_4FGL_J1448.0+3608_daily_bin362.fits sctable="SC_DATA" outfile=/scratch/kocevski/786896/ltcube_333158401_333417601_4FGL_J1448.0+3608_daily_bin362.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/786896/ft2_4FGL_J1448.0+3608_daily_bin362.fits
.....................!
real 11.48
user 11.15
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/786896/ft1_filtered_4FGL_J1448.0+3608_daily_bin362.fits evtable="EVENTS" scfile=/scratch/kocevski/786896/ft2_4FGL_J1448.0+3608_daily_bin362.fits sctable="SC_DATA" expcube=/scratch/kocevski/786896/ltcube_333158401_333417601_4FGL_J1448.0+3608_daily_bin362.fits outfile=/scratch/kocevski/786896/expmap_333158401_333417601_4FGL_J1448.0+3608_daily_bin362.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/786896/ltcube_333158401_333417601_4FGL_J1448.0+3608_daily_bin362.fits
.....................!
real 192.88
user 187.30
sys 5.21

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/786896/ft1_filtered_4FGL_J1448.0+3608_daily_bin362.fits scfile=/scratch/kocevski/786896/ft2_4FGL_J1448.0+3608_daily_bin362.fits outfile=/scratch/kocevski/786896/cmap_333158401_333417601_4FGL_J1448.0+3608_daily_bin362.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/786896/ft1_filtered_4FGL_J1448.0+3608_daily_bin362.fits scfile=/scratch/kocevski/786896/ft2_4FGL_J1448.0+3608_daily_bin362.fits outfile=/scratch/kocevski/786896/cmap_HighResolution_333158401_333417601_4FGL_J1448.0+3608_daily_bin362.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.176       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.3537       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.173       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.6346       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .50229E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    6.0395       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.2734       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.0839       1.0000         .10000E-03   10000.    
    18 'norm      '    7.0837       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.4408       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.4314       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .49598E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.5374       1.0000         .10000E-03   10000.    
    24 'norm      '    7.9103       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .98934       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .88454       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=   5649.338     FROM MIGRAD    STATUS=CONVERGED   1405 CALLS     5159 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.176        17.920        .55174E-03    .47227E-04
   2  Prefactor     .10000E-03    6.0665        .18074E-02** at limit **
   3  Prefactor     .10000E-03    19.441        .18142E-02** at limit **
   4  norm          3.3538        3.0233        .12052E-03    .75840E-04
   5  Prefactor     .10000E-03    5.9977        .17950E-02** at limit **
   6  Prefactor     17.176        15.161        .96648E-04    .12975E-03
   7  Prefactor     .10000E-03    .78336        .64841E-03** at limit **
   8  norm          .10000E-03    4.5820        .15708E-02** at limit **
   9  Prefactor     .10000E-03    25.711        .18142E-02** at limit **
  10  norm          2.6332        5.4101        .11820E-02    .25412E-03
  11  Prefactor     .10000E-03    45.497        .14623    ** at limit **
  12  norm          6.0401        5.9132        .16338E-03    .52606E-04
  13  Prefactor     .10000E-03    48.780        .18142E-02** at limit **
  14  norm          .10000E-03    7.2855        .18142E-02** at limit **
  15  Prefactor     6.2809        17.493        .16027E-03    .64694E-04
  16  Prefactor     .10000E-03    56.948        .32042E-02** at limit **
  17  norm          6.0849        2.1761        .61766E-04    .47763E-03
  18  norm          7.0869        5.6827        .57943E-03    .16517E-03
  19  Prefactor     1.4364        93.775        .17970E-02    .49051E-04
  20  Prefactor     7.4250        119.05        .14712E-03    .97365E-05
  21  Prefactor     .10000E-03    3.9631        .14588E-02** at limit **
  22  Prefactor     .10013E-03    186.26        .59465E-02** at limit **
  23  Prefactor     3.4969        48.582        .10746E-02    .41387E-04
  24  norm          7.9106        1.9290        .48812E-04    .87271E-03
  25  Prefactor     .10000E-03    23.868        .36285E-03** at limit **
  26  Prefactor     .10000E-03    16.404        .18142E-02** at limit **
  27  Prefactor     .10000E-03    11.881        .18142E-02** at limit **
  28  norm          .10000E-03    8.7930        .18142E-02** at limit **
  29  Normalizat    .98948        .23138        .23987E-03    .23146E-03
  30  Prefactor     .88445        .22638        .26260E-03    .32344E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.1765
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.3538
  Prefactor  = 0.0001
  Prefactor  = 17.1758
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.6332
  Prefactor  = 0.0001
  norm       = 6.04007
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.2809
  Prefactor  = 0.000100004
  norm       = 6.08495
  norm       = 7.08695
  Prefactor  = 1.43643
  Prefactor  = 7.42498
  Prefactor  = 0.0001
  Prefactor  = 0.000100133
  Prefactor  = 3.49691
  norm       = 7.9106
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.989483
  Prefactor  = 0.884451
 **********
 **   18 **HESSE 
 **********

 FCN=   5649.338     FROM HESSE     STATUS=OK           572 CALLS     5731 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.176        17.916        .22070E-04   -1.4982    
   2  Prefactor     .10000E-03    6.0666        .36149E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.446        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.3538        3.0233        .48209E-05   -1.5342    
   5  Prefactor     .10000E-03    5.9979        .35899E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.176        15.159        .38659E-05   -1.4879    
   7  Prefactor     .10000E-03    .78337        .12968E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.5821        .31415E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    25.716        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6332        5.4045        .47282E-04   -1.5383    
  11  Prefactor     .10000E-03    45.466        .14623       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.0401        5.9132        .65352E-05   -1.5216    
  13  Prefactor     .10000E-03    48.797        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    7.2892        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.2809        17.480        .64106E-05   -1.5207    
  16  Prefactor     .10000E-03    57.928        .64084E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.0849        2.1736        .24707E-05   -1.5215    
  18  norm          7.0869        5.4001        .23177E-04   -1.5175    
  19  Prefactor     1.4364        70.506        .71878E-04   -1.5468    
  20  Prefactor     7.4250        118.95        .58849E-05   -1.5163    
  21  Prefactor     .10000E-03    3.9635        .29175E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10013E-03    189.88        .23786E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.4969        37.463        .42984E-04   -1.5334    
  24  norm          7.9106        1.9289        .19525E-05   -1.5145    
  25  Prefactor     .10000E-03    23.868        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    16.405        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    11.882        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    8.7942        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .98948        .23143        .47974E-04   -.93384    
  30  Prefactor     .88445        .22656        .52521E-04   -.96687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19479e-09
Minuit parameter uncertainties:
  1  17.9238
  2  8.09417e-06
  3  0.000129006
  4  3.02343
  5  3.67383e-06
  6  15.1623
  7  2.64592e-06
  8  2.73576e-06
  9  4.08504e-05
  10  5.40554
  11  0.000246242
  12  5.91376
  13  4.65329e-05
  14  3.59698e-05
  15  17.494
  16  0.000969811
  17  2.17365
  18  5.40044
  19  20.1517
  20  59.5787
  21  4.73523e-06
  22  0.0100889
  23  22.9095
  24  1.92894
  25  0.000533201
  26  7.08404e-05
  27  2.84648e-05
  28  9.29939e-06
  29  0.231666
  30  0.226797
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  3.597e-05  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.845e-01  2.268e-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:  9.895e-01  2.317e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/786896/likelihoodResults_333158401_333417601_4FGL_J1448.0+3608_daily_bin362.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) = 5649.33881782
delta logL = -0.000653649317428

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5649.33816312
delta logL = 1.04755326902e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6599       1.0000          .0000       5.0000    
     3 'Normalizat'    .98945       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88449       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=   5649.338     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      271 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    11.992        .36285E-03** at limit **
   2  alpha         1.7426        3.3302        .50000       -.47340E-04
   3  Normalizat    .98948        .20785        .23987E-03    .12418E-04
   4  Prefactor     .88445        .21743        .26260E-03    .45240E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100029
  alpha      = 1.74258
  Normalizat = 0.989484
  Prefactor  = 0.884449
 **********
 **   18 **HESSE 
 **********

 FCN=   5649.338     FROM HESSE     STATUS=OK            29 CALLS      300 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    11.857        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7426        3.3284        .50000       -.30780    
   3  Normalizat    .98948        .20807        .95948E-05   -.93384    
   4  Prefactor     .88445        .21766        .10504E-04   -.96687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.53971e-09
Minuit parameter uncertainties:
  1  0.00116674
  2  2.38315
  3  0.208238
  4  0.21787
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/786896': 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) = 5649.33816151
delta logL = 2.65897688223e-06

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  1.167e-03  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.743e+00  2.383e+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:  8.844e-01  2.179e-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:  9.895e-01  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 222.017 36.134

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/786896/cmap_HighResolution_333158401_333417601_4FGL_J1448.0+3608_daily_bin362.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.52e-05', job_status='DONE', photon_flux_upper_limit='2.90e-08', time_completed='2021-09-10 10:01:35.043399', job_id='786896', GAL2='0.88', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1631293295.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='2.66e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='362' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:01:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 786896: <4FGL_J1448.0+3608_daily_bin362> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin362> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 09:46:03 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:46:05 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:46:05 2021
Terminated at Fri Sep 10 10:01:38 2021
Results reported at Fri Sep 10 10:01:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin362 222.017 36.1344 333158401 333417601 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 :                                   915.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            935 sec.

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

