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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1081
RA = 26.1502, Dec = 27.0899
tmin = 519523201, tmax = 519782401
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='826368', job_status='RUN', time_executed='2021-08-14 15:39:44.494424', time_epoch_executed='1628980784.49' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1081'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/826368

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

Retrieving the FT1 file...

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

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

Retrieving 37 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/826368/ft1_4FGL_J0144.6+2705_daily_bin1081.fits


Retrieving the FT1 file...

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

Retrieving 37 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/826368/ft2_4FGL_J0144.6+2705_daily_bin1081.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/826368/ft1_4FGL_J0144.6+2705_daily_bin1081.fits outfile=/scratch/kocevski/826368/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1081.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=519523201.0 tmax=519782401.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.42
user 2.21
sys 1.16

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/826368/ft2_4FGL_J0144.6+2705_daily_bin1081.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/826368/ft2_4FGL_J0144.6+2705_daily_bin1081.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/826368/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1081.fits evtable="EVENTS" outfile="/scratch/kocevski/826368/ft1_filtered_4FGL_J0144.6+2705_daily_bin1081.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 1.39
user 0.28
sys 1.09

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/826368/ft1_filtered_4FGL_J0144.6+2705_daily_bin1081.fits" evtable="EVENTS" scfile=/scratch/kocevski/826368/ft2_4FGL_J0144.6+2705_daily_bin1081.fits sctable="SC_DATA" outfile=/scratch/kocevski/826368/ltcube_519523201_519782401_4FGL_J0144.6+2705_daily_bin1081.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/826368/ft2_4FGL_J0144.6+2705_daily_bin1081.fits
.....................!
real 11.09
user 9.65
sys 1.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/826368/ft1_filtered_4FGL_J0144.6+2705_daily_bin1081.fits evtable="EVENTS" scfile=/scratch/kocevski/826368/ft2_4FGL_J0144.6+2705_daily_bin1081.fits sctable="SC_DATA" expcube=/scratch/kocevski/826368/ltcube_519523201_519782401_4FGL_J0144.6+2705_daily_bin1081.fits outfile=/scratch/kocevski/826368/expmap_519523201_519782401_4FGL_J0144.6+2705_daily_bin1081.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/826368/ltcube_519523201_519782401_4FGL_J0144.6+2705_daily_bin1081.fits
.....................!
real 158.53
user 152.32
sys 5.78

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

