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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1400
RA = 26.1502, Dec = 27.0899
tmin = 602208001, tmax = 602467201
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='826494', job_status='RUN', time_executed='2021-08-14 15:40:24.232376', time_epoch_executed='1628980824.23' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1400'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/826494

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/826494/ft1_4FGL_J0144.6+2705_daily_bin1400.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/826494/ft2_4FGL_J0144.6+2705_daily_bin1400.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/826494/ft1_4FGL_J0144.6+2705_daily_bin1400.fits outfile=/scratch/kocevski/826494/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1400.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=602208001.0 tmax=602467201.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 5.74
user 3.96
sys 1.44

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/826494/ft2_4FGL_J0144.6+2705_daily_bin1400.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/826494/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1400.fits evtable="EVENTS" outfile="/scratch/kocevski/826494/ft1_filtered_4FGL_J0144.6+2705_daily_bin1400.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.57
user 0.30
sys 1.26

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/826494/ft1_filtered_4FGL_J0144.6+2705_daily_bin1400.fits" evtable="EVENTS" scfile=/scratch/kocevski/826494/ft2_4FGL_J0144.6+2705_daily_bin1400.fits sctable="SC_DATA" outfile=/scratch/kocevski/826494/ltcube_602208001_602467201_4FGL_J0144.6+2705_daily_bin1400.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/826494/ft2_4FGL_J0144.6+2705_daily_bin1400.fits
.....................!
real 11.47
user 9.78
sys 1.65

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/826494/ft1_filtered_4FGL_J0144.6+2705_daily_bin1400.fits evtable="EVENTS" scfile=/scratch/kocevski/826494/ft2_4FGL_J0144.6+2705_daily_bin1400.fits sctable="SC_DATA" expcube=/scratch/kocevski/826494/ltcube_602208001_602467201_4FGL_J0144.6+2705_daily_bin1400.fits outfile=/scratch/kocevski/826494/expmap_602208001_602467201_4FGL_J0144.6+2705_daily_bin1400.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/826494/ltcube_602208001_602467201_4FGL_J0144.6+2705_daily_bin1400.fits
.....................!
real 153.56
user 148.15
sys 5.07

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/826494/ft1_filtered_4FGL_J0144.6+2705_daily_bin1400.fits scfile=/scratch/kocevski/826494/ft2_4FGL_J0144.6+2705_daily_bin1400.fits outfile=/scratch/kocevski/826494/cmap_602208001_602467201_4FGL_J0144.6+2705_daily_bin1400.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.65
user 0.34
sys 1.30

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/826494/ft1_filtered_4FGL_J0144.6+2705_daily_bin1400.fits scfile=/scratch/kocevski/826494/ft2_4FGL_J0144.6+2705_daily_bin1400.fits outfile=/scratch/kocevski/826494/cmap_HighResolution_602208001_602467201_4FGL_J0144.6+2705_daily_bin1400.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.56
user 0.33
sys 1.22

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/826494/ft1_filtered_4FGL_J0144.6+2705_daily_bin1400.fits', '/scratch/kocevski/826494/ft2_4FGL_J0144.6+2705_daily_bin1400.fits', expMap='/scratch/kocevski/826494/expmap_602208001_602467201_4FGL_J0144.6+2705_daily_bin1400.fits', expCube='/scratch/kocevski/826494/ltcube_602208001_602467201_4FGL_J0144.6+2705_daily_bin1400.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/826494/Model_4FGL_J0144.6+2705_daily_bin1400.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/826494/ft1_filtered_4FGL_J0144.6+2705_daily_bin1400.fits
Spacecraft file(s): /scratch/kocevski/826494/ft2_4FGL_J0144.6+2705_daily_bin1400.fits
Exposure map: /scratch/kocevski/826494/expmap_602208001_602467201_4FGL_J0144.6+2705_daily_bin1400.fits
Exposure cube: /scratch/kocevski/826494/ltcube_602208001_602467201_4FGL_J0144.6+2705_daily_bin1400.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/826494/Model_4FGL_J0144.6+2705_daily_bin1400.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) = 6516.51399893

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.1954       1.0000         .10000E-03   10000.    
     3 'norm      '    .26353       1.0000         .10000E-03   10000.    
     4 'norm      '    .10972E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10267E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.9030       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.3495       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.9403       1.0000         .10000E-03   10000.    
     9 'Prefactor '    66.518       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.5424       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.7793       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.8687       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .49008E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.5210       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14858       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .49959E-01   1.0000         .10000E-03   10000.    
    20 'norm      '    .97539       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.640       1.0000         .10000E-03   10000.    
    23 'norm      '    2.2680       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1704       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93882       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=   6516.502     FROM MIGRAD    STATUS=CONVERGED    614 CALLS     3000 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.231       -.42396E-06** at limit **
   2  Prefactor     1.1923        126.52        .19014E-05    .23649E-04
   3  norm          .26357        .44914        .69427E-06    .23074E-02
   4  norm          .10000E-03    1.1625       -.58071E-06** at limit **
   5  Prefactor     .10000E-03    48.931        .36928E-07** at limit **
   6  Prefactor     6.9010        6.7683       -.23406E-07   -.13059E-03
   7  Prefactor     7.3450        9.2067       -.23624E-06    .26213E-03
   8  Prefactor     2.9340        17.675       -.11925E-05   -.45970E-04
   9  Prefactor     66.512        45.297        .46301E-07   -.20206E-04
  10  Prefactor     .10000E-03    115.35        .10329E-06** at limit **
  11  norm          3.5420        1.0822       -.19630E-08   -.17774E-03
  12  Prefactor     8.7753        15.895       -.25161E-06   -.81489E-04
  13  Prefactor     2.8605        24.443       -.39406E-06   -.62029E-05
  14  Prefactor     .10000E-03    65.609       -.98653E-06** at limit **
  15  norm          .10000E-03    1.7059       -.16077E-07** at limit **
  16  Prefactor     .10000E-03    452.05       -.83830E-06** at limit **
  17  Prefactor     5.5188        10.150        .70960E-07   -.11906E-03
  18  Prefactor     .36576E-01    6.2177        .94435E-06   -.22694E-03
  19  Prefactor     .12174E-03    9.0410        .13013E-05** at limit **
  20  norm          .97557        .78021        .25755E-08   -.61678E-03
  21  norm          .10000E-03    99.019        .12884E-05** at limit **
  22  Prefactor     14.013        135.07       -.13563E-04    .42936E-05
  23  norm          2.2679        2.2516        .51500E-07   -.83454E-04
  24  Normalizat    1.1710        .25179        .26665E-05   -.24888E-03
  25  Prefactor     .93868        .13491       -.10412E-05   -.23106E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.19231
  norm       = 0.26357
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.90105
  Prefactor  = 7.34501
  Prefactor  = 2.93396
  Prefactor  = 66.5121
  Prefactor  = 0.0001
  norm       = 3.54196
  Prefactor  = 8.77535
  Prefactor  = 2.86048
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.5188
  Prefactor  = 0.036576
  Prefactor  = 0.00012174
  norm       = 0.975565
  norm       = 0.0001
  Prefactor  = 14.0127
  norm       = 2.26791
  Normalizat = 1.17099
  Prefactor  = 0.938675
 **********
 **   18 **HESSE 
 **********

 FCN=   6516.502     FROM HESSE     STATUS=OK           451 CALLS     3451 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.1923        129.67        .20795E-02   -1.5490    
   3  norm          .26357        .43876        .77325E-03   -1.5605    
   4  norm          .10000E-03    2.1038        .15905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    48.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9010        6.7207        .15270E-03   -1.5183    
   7  Prefactor     7.3450        9.0757        .14795E-03   -1.5166    
   8  Prefactor     2.9340        17.581        .23687E-03   -1.5365    
   9  Prefactor     66.512        45.262        .49210E-04   -1.4075    
  10  Prefactor     .10000E-03    115.46        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.5420        1.0816        .44353E-04   -1.5332    
  12  Prefactor     8.7753        15.886        .13528E-03   -1.5115    
  13  Prefactor     2.8605        24.323        .24000E-03   -1.5370    
  14  Prefactor     .10000E-03    66.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.7104        .10287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    452.77        .19230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.5188        10.123        .17099E-03   -1.5238    
  18  Prefactor     .36576E-01    16.164        .54522E-01   -1.5670    
  19  Prefactor     .12174E-03    14.786        .65456E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .97557        .75632        .60254E-04   -1.5510    
  21  norm          .10000E-03    99.144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     14.013        132.65        .10845E-03   -1.4959    
  23  norm          2.2679        2.2428        .11698E-03   -1.5407    
  24  Normalizat    1.1710        .28739        .32411E-03   -.87504    
  25  Prefactor     .93868        .15608        .20160E-03   -.94802    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35917e-09
