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


Performing analysis on: 4FGL_J1419.5+3821_daily_bin1601
RA = 214.894, Dec = 38.3657
tmin = 654307201, tmax = 654566401
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='544120', job_status='RUN', time_executed='2021-09-29 00:22:53.317069', time_epoch_executed='1632900173.32' WHERE source_name='4FGL J1419.5+3821' and cadence='daily' and bin_id='1601'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/544120

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/544120/ft1_4FGL_J1419.5+3821_daily_bin1601.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/544120/ft2_4FGL_J1419.5+3821_daily_bin1601.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/544120/ft1_4FGL_J1419.5+3821_daily_bin1601.fits outfile=/scratch/kocevski/544120/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1601.fits ra=214.894 dec=38.3657 rad=12.0 tmin=654307201.0 tmax=654566401.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 4.70
user 3.95
sys 0.31

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/544120/ft2_4FGL_J1419.5+3821_daily_bin1601.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/544120/ft2_4FGL_J1419.5+3821_daily_bin1601.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/544120/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1601.fits evtable="EVENTS" outfile="/scratch/kocevski/544120/ft1_filtered_4FGL_J1419.5+3821_daily_bin1601.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/544120/ft1_filtered_4FGL_J1419.5+3821_daily_bin1601.fits" evtable="EVENTS" scfile=/scratch/kocevski/544120/ft2_4FGL_J1419.5+3821_daily_bin1601.fits sctable="SC_DATA" outfile=/scratch/kocevski/544120/ltcube_654307201_654566401_4FGL_J1419.5+3821_daily_bin1601.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/544120/ft2_4FGL_J1419.5+3821_daily_bin1601.fits
.....................!
real 12.01
user 11.61
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/544120/ft1_filtered_4FGL_J1419.5+3821_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/544120/ft2_4FGL_J1419.5+3821_daily_bin1601.fits sctable="SC_DATA" expcube=/scratch/kocevski/544120/ltcube_654307201_654566401_4FGL_J1419.5+3821_daily_bin1601.fits outfile=/scratch/kocevski/544120/expmap_654307201_654566401_4FGL_J1419.5+3821_daily_bin1601.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/544120/ltcube_654307201_654566401_4FGL_J1419.5+3821_daily_bin1601.fits
.....................!
real 191.73
user 186.05
sys 5.32

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