Setting source of interest to:
4FGL J0144.6+2705 @ 26.1502 27.0899

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/826368/ft1_filtered_4FGL_J0144.6+2705_daily_bin1081.fits scfile=/scratch/kocevski/826368/ft2_4FGL_J0144.6+2705_daily_bin1081.fits outfile=/scratch/kocevski/826368/cmap_519523201_519782401_4FGL_J0144.6+2705_daily_bin1081.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=26.1502 yref=27.0899 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 1.43
user 0.33
sys 1.07

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/826368/ft1_filtered_4FGL_J0144.6+2705_daily_bin1081.fits scfile=/scratch/kocevski/826368/ft2_4FGL_J0144.6+2705_daily_bin1081.fits outfile=/scratch/kocevski/826368/cmap_HighResolution_519523201_519782401_4FGL_J0144.6+2705_daily_bin1081.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=26.1502 yref=27.0899 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 1.40
user 0.33
sys 1.06

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/826368/ft1_filtered_4FGL_J0144.6+2705_daily_bin1081.fits evtable="EVENTS" scfile=/scratch/kocevski/826368/ft2_4FGL_J0144.6+2705_daily_bin1081.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/826368/Model_4FGL_J0144.6+2705_daily_bin1081.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/826368/ft1_filtered_4FGL_J0144.6+2705_daily_bin1081.fits.....................!
real 75.97
user 73.35
sys 2.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/826368/ft1_filtered_4FGL_J0144.6+2705_daily_bin1081.fits', '/scratch/kocevski/826368/ft2_4FGL_J0144.6+2705_daily_bin1081.fits', expMap='/scratch/kocevski/826368/expmap_519523201_519782401_4FGL_J0144.6+2705_daily_bin1081.fits', expCube='/scratch/kocevski/826368/ltcube_519523201_519782401_4FGL_J0144.6+2705_daily_bin1081.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/826368/Model_4FGL_J0144.6+2705_daily_bin1081.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0144.6+2705'

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.270e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.033e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  8.399e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/826368/ft1_filtered_4FGL_J0144.6+2705_daily_bin1081.fits
Spacecraft file(s): /scratch/kocevski/826368/ft2_4FGL_J0144.6+2705_daily_bin1081.fits
Exposure map: /scratch/kocevski/826368/expmap_519523201_519782401_4FGL_J0144.6+2705_daily_bin1081.fits
Exposure cube: /scratch/kocevski/826368/ltcube_519523201_519782401_4FGL_J0144.6+2705_daily_bin1081.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/826368/Model_4FGL_J0144.6+2705_daily_bin1081.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) = 8426.57507912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.040       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.6326       1.0000         .10000E-03   10000.    
     4 'norm      '    1.0652       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.254       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    39.520       1.0000         .10000E-03   10000.    
    11 'norm      '    1.9986       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.995       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15084E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .33560E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.3940       1.0000         .10000E-03   10000.    
    20 'norm      '    .33920       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    72.664       1.0000         .10000E-03   10000.    
    23 'norm      '    36.564       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .82934       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2272       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8426.537     FROM MIGRAD    STATUS=CONVERGED    576 CALLS     3343 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.042        18.711        .44706E-06   -.30513E-04
   2  Prefactor     .10000E-03    32.124        .17369E-06** at limit **
   3  norm          2.6325        .81599        .54526E-07   -.79719E-04
   4  norm          1.0647        1.2874        .30238E-06    .53040E-03
   5  Prefactor     .10000E-03    28.153       -.39217E-07** at limit **
   6  Prefactor     16.253        6.9332        .94461E-07   -.22767E-04
   7  Prefactor     .10000E-03    4.4611        .83954E-07** at limit **
   8  Prefactor     .10000E-03    13.862        .41857E-07** at limit **
   9  Prefactor     .10000E-03    17.663        .47223E-07** at limit **
  10  Prefactor     39.513        76.059        .47233E-06   -.45471E-05
  11  norm          1.9985        .84554        .12427E-07   -.23766E-04
  12  Prefactor     .10000E-03    8.5588       -.45045E-07** at limit **
  13  Prefactor     .10000E-03    3.7699        .31047E-07** at limit **
  14  Prefactor     .10000E-03    8.0799        .49895E-07** at limit **
  15  norm          10.996        5.8065       -.35575E-06   -.51711E-03
  16  Prefactor     .10017E-03    6597.5       -.10802E-03** at limit **
  17  Prefactor     .10000E-03    4.9256        .91942E-06** at limit **
  18  Prefactor     .10000E-03    2.1750       -.49186E-07** at limit **
  19  Prefactor     9.3976        10.610       -.10837E-06   -.16085E-03
  20  norm          .33847        .54153        .23400E-06    .12827E-02
  21  norm          .10000E-03    31.007        .26884E-07** at limit **
  22  Prefactor     72.679        66.273        .55475E-06    .76864E-05
  23  norm          36.565        5.7994        .44835E-07   -.95464E-04
  24  Normalizat    .82934        .22296       -.72749E-06   -.10244E-03
  25  Prefactor     1.2272        .13333       -.16536E-05    .51319E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.0424
  Prefactor  = 0.0001
  norm       = 2.63251
  norm       = 1.06475
  Prefactor  = 0.0001
  Prefactor  = 16.2529
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.5134
  norm       = 1.9985
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.9959
  Prefactor  = 0.000100167
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.39762
  norm       = 0.338475
  norm       = 0.0001
  Prefactor  = 72.6791
  norm       = 36.5646
  Normalizat = 0.829337
  Prefactor  = 1.22722
 **********
 **   18 **HESSE 
 **********

 FCN=   8426.537     FROM HESSE     STATUS=OK           435 CALLS     3778 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.042        18.558        .11545E-03   -1.5014    
   2  Prefactor     .10000E-03    32.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.6325        .81644        .44408E-04   -1.5383    
   4  norm          1.0647        1.1526        .10883E-02   -1.5502    
   5  Prefactor     .10000E-03    28.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.253        6.9307        .99345E-04   -1.4901    
   7  Prefactor     .10000E-03    4.5140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     39.513        76.032        .63760E-04   -1.4450    
  11  norm          1.9985        .84261        .51624E-04   -1.5425    
  12  Prefactor     .10000E-03    8.8352        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.7762        .17407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.0880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.996        5.9988        .12083E-03   -1.5045    
  16  Prefactor     .10017E-03    6538.3        .36393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.632        .57526E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.1826        .13218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.3976        10.559        .13076E-03   -1.5095    
  20  norm          .33847        .44708        .84054E-03   -1.5592    
  21  norm          .10000E-03    31.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     72.679        66.376        .47097E-04   -1.4001    
  23  norm          36.565        5.7970        .66278E-04   -1.4498    
  24  Normalizat    .82934        .24805        .40162E-03   -.98990    
  25  Prefactor     1.2272        .14670        .20186E-03   -.85498    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.12576e-10