Minuit parameter uncertainties:
  1  1.2682e-05
  2  24.9223
  3  0.438761
  4  5.97497e-05
  5  0.000107263
  6  6.72146
  7  9.07735
  8  14.37
  9  45.2854
  10  0.000122795
  11  1.08157
  12  15.8936
  13  16.6913
  14  6.11128e-06
  15  2.87354e-06
  16  0.000258587
  17  10.1264
  18  1.53614
  19  0.0358674
  20  0.756325
  21  0.000291233
  22  86.4792
  23  2.2429
  24  0.287776
  25  0.156153
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  3.542e+00  1.082e+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

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  9.387e-01  1.562e-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:  1.171e+00  2.878e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 40.37
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 1.80e-07 +/- 5.48e-08
Energy Flux (Fixed Index): 9.46e-05 +/- 2.89e-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) = 6516.11368648
delta logL = 0.388759330866

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6516.11114646
delta logL = 0.391299357249

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4718       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7927       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93131       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=   6516.111     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      208 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4717        1.1286        .54257E-02    .39377E-04
   2  alpha         1.7927        .25659        .19298       -.14308E-04
   3  Normalizat    1.2027        .22615        .72474E-01    .12305E-04
   4  Prefactor     .93132        .12759        .45403E-01    .57902E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.47174
  alpha      = 1.79273
  Normalizat = 1.20271
  Prefactor  = 0.931316
 **********
 **   18 **HESSE 
 **********

 FCN=   6516.111     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4717        1.1414        .46136E-04   -1.5335    
   2  alpha         1.7927        .27062        .81637E-02   -.28682    
   3  Normalizat    1.2027        .26759        .32071E-03   -.86519    
   4  Prefactor     .93132        .15117        .20247E-03   -.95055    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.21812e-11
