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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin656
RA = 216.051, Dec = 4.5628
tmin = 409363201, tmax = 409622401
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='423025', job_status='RUN', time_executed='2021-09-09 13:50:23.066364', time_epoch_executed='1631220623.07' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='656'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/423025

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/423025/ft1_4FGL_J1424.2+0433_daily_bin656.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/423025/ft2_4FGL_J1424.2+0433_daily_bin656.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/423025/ft1_4FGL_J1424.2+0433_daily_bin656.fits outfile=/scratch/kocevski/423025/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin656.fits ra=216.051 dec=4.5628 rad=12.0 tmin=409363201.0 tmax=409622401.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.53
user 5.28
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/423025/ft2_4FGL_J1424.2+0433_daily_bin656.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/423025/ft2_4FGL_J1424.2+0433_daily_bin656.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/423025/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin656.fits evtable="EVENTS" outfile="/scratch/kocevski/423025/ft1_filtered_4FGL_J1424.2+0433_daily_bin656.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/423025/ft1_filtered_4FGL_J1424.2+0433_daily_bin656.fits" evtable="EVENTS" scfile=/scratch/kocevski/423025/ft2_4FGL_J1424.2+0433_daily_bin656.fits sctable="SC_DATA" outfile=/scratch/kocevski/423025/ltcube_409363201_409622401_4FGL_J1424.2+0433_daily_bin656.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/423025/ft2_4FGL_J1424.2+0433_daily_bin656.fits
.....................!
real 12.13
user 11.78
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/423025/ft1_filtered_4FGL_J1424.2+0433_daily_bin656.fits evtable="EVENTS" scfile=/scratch/kocevski/423025/ft2_4FGL_J1424.2+0433_daily_bin656.fits sctable="SC_DATA" expcube=/scratch/kocevski/423025/ltcube_409363201_409622401_4FGL_J1424.2+0433_daily_bin656.fits outfile=/scratch/kocevski/423025/expmap_409363201_409622401_4FGL_J1424.2+0433_daily_bin656.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/423025/ltcube_409363201_409622401_4FGL_J1424.2+0433_daily_bin656.fits
.....................!
real 191.59
user 185.48
sys 5.59

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

Setting source of interest to:
4FGL J1424.2+0433 @ 216.051 4.5628

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/423025/ft1_filtered_4FGL_J1424.2+0433_daily_bin656.fits scfile=/scratch/kocevski/423025/ft2_4FGL_J1424.2+0433_daily_bin656.fits outfile=/scratch/kocevski/423025/cmap_409363201_409622401_4FGL_J1424.2+0433_daily_bin656.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=216.051 yref=4.5628 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/423025/ft1_filtered_4FGL_J1424.2+0433_daily_bin656.fits scfile=/scratch/kocevski/423025/ft2_4FGL_J1424.2+0433_daily_bin656.fits outfile=/scratch/kocevski/423025/cmap_HighResolution_409363201_409622401_4FGL_J1424.2+0433_daily_bin656.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=216.051 yref=4.5628 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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/423025/ft1_filtered_4FGL_J1424.2+0433_daily_bin656.fits evtable="EVENTS" scfile=/scratch/kocevski/423025/ft2_4FGL_J1424.2+0433_daily_bin656.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/423025/Model_4FGL_J1424.2+0433_daily_bin656.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/423025/ft1_filtered_4FGL_J1424.2+0433_daily_bin656.fits.....................!
real 59.22
user 57.84
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/423025/ft1_filtered_4FGL_J1424.2+0433_daily_bin656.fits', '/scratch/kocevski/423025/ft2_4FGL_J1424.2+0433_daily_bin656.fits', expMap='/scratch/kocevski/423025/expmap_409363201_409622401_4FGL_J1424.2+0433_daily_bin656.fits', expCube='/scratch/kocevski/423025/ltcube_409363201_409622401_4FGL_J1424.2+0433_daily_bin656.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/423025/Model_4FGL_J1424.2+0433_daily_bin656.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.2+0433'

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  6.175e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.980e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/423025/ft1_filtered_4FGL_J1424.2+0433_daily_bin656.fits
Spacecraft file(s): /scratch/kocevski/423025/ft2_4FGL_J1424.2+0433_daily_bin656.fits
Exposure map: /scratch/kocevski/423025/expmap_409363201_409622401_4FGL_J1424.2+0433_daily_bin656.fits
Exposure cube: /scratch/kocevski/423025/ltcube_409363201_409622401_4FGL_J1424.2+0433_daily_bin656.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/423025/Model_4FGL_J1424.2+0433_daily_bin656.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) = 8225.86373957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11030E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    36.456       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.898       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.9397       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.1345       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .94211       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.7040       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10758E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.6214       1.0000         .10000E-03   10000.    
    14 'norm      '    .10326E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.9252       1.0000         .10000E-03   10000.    
    17 'norm      '    .57531E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .79202       1.0000         .10000E-03   10000.    
    19 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0884       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0749       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8225.860     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2267 TOTAL
                     EDM=   .69E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.5620        .32472E-06** at limit **
   2  Prefactor     36.455        30.372        .22594E-06   -.21728E-04
   3  Prefactor     .10000E-03    2.3525        .61674E-07** at limit **
   4  Prefactor     17.900        12.554        .31024E-05   -.20779E-04
   5  Prefactor     4.9397        8.3030       -.34094E-07   -.87701E-04
   6  Prefactor     .10000E-03    9.5981        .27649E-06** at limit **
   7  norm          3.1353        8.5845        .19782E-05   -.45888E-05
   8  Prefactor     .10000E-03    10.154       -.36503E-06** at limit **
   9  norm          .98347        1.1825       -.11360E-06   -.43968E-03
  10  Prefactor     .10000E-03    2.7009       -.19605E-06** at limit **
  11  Prefactor     5.7064        11.052        .87579E-05   -.86128E-05
  12  Prefactor     .10001E-03    530.90       -.97099E-05** at limit **
  13  Prefactor     1.6451        44.799       -.69973E-05    .36755E-05
  14  norm          .10000E-03    6.8771        .10733E-07** at limit **
  15  Prefactor     .10000E-03    6.1159       -.49222E-07** at limit **
  16  Prefactor     7.9274        13.235        .50725E-05   -.14824E-04
  17  norm          .57508E-01    .12731        .15090E-07   -.35134E-03
  18  norm          .79180        1.9049        .35490E-06    .26893E-04
  19  norm          .10000E-03    6.2295        .20131E-06** at limit **
  20  Normalizat    1.0884        .19616       -.21530E-05   -.32197E-06
  21  Prefactor     1.0749        .12155        .10070E-07   -.15637E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 36.455
  Prefactor  = 0.0001
  Prefactor  = 17.8999
  Prefactor  = 4.93971
  Prefactor  = 0.0001
  norm       = 3.13534
  Prefactor  = 0.0001
  norm       = 0.983468
  Prefactor  = 0.0001
  Prefactor  = 5.70636
  Prefactor  = 0.000100009
  Prefactor  = 1.64507
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.92738
  norm       = 0.0575085
  norm       = 0.791795
  norm       = 0.0001
  Normalizat = 1.08839
  Prefactor  = 1.07485
 **********
 **   18 **HESSE 
 **********

 FCN=   8225.860     FROM HESSE     STATUS=OK           321 CALLS     2588 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.377        .32822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     36.455        30.375        .66376E-04   -1.4500    
   3  Prefactor     .10000E-03    2.3851        .13584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.900        12.543        .94671E-04   -1.4862    
   5  Prefactor     4.9397        8.3035        .90480E-03   -1.5263    
   6  Prefactor     .10000E-03    9.6026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.1353        8.5830        .22898E-03   -1.5354    
   8  Prefactor     .10000E-03    10.190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .98347        38.071        .25919E-02   -1.5510    
  10  Prefactor     .10000E-03    2.7106        .14556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7064        11.051        .16819E-03   -1.5230    
  12  Prefactor     .10001E-03    550.74        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.6451        44.972        .33235E-03   -1.5451    
  14  norm          .10000E-03    6.8789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.1215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.9274        13.214        .14243E-03   -1.5145    
  17  norm          .57508E-01    .12634        .46011E-04   -1.5660    
  18  norm          .79180        1.9117        .18093E-03   -1.5530    
  19  norm          .10000E-03    6.4281        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0884        .23143        .30310E-03   -.90125    
  21  Prefactor     1.0749        .14594        .19470E-03   -.90274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87639e-09