Minuit parameter uncertainties:
  1  18.5671
  2  4.69649e-05
  3  0.816442
  4  1.15264
  5  5.49796e-06
  6  6.93104
  7  1.337e-05
  8  5.10602e-05
  9  2.5413e-05
  10  76.2191
  11  0.84261
  12  4.56934e-05
  13  3.84579e-06
  14  5.74245e-06
  15  5.99915
  16  0.0480588
  17  4.12778e-05
  18  7.12108e-06
  19  10.5606
  20  0.447087
  21  1.18226e-05
  22  66.4433
  23  5.7971
  24  0.248395
  25  0.14675
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.999e+00  8.426e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.033e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  8.399e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  1.227e+00  1.468e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  8.293e-01  2.484e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.13
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 1.01e-07 +/- 4.27e-08
Energy Flux (Fixed Index): 5.34e-05 +/- 2.25e-05

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) = 8426.44972461
delta logL = 0.0869433112621

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8426.44388602
delta logL = 0.0927818999899

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8426.444     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9676        12.779        .73915E-02    .87380E-03
   2  alpha         2.2008        3.5717        .29906        .41543E-04
   3  Normalizat    .81044        .16030        .91592E-01    .41981E-04
   4  Prefactor     1.2323        .66507E-01    .33903E-01   -.48655E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.96756
  alpha      = 2.20076
  Normalizat = 0.810438
  Prefactor  = 1.2323
 **********
 **   18 **HESSE 
 **********

 FCN=   8426.444     FROM HESSE     STATUS=OK            31 CALLS      233 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9676        .81499        .49383E-04   -1.5427    
   2  alpha         2.2008        .39243        .11396E-01   -.11998    
   3  Normalizat    .81044        .24479        .40575E-03   -.99683    
   4  Prefactor     1.2323        .14549        .20146E-03   -.85343    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92346e-10
Minuit parameter uncertainties:
  1  0.814994
  2  0.394087
  3  0.245127
  4  0.145534
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/826368': 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) = 8426.44388419
delta logL = 0.0927837378258

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.968e+00  8.150e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.201e+00  3.941e-01  0.000e+00  5.000e+00 ( 1.000e+00)
245         beta:  8.399e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  1.232e+00  1.455e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  8.104e-01  2.451e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.22
Ra Dec: 26.150 27.090
Photon Index (Free Index): 2.20 +/- 0.39
Photon Flux (Free Index): 1.20e-07 +/- 6.31e-08
Energy Flux (Free Index): 4.91e-05 +/- 2.17e-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/826368/cmap_HighResolution_519523201_519782401_4FGL_J0144.6+2705_daily_bin1081.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.01e-07', energy_flux2='4.91e-05', photon_flux_error='4.27e-08', dlogl='9.28e-02', energy_flux='5.34e-05', photon_flux2='1.20e-07', job_status='DONE', time_completed='2021-08-14 15:50:45.405365', photon_index_error2='0.39', photon_index2='2.20', ts='14.13', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', energy_flux_error2='2.17e-05', EG='0.83', time_epoch_completed='1628981445.41', return_code='0', job_id='826368', GAL2='1.23', EG2='0.81', return_code2='0', energy_flux_error='2.25e-05', photon_flux_error2='6.31e-08', ts2='14.22', photon_index='2.03' WHERE bin_id='1081' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:50:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 826368: <4FGL_J0144.6+2705_daily_bin1081> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1081> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Aug 14 15:35:24 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:35:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 15:35:28 2021
Terminated at Sat Aug 14 15:50:46 2021
Results reported at Sat Aug 14 15:50:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1081 26.1502 27.0899 519523201 519782401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0144.6+2705 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   676.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            922 sec.

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

