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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1180
RA = 222.017, Dec = 36.1344
tmin = 545184001, tmax = 545443201
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='790961', job_status='RUN', time_executed='2021-09-10 10:01:58.267065', time_epoch_executed='1631293318.27' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1180'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790961

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790961/ft1_4FGL_J1448.0+3608_daily_bin1180.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790961/ft2_4FGL_J1448.0+3608_daily_bin1180.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790961/ft1_4FGL_J1448.0+3608_daily_bin1180.fits outfile=/scratch/kocevski/790961/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1180.fits ra=222.017 dec=36.1344 rad=12.0 tmin=545184001.0 tmax=545443201.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.97
user 3.76
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/790961/ft2_4FGL_J1448.0+3608_daily_bin1180.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/790961/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1180.fits evtable="EVENTS" outfile="/scratch/kocevski/790961/ft1_filtered_4FGL_J1448.0+3608_daily_bin1180.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.30
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/790961/ft1_filtered_4FGL_J1448.0+3608_daily_bin1180.fits" evtable="EVENTS" scfile=/scratch/kocevski/790961/ft2_4FGL_J1448.0+3608_daily_bin1180.fits sctable="SC_DATA" outfile=/scratch/kocevski/790961/ltcube_545184001_545443201_4FGL_J1448.0+3608_daily_bin1180.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/790961/ft2_4FGL_J1448.0+3608_daily_bin1180.fits
.....................!
real 11.45
user 11.10
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790961/ft1_filtered_4FGL_J1448.0+3608_daily_bin1180.fits evtable="EVENTS" scfile=/scratch/kocevski/790961/ft2_4FGL_J1448.0+3608_daily_bin1180.fits sctable="SC_DATA" expcube=/scratch/kocevski/790961/ltcube_545184001_545443201_4FGL_J1448.0+3608_daily_bin1180.fits outfile=/scratch/kocevski/790961/expmap_545184001_545443201_4FGL_J1448.0+3608_daily_bin1180.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/790961/ltcube_545184001_545443201_4FGL_J1448.0+3608_daily_bin1180.fits
.....................!
real 192.63
user 186.66
sys 5.52

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/790961/ft1_filtered_4FGL_J1448.0+3608_daily_bin1180.fits scfile=/scratch/kocevski/790961/ft2_4FGL_J1448.0+3608_daily_bin1180.fits outfile=/scratch/kocevski/790961/cmap_545184001_545443201_4FGL_J1448.0+3608_daily_bin1180.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/790961/ft1_filtered_4FGL_J1448.0+3608_daily_bin1180.fits scfile=/scratch/kocevski/790961/ft2_4FGL_J1448.0+3608_daily_bin1180.fits outfile=/scratch/kocevski/790961/cmap_HighResolution_545184001_545443201_4FGL_J1448.0+3608_daily_bin1180.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/790961/ft1_filtered_4FGL_J1448.0+3608_daily_bin1180.fits evtable="EVENTS" scfile=/scratch/kocevski/790961/ft2_4FGL_J1448.0+3608_daily_bin1180.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/790961/Model_4FGL_J1448.0+3608_daily_bin1180.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/790961/ft1_filtered_4FGL_J1448.0+3608_daily_bin1180.fits......................!
real 29.61
user 28.08
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    40.020       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.615       1.0000         .10000E-03   10000.    
     4 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.203       1.0000         .10000E-03   10000.    
     8 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.5521       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    73.316       1.0000         .10000E-03   10000.    
    14 'norm      '    20.454       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    143.23       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .13700E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10247E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10220E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .99298       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .76515       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=   2598.764     FROM MIGRAD    STATUS=CONVERGED    712 CALLS     4374 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    12.528        .23414E-05** at limit **
   2  Prefactor     40.021        36.232        .36214E-06   -.28350E-04
   3  Prefactor     20.742        311.54        .27462E-03    .50694E-05
   4  norm          .10000E-03    3.2899       -.97665E-07** at limit **
   5  Prefactor     .10000E-03    9.8923       -.24417E-06** at limit **
   6  Prefactor     .10000E-03    12.768        .70538E-06** at limit **
   7  Prefactor     10.208        7.3101        .91345E-07   -.16054E-03
   8  norm          .10000E-03    12.139        .48971E-05** at limit **
   9  Prefactor     .10000E-03    24.677        .21302E-04** at limit **
  10  norm          5.5558        15.015        .43223E-05   -.11142E-03
  11  Prefactor     .10000E-03    37.538       -.13582E-04** at limit **
  12  norm          .10000E-03    2.3446       -.22887E-07** at limit **
  13  Prefactor     73.317        72.055        .74253E-06   -.64239E-04
  14  norm          20.442        18.321       -.51144E-05   -.78949E-04
  15  Prefactor     .10000E-03    11.028        .90077E-05** at limit **
  16  Prefactor     .10000E-03    5.6746        .33967E-06** at limit **
  17  norm          .10000E-03    1.0042        .20163E-06** at limit **
  18  norm          .10000E-03    15.545       -.12617E-04** at limit **
  19  Prefactor     .10000E-03    33.937        .96945E-05** at limit **
  20  Prefactor     143.15        128.22       -.67646E-04   -.33565E-04
  21  Prefactor     .10000E-03    2.5368        .67974E-07** at limit **
  22  Prefactor     .10000E-03    35.098        .35439E-05** at limit **
  23  Prefactor     .10000E-03    38.292       -.19952E-04** at limit **
  24  norm          .10000E-03    .89746        .36480E-06** at limit **
  25  Prefactor     .10000E-03    22.612        .16839E-04** at limit **
  26  Prefactor     .10000E-03    17.591       -.10523E-04** at limit **
  27  Prefactor     .10000E-03    17.646       -.10141E-04** at limit **
  28  norm          .10000E-03    9.5876       -.62859E-05** at limit **
  29  Normalizat    .99216        .28694       -.56691E-05   -.13752E-03
  30  Prefactor     .76593        .24293        .35576E-05   -.33484E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 40.0206
  Prefactor  = 20.7425
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.2081
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.55584
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 73.3171
  norm       = 20.4417
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 143.149
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.992157
  Prefactor  = 0.76593
 **********
 **   18 **HESSE 
 **********

 FCN=   2598.764     FROM HESSE     STATUS=OK           564 CALLS     4938 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    12.528        .17624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     40.021        36.228        .63362E-04   -1.4442    
   3  Prefactor     20.742        311.53        .88215E-04   -1.4797    
   4  norm          .10000E-03    3.3061        .90272E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.8952        .15660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.769        .17793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.208        7.3596        .10820E-03   -1.5069    
   8  norm          .10000E-03    12.145        .17347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    24.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.5558        14.989        .17051E-03   -1.5237    
  11  Prefactor     .10000E-03    37.543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.3584        .76206E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     73.317        72.917        .46889E-04   -1.3993    
  14  norm          20.442        18.293        .88563E-04   -1.4803    
  15  Prefactor     .10000E-03    11.042        .16539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.6855        .11860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.0070        .49882E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    15.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    34.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     143.15        128.43        .16832E-03   -1.3309    
  21  Prefactor     .10000E-03    2.5380        .79299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    35.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    38.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    1.1783        .92747E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    23.360        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    17.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    17.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    9.5860        .15415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .99216        .34900        .24012E-03   -.93294    
  30  Prefactor     .76593        .29327        .24507E-03   -1.0100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57386e-09
