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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1005
RA = 26.1502, Dec = 27.0899
tmin = 499824001, tmax = 500083201
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='823862', job_status='RUN', time_executed='2021-08-14 15:30:28.801368', time_epoch_executed='1628980228.8' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1005'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/823862

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/823862/ft1_4FGL_J0144.6+2705_daily_bin1005.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/823862/ft2_4FGL_J0144.6+2705_daily_bin1005.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/823862/ft1_4FGL_J0144.6+2705_daily_bin1005.fits outfile=/scratch/kocevski/823862/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1005.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=499824001.0 tmax=500083201.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 8.72
user 4.93
sys 3.71

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/823862/ft2_4FGL_J0144.6+2705_daily_bin1005.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/823862/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1005.fits evtable="EVENTS" outfile="/scratch/kocevski/823862/ft1_filtered_4FGL_J0144.6+2705_daily_bin1005.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 4.06
user 0.34
sys 3.68

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/823862/ft1_filtered_4FGL_J0144.6+2705_daily_bin1005.fits" evtable="EVENTS" scfile=/scratch/kocevski/823862/ft2_4FGL_J0144.6+2705_daily_bin1005.fits sctable="SC_DATA" outfile=/scratch/kocevski/823862/ltcube_499824001_500083201_4FGL_J0144.6+2705_daily_bin1005.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/823862/ft2_4FGL_J0144.6+2705_daily_bin1005.fits
.....................!
real 16.73
user 12.41
sys 4.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/823862/ft1_filtered_4FGL_J0144.6+2705_daily_bin1005.fits evtable="EVENTS" scfile=/scratch/kocevski/823862/ft2_4FGL_J0144.6+2705_daily_bin1005.fits sctable="SC_DATA" expcube=/scratch/kocevski/823862/ltcube_499824001_500083201_4FGL_J0144.6+2705_daily_bin1005.fits outfile=/scratch/kocevski/823862/expmap_499824001_500083201_4FGL_J0144.6+2705_daily_bin1005.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/823862/ltcube_499824001_500083201_4FGL_J0144.6+2705_daily_bin1005.fits
.....................!
real 197.96
user 188.36
sys 9.17

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/823862/ft1_filtered_4FGL_J0144.6+2705_daily_bin1005.fits scfile=/scratch/kocevski/823862/ft2_4FGL_J0144.6+2705_daily_bin1005.fits outfile=/scratch/kocevski/823862/cmap_499824001_500083201_4FGL_J0144.6+2705_daily_bin1005.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 4.01
user 0.40
sys 3.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/823862/ft1_filtered_4FGL_J0144.6+2705_daily_bin1005.fits scfile=/scratch/kocevski/823862/ft2_4FGL_J0144.6+2705_daily_bin1005.fits outfile=/scratch/kocevski/823862/cmap_HighResolution_499824001_500083201_4FGL_J0144.6+2705_daily_bin1005.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 4.02
user 0.41
sys 3.59

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10019E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .97709       1.0000         .10000E-03   10000.    
     4 'norm      '    .44025       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.0083       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.7229       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    92.796       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.9838       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.433       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.4928       1.0000         .10000E-03   10000.    
    15 'norm      '    3.8646       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10513E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10292E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.4420       1.0000         .10000E-03   10000.    
    20 'norm      '    1.9395       1.0000         .10000E-03   10000.    
    21 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    53.433       1.0000         .10000E-03   10000.    
    23 'norm      '    1.8280       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0602       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .99093       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=   5703.293     FROM MIGRAD    STATUS=CONVERGED    577 CALLS     2882 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.7388        .57503E-07** at limit **
   2  Prefactor     .10000E-03    36.954       -.12037E-04** at limit **
   3  norm          .97715        .78253       -.31750E-07    .14517E-03
   4  norm          .44083        1.1848       -.80592E-06   -.17765E-02
   5  Prefactor     5.0077        24.394       -.11115E-05   -.10599E-04
   6  Prefactor     4.7228        4.5632       -.17978E-05    .19307E-03
   7  Prefactor     .10000E-03    7.8408        .12202E-05** at limit **
   8  Prefactor     .10000E-03    7.6112       -.90174E-06** at limit **
   9  Prefactor     92.790        50.266       -.45511E-05    .47475E-05
  10  Prefactor     .10000E-03    72.694        .28511E-04** at limit **
  11  norm          3.9836        1.0811       -.71748E-07   -.31725E-03
  12  Prefactor     .10000E-03    4.9717       -.17873E-07** at limit **
  13  Prefactor     21.432        15.928       -.52923E-06   -.21328E-04
  14  Prefactor     7.4942        16.620       -.10505E-05   -.68200E-04
  15  norm          3.8664        4.6140       -.28366E-07   -.56671E-03
  16  Prefactor     .10000E-03    68.095        .49181E-04** at limit **
  17  Prefactor     .10002E-03    5.6034        .85000E-06** at limit **
  18  Prefactor     .10000E-03    11.750       -.20298E-05** at limit **
  19  Prefactor     8.4430        10.252       -.42067E-06   -.15454E-03
  20  norm          1.9395        .86438       -.65667E-07   -.20634E-03
  21  norm          .10000E-03    91.729       -.84377E-04** at limit **
  22  Prefactor     53.398        63.297       -.37838E-04    .26575E-04
  23  norm          1.8279        1.8084       -.58563E-07   -.10868E-03
  24  Normalizat    1.0602        .22965        .15122E-05    .38439E-04
  25  Prefactor     .99095        .13464        .24030E-05   -.85906E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.977149
  norm       = 0.440828
  Prefactor  = 5.00768
  Prefactor  = 4.72276
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 92.7903
  Prefactor  = 0.0001
  norm       = 3.98358
  Prefactor  = 0.0001
  Prefactor  = 21.4322
  Prefactor  = 7.4942
  norm       = 3.86642
  Prefactor  = 0.0001
  Prefactor  = 0.000100017
  Prefactor  = 0.000100001
  Prefactor  = 8.44297
  norm       = 1.93946
  norm       = 0.0001
  Prefactor  = 53.3982
  norm       = 1.82786
  Normalizat = 1.06024
  Prefactor  = 0.990945
 **********
 **   18 **HESSE 
 **********

 FCN=   5703.293     FROM HESSE     STATUS=OK           425 CALLS     3307 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.7412        .16056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    37.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .97715        .76769        .57163E-04   -1.5510    
   4  norm          .44083        1.1621        .12958E-03   -1.5575    
   5  Prefactor     5.0077        24.294        .17969E-03   -1.5260    
   6  Prefactor     4.7228        4.5565        .15102E-03   -1.5273    
   7  Prefactor     .10000E-03    7.9861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.6456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     92.790        50.275        .41718E-04   -1.3778    
  10  Prefactor     .10000E-03    72.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.9836        1.0819        .39302E-04   -1.5309    
  12  Prefactor     .10000E-03    4.9873        .16443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.432        15.948        .86517E-04   -1.4782    
  14  Prefactor     7.4942        16.501        .14651E-03   -1.5160    
  15  norm          3.8664        4.4399        .16371E-03   -1.5315    
  16  Prefactor     .10000E-03    68.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10002E-03    14.134        .32577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.099        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.4430        10.178        .13797E-03   -1.5127    
  20  norm          1.9395        .85993        .44382E-04   -1.5429    
  21  norm          .10000E-03    91.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     53.398        63.347        .54871E-04   -1.4245    
  23  norm          1.8279        1.8011        .98012E-04   -1.5438    
  24  Normalizat    1.0602        .26333        .31852E-03   -.91039    
  25  Prefactor     .99095        .15599        .19689E-03   -.93032    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53874e-09