Minuit parameter uncertainties:
  1  0.000209628
  2  30.3875
  3  2.46199e-06
  4  12.5447
  5  8.30547
  6  1.30294e-05
  7  8.58641
  8  1.08264e-05
  9  12.2457
  10  3.33478e-05
  11  11.0552
  12  0.0045291
  13  17.2164
  14  4.61336e-05
  15  1.36739e-06
  16  13.2184
  17  0.126342
  18  1.91182
  19  7.52005e-06
  20  0.231642
  21  0.145992
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  9.835e-01  1.225e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.980e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.075e+00  1.460e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.088e+00  2.316e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 216.051 4.563
Photon Flux Upper Limit: 4.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.67e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/423025/likelihoodResults_409363201_409622401_4FGL_J1424.2+0433_daily_bin656.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) = 8225.60784635
delta logL = 0.252068104612

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8225.60655728
delta logL = 0.253357171803

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8225.607     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      246 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1381        7.4786        .49538E-02   -.14262E-02
   2  alpha         .91627        .85446        .50000       -.58896E-04
   3  Normalizat    1.0908        .18766        .68426E-01   -.14837E-03
   4  Prefactor     1.0720        .12049        .38770E-01    .56102E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.13812
  alpha      = 0.916274
  Normalizat = 1.09083
  Prefactor  = 1.07198
 **********
 **   18 **HESSE 
 **********

 FCN=   8225.607     FROM HESSE     STATUS=OK            29 CALLS      275 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1381        9.1128        .19815E-03   -1.5301    
   2  alpha         .91627        1.0349        .40300E-02   -.68606    
   3  Normalizat    1.0908        .22455        .30274E-03   -.90047    
   4  Prefactor     1.0720        .14439        .19488E-03   -.90367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.19297e-09
Minuit parameter uncertainties:
  1  9.11582
  2  1.09193
  3  0.22475
  4  0.144441
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/423025': 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) = 8225.6065569
delta logL = 0.253357549565

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  4.138e+00  9.116e+00  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  9.163e-01  1.092e+00  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.072e+00  1.444e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.091e+00  2.248e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 216.051 4.563

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/423025/cmap_HighResolution_409363201_409622401_4FGL_J1424.2+0433_daily_bin656.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.67e-05', job_status='DONE', photon_flux_upper_limit='4.05e-08', time_completed='2021-09-09 14:01:11.435008', job_id='423025', GAL2='1.07', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1631221271.44', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.53e-01', ts2='0.51', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='656' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:01:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 423025: <4FGL_J1424.2+0433_daily_bin656> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin656> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 13:46:19 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:46:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 13:46:21 2021
Terminated at Thu Sep  9 14:01:12 2021
Results reported at Thu Sep  9 14:01:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin656 216.051 4.5628 409363201 409622401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.2+0433 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   645.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             222.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            893 sec.

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