Setting source of interest to:
4FGL J1419.5+3821 @ 214.894 38.3657

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/544120/ft1_filtered_4FGL_J1419.5+3821_daily_bin1601.fits scfile=/scratch/kocevski/544120/ft2_4FGL_J1419.5+3821_daily_bin1601.fits outfile=/scratch/kocevski/544120/cmap_654307201_654566401_4FGL_J1419.5+3821_daily_bin1601.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=214.894 yref=38.3657 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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/544120/ft1_filtered_4FGL_J1419.5+3821_daily_bin1601.fits scfile=/scratch/kocevski/544120/ft2_4FGL_J1419.5+3821_daily_bin1601.fits outfile=/scratch/kocevski/544120/cmap_HighResolution_654307201_654566401_4FGL_J1419.5+3821_daily_bin1601.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=214.894 yref=38.3657 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/544120/ft1_filtered_4FGL_J1419.5+3821_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/544120/ft2_4FGL_J1419.5+3821_daily_bin1601.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/544120/Model_4FGL_J1419.5+3821_daily_bin1601.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/544120/ft1_filtered_4FGL_J1419.5+3821_daily_bin1601.fits.....................!
real 44.77
user 43.49
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/544120/ft1_filtered_4FGL_J1419.5+3821_daily_bin1601.fits', '/scratch/kocevski/544120/ft2_4FGL_J1419.5+3821_daily_bin1601.fits', expMap='/scratch/kocevski/544120/expmap_654307201_654566401_4FGL_J1419.5+3821_daily_bin1601.fits', expCube='/scratch/kocevski/544120/ltcube_654307201_654566401_4FGL_J1419.5+3821_daily_bin1601.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/544120/Model_4FGL_J1419.5+3821_daily_bin1601.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1419.5+3821'

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  4.993e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  2.472e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/544120/ft1_filtered_4FGL_J1419.5+3821_daily_bin1601.fits
Spacecraft file(s): /scratch/kocevski/544120/ft2_4FGL_J1419.5+3821_daily_bin1601.fits
Exposure map: /scratch/kocevski/544120/expmap_654307201_654566401_4FGL_J1419.5+3821_daily_bin1601.fits
Exposure cube: /scratch/kocevski/544120/ltcube_654307201_654566401_4FGL_J1419.5+3821_daily_bin1601.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/544120/Model_4FGL_J1419.5+3821_daily_bin1601.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) = 5537.67050939

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42274       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12175E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .87199       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    12.662       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10440E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.4633       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .51616E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.8197       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .25781       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.865       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.6465       1.0000         .10000E-03   10000.    
    14 'norm      '    .11114E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.4941       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.258       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.363       1.0000         .10000E-03   10000.    
    19 'norm      '    3.7568       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.0849       1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.727       1.0000         .10000E-03   10000.    
    22 'norm      '    1.4260       1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.5286       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0149       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97795       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5537.642     FROM MIGRAD    STATUS=CONVERGED   1110 CALLS     3618 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35224        38.020        .15475        .76623E-04
   2  Prefactor     .10000E-03    117.29        .18142E-02** at limit **
   3  norm          .87267        1.6247        .12073E-03    .10009E-03
   4  Prefactor     .10000E-03    2.9984        .12449E-02** at limit **
   5  norm          12.663        17.168        .11257E-03    .13533E-04
   6  Prefactor     .10000E-03    10.356        .18142E-02** at limit **
   7  Prefactor     .10000E-03    50.121        .18142E-02** at limit **
   8  Prefactor     5.4622        4.8107        .73942E-03    .18947E-03
   9  Prefactor     .10000E-03    83.844        .52312E-02** at limit **
  10  norm          4.8208        5.2166        .16293E-03    .89804E-04
  11  Prefactor     .24342        63.477        .76427E-01    .39675E-03
  12  Prefactor     23.856        33.882        .81996E-04    .20354E-03
  13  Prefactor     4.6461        3.8027        .12540E-03   -.23662E-04
  14  norm          .10000E-03    17.996        .18142E-02** at limit **
  15  Prefactor     6.4958        25.591        .15749E-03    .36672E-04
  16  norm          .10000E-03    2.0037        .10274E-02** at limit **
  17  Prefactor     15.264        24.109        .10254E-03    .72069E-05
  18  Prefactor     11.440        43.683        .11884E-03   -.23915E-05
  19  norm          3.7575        7.9290        .20830E-03   -.20685E-04
  20  Prefactor     8.0803        16.053        .14101E-03   -.31767E-04
  21  Prefactor     15.726        9.4585        .10100E-03   -.82173E-05
  22  norm          1.4260        1.4708        .86077E-04   -.71849E-04
  23  Prefactor     7.5321        10.933        .14616E-03    .25668E-05
  24  Prefactor     .10000E-03    41.680        .18142E-02** at limit **
  25  Normalizat    1.0150        .21618        .23224E-03    .24524E-03
  26  Prefactor     .97770        .23389        .27093E-03    .18384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.35224
  Prefactor  = 0.0001
  norm       = 0.872669
  Prefactor  = 0.0001
  norm       = 12.663
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.46222
  Prefactor  = 0.000100002
  norm       = 4.8208
  Prefactor  = 0.243421
  Prefactor  = 23.8563
  Prefactor  = 4.64608
  norm       = 0.0001
  Prefactor  = 6.4958
  norm       = 0.0001
  Prefactor  = 15.2642
  Prefactor  = 11.4405
  norm       = 3.75746
  Prefactor  = 8.08027
  Prefactor  = 15.7255
  norm       = 1.42605
  Prefactor  = 7.53209
  Prefactor  = 0.0001
  Normalizat = 1.01503
  Prefactor  = 0.977696
 **********
 **   18 **HESSE 
 **********

 FCN=   5537.642     FROM HESSE     STATUS=OK           450 CALLS     4068 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35224        37.749        .15579       -1.5589    
   2  Prefactor     .10000E-03    117.32        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .87267        1.6244        .48294E-05   -1.5521    
   4  Prefactor     .10000E-03    2.9995        .24898E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          12.663        17.169        .45029E-05   -1.4996    
   6  Prefactor     .10000E-03    10.356        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    50.126        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.4622        4.8092        .29577E-04   -1.5240    
   9  Prefactor     .10000E-03    85.293        .10462E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.8208        5.1985        .65171E-05   -1.5269    
  11  Prefactor     .24342        48.155        .84608E-01   -1.5609    
  12  Prefactor     23.856        32.013        .32799E-05   -1.4731    
  13  Prefactor     4.6461        3.8026        .50159E-05   -1.5277    
  14  norm          .10000E-03    17.999        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.4958        25.585        .62995E-05   -1.5198    
  16  norm          .10000E-03    2.0038        .20548E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     15.264        24.112        .41014E-05   -1.4926    
  18  Prefactor     11.440        43.697        .47537E-05   -1.5031    
  19  norm          3.7575        7.9287        .83320E-05   -1.5320    
  20  Prefactor     8.0803        16.051        .56402E-05   -1.5139    
  21  Prefactor     15.726        9.4576        .40399E-05   -1.4915    
  22  norm          1.4260        1.4706        .34431E-05   -1.5469    
  23  Prefactor     7.5321        10.933        .58465E-05   -1.5159    
  24  Prefactor     .10000E-03    41.681        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0150        .21630        .46447E-04   -.92529    
  26  Prefactor     .97770        .23406        .10837E-04   -.93477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80976e-09