Minuit parameter uncertainties:
  1  1.2381e-06
  2  4.59109e-05
  3  0.767697
  4  1.16213
  5  22.0738
  6  4.55686
  7  2.38609e-05
  8  1.18224e-05
  9  50.2977
  10  3.6012e-05
  11  1.0819
  12  4.0692e-06
  13  15.9514
  14  16.5114
  15  4.44023
  16  7.4101e-07
  17  0.000984347
  18  0.000232243
  19  10.1802
  20  0.859932
  21  0.000120205
  22  63.4267
  23  1.8012
  24  0.263658
  25  0.156058
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  3.984e+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.909e-01  1.561e-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.060e+00  2.637e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 44.33
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 2.02e-07 +/- 5.49e-08
Energy Flux (Fixed Index): 1.06e-04 +/- 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) = 5703.23386764
delta logL = 0.0594369227128

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5703.23051851
delta logL = 0.0627860526283

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0503       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9395       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0760       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98640       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=   5703.231     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      201 TOTAL
                     EDM=   .58E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0503        1.5250        .50088E-02   -.80964E-06
   2  alpha         1.9395        .34074        .17432        .17185E-04
   3  Normalizat    1.0760        .22445        .71556E-01    .13522E-04
   4  Prefactor     .98639        .13317        .46097E-01    .32974E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.05035
  alpha      = 1.93953
  Normalizat = 1.07603
  Prefactor  = 0.986386
 **********
 **   18 **HESSE 
 **********

 FCN=   5703.231     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .89E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0503        1.1256        .40440E-04   -1.5305    
   2  alpha         1.9395        .26321        .73549E-02   -.22611    
   3  Normalizat    1.0760        .25893        .31663E-03   -.90525    
   4  Prefactor     .98639        .15398        .19735E-03   -.93185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.87432e-14
Minuit parameter uncertainties:
  1  1.12562
  2  0.263727
  3  0.259237
  4  0.154047
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/823862': 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) = 5703.23051851
delta logL = 0.0627860568939

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  4.050e+00  1.126e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.940e+00  2.637e-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.864e-01  1.540e-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.076e+00  2.592e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 44.29
Ra Dec: 26.150 27.090
Photon Index (Free Index): 1.94 +/- 0.26
Photon Flux (Free Index): 1.87e-07 +/- 6.60e-08
Energy Flux (Free Index): 1.16e-04 +/- 4.45e-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/823862/cmap_HighResolution_499824001_500083201_4FGL_J0144.6+2705_daily_bin1005.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.02e-07', energy_flux2='1.16e-04', photon_flux_error='5.49e-08', dlogl='6.28e-02', energy_flux='1.06e-04', photon_flux2='1.87e-07', job_status='DONE', time_completed='2021-08-14 15:41:44.298919', photon_index_error2='0.26', photon_index2='1.94', ts='44.33', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='4.45e-05', EG='1.06', time_epoch_completed='1628980904.3', return_code='0', job_id='823862', GAL2='0.99', EG2='1.08', return_code2='0', energy_flux_error='2.89e-05', photon_flux_error2='6.60e-08', ts2='44.29', photon_index='2.03' WHERE bin_id='1005' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:41:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0142>
Subject: Job 823862: <4FGL_J0144.6+2705_daily_bin1005> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1005> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 14 15:25:35 2021
Job was executed on host(s) <bullet0142>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:27:32 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:27:32 2021
Terminated at Sat Aug 14 15:41:45 2021
Results reported at Sat Aug 14 15:41:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1005 26.1502 27.0899 499824001 500083201 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 :                                   729.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            970 sec.

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