Minuit parameter uncertainties:
  1  1.14138
  2  0.271199
  3  0.267894
  4  0.151239
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/826494': 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) = 6516.11114645
delta logL = 0.391299361385

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  3.472e+00  1.141e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.793e+00  2.712e-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:  9.313e-01  1.512e-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:  1.203e+00  2.679e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 41.17
Ra Dec: 26.150 27.090
Photon Index (Free Index): 1.79 +/- 0.27
Photon Flux (Free Index): 1.41e-07 +/- 6.15e-08
Energy Flux (Free Index): 1.17e-04 +/- 4.96e-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/826494/cmap_HighResolution_602208001_602467201_4FGL_J0144.6+2705_daily_bin1400.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.80e-07', energy_flux2='1.17e-04', photon_flux_error='5.48e-08', dlogl='3.91e-01', energy_flux='9.46e-05', photon_flux2='1.41e-07', job_status='DONE', time_completed='2021-08-14 15:49:38.334476', photon_index_error2='0.27', photon_index2='1.79', ts='40.37', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='4.96e-05', EG='1.17', time_epoch_completed='1628981378.33', return_code='0', job_id='826494', GAL2='0.93', EG2='1.20', return_code2='0', energy_flux_error='2.89e-05', photon_flux_error2='6.15e-08', ts2='41.17', photon_index='2.03' WHERE bin_id='1400' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:49:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0135>
Subject: Job 826494: <4FGL_J0144.6+2705_daily_bin1400> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1400> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Aug 14 15:35:33 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:36:42 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:36:42 2021
Terminated at Sat Aug 14 15:49:39 2021
Results reported at Sat Aug 14 15:49:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1400 26.1502 27.0899 602208001 602467201 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 :                                   567.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            846 sec.

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