Minuit parameter uncertainties:
  1  7.29666
  2  0.000273333
  3  1.62444
  4  5.64583e-06
  5  17.1754
  6  7.72759e-06
  7  0.000184992
  8  4.80952
  9  0.000910604
  10  5.19894
  11  6.85167
  12  32.0365
  13  3.80277
  14  4.52714e-05
  15  25.6287
  16  4.5424e-06
  17  24.1274
  18  43.8194
  19  7.93087
  20  16.0599
  21  9.45848
  22  1.47067
  23  10.9362
  24  2.05887e-05
  25  0.216489
  26  0.234299
Done.

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

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  2.434e-01  6.852e+00  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  2.472e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  9.777e-01  2.343e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  1.015e+00  2.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 214.894 38.366
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/544120/likelihoodResults_654307201_654566401_4FGL_J1419.5+3821_daily_bin1601.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): 102
logL (Free Index) = 5537.63896465
delta logL = 0.00264615213746

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5537.63439296
delta logL = 0.00721784021789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2570       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8586       1.0000          .0000       10.000    
     3 'Normalizat'    1.0103       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97972       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5537.634     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      282 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2556        28.211        .39820E-03   -.31973E-03
   2  Index         2.8579        2.5465        .57790E-02   -.64431E-04
   3  Normalizat    1.0104        .20471        .23268E-03   -.10044E-02
   4  Prefactor     .97968        .23150        .27064E-03   -.63246E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.25565
  Index      = 2.85792
  Normalizat = 1.01037
  Prefactor  = 0.979685
 **********
 **   18 **HESSE 
 **********

 FCN=   5537.634     FROM HESSE     STATUS=OK            23 CALLS      305 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2556        25.810        .15928E-04   -1.5484    
   2  Index         2.8579        2.4493        .23116E-03   -.44274    
   3  Normalizat    1.0104        .20494        .46535E-04   -.92684    
   4  Prefactor     .97968        .23172        .54128E-04   -.93410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04781e-09
Minuit parameter uncertainties:
  1  11.3908
  2  2.58865
  3  0.205095
  4  0.231952
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/544120': 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) = 5537.63439289
delta logL = 0.00721791195065

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.256e+00  1.139e+01  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  2.858e+00  2.589e+00  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  1.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  9.797e-01  2.320e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  1.010e+00  2.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 214.894 38.366

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/544120/cmap_HighResolution_654307201_654566401_4FGL_J1419.5+3821_daily_bin1601.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.88e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-29 00:34:41.787738', job_id='544120', GAL2='0.98', fit_tolerance='1e-08', EG2='1.01', EG='1.02', time_epoch_completed='1632900881.79', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='7.22e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1601' AND source_name='4FGL J1419.5+3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 00:34:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 544120: <4FGL_J1419.5+3821_daily_bin1601> in cluster <slac> Done

Job <4FGL_J1419.5+3821_daily_bin1601> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep 29 00:20:15 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 00:20:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 00:20:17 2021
Terminated at Wed Sep 29 00:34:42 2021
Results reported at Wed Sep 29 00:34:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.5+3821_daily_bin1601 214.894 38.3657 654307201 654566401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1419.5+3821 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   710.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            867 sec.

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