Minuit parameter uncertainties:
  1  5.75427e-05
  2  36.2478
  3  161.789
  4  6.95244e-06
  5  3.71869e-05
  6  5.51329e-05
  7  7.36022
  8  2.60617e-05
  9  0.00016125
  10  14.9993
  11  6.0607e-05
  12  4.19936e-06
  13  73.0065
  14  18.2977
  15  6.81874e-05
  16  3.52359e-05
  17  2.10201e-05
  18  1.40881e-05
  19  1.96643e-05
  20  128.682
  21  2.34014e-06
  22  4.87273e-05
  23  6.83994e-06
  24  6.33125e-05
  25  9.98197e-05
  26  2.13758e-06
  27  0.000103082
  28  4.58016e-05
  29  0.349806
  30  0.293865
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  2.044e+01  1.830e+01  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.659e-01  2.939e-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.922e-01  3.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.25
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 2.69e-08 +/- 2.41e-08
Energy Flux (Fixed Index): 5.12e-05 +/- 4.58e-05

TS (Fixed Index): 3.25
Ra Dec: 222.017 36.134
Photon Flux Upper Limit: 9.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.73e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/790961/likelihoodResults_545184001_545443201_4FGL_J1448.0+3608_daily_bin1180.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) = 2597.76690719
delta logL = 0.996932451839

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2597.76669596
delta logL = 0.997143674783

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.919       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5611       1.0000          .0000       5.0000    
     3 'Normalizat'    .92905       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79336       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=   2597.767     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      292 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.926        14.680        .11144E-03    .82326E-04
   2  alpha         2.5618        .67317        .69491E-02    .13017E-04
   3  Normalizat    .92895        .32315        .24658E-03   -.29161E-04
   4  Prefactor     .79333        .29095        .24055E-03    .75263E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.926
  alpha      = 2.56177
  Normalizat = 0.928947
  Prefactor  = 0.793331
 **********
 **   18 **HESSE 
 **********

 FCN=   2597.767     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.926        13.742        .44577E-05   -1.4989    
   2  alpha         2.5618        .63067        .27796E-03    .24711E-01
   3  Normalizat    .92895        .32304        .98633E-05   -.95450    
   4  Prefactor     .79333        .29104        .96221E-05   -.99975    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29276e-10
Minuit parameter uncertainties:
  1  13.7456
  2  0.637566
  3  0.323717
  4  0.291609
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790961': 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) = 2597.76669312
delta logL = 0.997146518051

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.293e+01  1.375e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  2.562e+00  6.376e-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:  7.933e-01  2.916e-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.289e-01  3.237e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.23
Ra Dec: 222.017 36.134
Photon Index (Free Index): 2.56 +/- 0.64
Photon Flux (Free Index): 9.43e-08 +/- 8.14e-08
Energy Flux (Free Index): 3.26e-05 +/- 2.19e-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/790961/cmap_HighResolution_545184001_545443201_4FGL_J1448.0+3608_daily_bin1180.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-04', comment='SUCCESS', photon_flux='2.69e-08', energy_flux2='3.26e-05', photon_flux_error='2.41e-08', dlogl='9.97e-01', energy_flux='5.12e-05', photon_flux2='9.43e-08', job_status='DONE', time_completed='2021-09-10 10:10:54.616149', photon_index_error2='0.64', photon_index2='2.56', ts='3.25', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='9.12e-08', energy_flux_error2='2.19e-05', EG='0.99', time_epoch_completed='1631293854.62', return_code='0', job_id='790961', GAL2='0.79', EG2='0.93', return_code2='0', energy_flux_error='4.58e-05', photon_flux_error2='8.14e-08', ts2='5.23', photon_index='1.60' WHERE bin_id='1180' 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@bullet0055>
Subject: Job 790961: <4FGL_J1448.0+3608_daily_bin1180> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1180> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 09:57:47 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:57:49 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:49 2021
Terminated at Fri Sep 10 10:10:55 2021
Results reported at Fri Sep 10 10:10:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1180 222.017 36.1344 545184001 545443201 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 :                                   535.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             257.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            788 sec.

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

