/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 116 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 = 7403
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1442.2+0622_daily_bin436
RA = 220.561, Dec = 6.3755
tmin = 352339201, tmax = 352598401
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='712510', job_status='RUN', time_executed='2021-09-10 05:43:38.186056', time_epoch_executed='1631277818.19' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='436'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/712510

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/712510/ft1_4FGL_J1442.2+0622_daily_bin436.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/712510/ft2_4FGL_J1442.2+0622_daily_bin436.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/712510/ft1_4FGL_J1442.2+0622_daily_bin436.fits outfile=/scratch/kocevski/712510/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin436.fits ra=220.561 dec=6.3755 rad=12.0 tmin=352339201.0 tmax=352598401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.45
user 3.24
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/712510/ft2_4FGL_J1442.2+0622_daily_bin436.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/712510/ft2_4FGL_J1442.2+0622_daily_bin436.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/712510/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin436.fits evtable="EVENTS" outfile="/scratch/kocevski/712510/ft1_filtered_4FGL_J1442.2+0622_daily_bin436.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/712510/ft1_filtered_4FGL_J1442.2+0622_daily_bin436.fits" evtable="EVENTS" scfile=/scratch/kocevski/712510/ft2_4FGL_J1442.2+0622_daily_bin436.fits sctable="SC_DATA" outfile=/scratch/kocevski/712510/ltcube_352339201_352598401_4FGL_J1442.2+0622_daily_bin436.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/712510/ft2_4FGL_J1442.2+0622_daily_bin436.fits
.....................!
real 11.77
user 11.42
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/712510/ft1_filtered_4FGL_J1442.2+0622_daily_bin436.fits evtable="EVENTS" scfile=/scratch/kocevski/712510/ft2_4FGL_J1442.2+0622_daily_bin436.fits sctable="SC_DATA" expcube=/scratch/kocevski/712510/ltcube_352339201_352598401_4FGL_J1442.2+0622_daily_bin436.fits outfile=/scratch/kocevski/712510/expmap_352339201_352598401_4FGL_J1442.2+0622_daily_bin436.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/712510/ltcube_352339201_352598401_4FGL_J1442.2+0622_daily_bin436.fits
.....................!
real 190.28
user 185.22
sys 4.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 151 point sources and 0 extended sources

Setting source of interest to:
4FGL J1442.2+0622 @ 220.561 6.3755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/712510/ft1_filtered_4FGL_J1442.2+0622_daily_bin436.fits scfile=/scratch/kocevski/712510/ft2_4FGL_J1442.2+0622_daily_bin436.fits outfile=/scratch/kocevski/712510/cmap_352339201_352598401_4FGL_J1442.2+0622_daily_bin436.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=220.561 yref=6.3755 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/712510/ft1_filtered_4FGL_J1442.2+0622_daily_bin436.fits scfile=/scratch/kocevski/712510/ft2_4FGL_J1442.2+0622_daily_bin436.fits outfile=/scratch/kocevski/712510/cmap_HighResolution_352339201_352598401_4FGL_J1442.2+0622_daily_bin436.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=220.561 yref=6.3755 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/712510/ft1_filtered_4FGL_J1442.2+0622_daily_bin436.fits evtable="EVENTS" scfile=/scratch/kocevski/712510/ft2_4FGL_J1442.2+0622_daily_bin436.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/712510/Model_4FGL_J1442.2+0622_daily_bin436.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/712510/ft1_filtered_4FGL_J1442.2+0622_daily_bin436.fits.....................!
real 66.36
user 65.02
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/712510/ft1_filtered_4FGL_J1442.2+0622_daily_bin436.fits', '/scratch/kocevski/712510/ft2_4FGL_J1442.2+0622_daily_bin436.fits', expMap='/scratch/kocevski/712510/expmap_352339201_352598401_4FGL_J1442.2+0622_daily_bin436.fits', expCube='/scratch/kocevski/712510/ltcube_352339201_352598401_4FGL_J1442.2+0622_daily_bin436.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/712510/Model_4FGL_J1442.2+0622_daily_bin436.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1442.2+0622'

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.653e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/712510/ft1_filtered_4FGL_J1442.2+0622_daily_bin436.fits
Spacecraft file(s): /scratch/kocevski/712510/ft2_4FGL_J1442.2+0622_daily_bin436.fits
Exposure map: /scratch/kocevski/712510/expmap_352339201_352598401_4FGL_J1442.2+0622_daily_bin436.fits
Exposure cube: /scratch/kocevski/712510/ltcube_352339201_352598401_4FGL_J1442.2+0622_daily_bin436.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/712510/Model_4FGL_J1442.2+0622_daily_bin436.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) = 9192.45553634

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.3002       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10427E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    9.0569       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11728E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    15.087       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .95836       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .17157E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .79436E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .22404       1.0000         .10000E-03   10000.    
    18 'norm      '    7.8251       1.0000         .10000E-03   10000.    
    19 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    6.9281       1.0000         .10000E-03   10000.    
    21 'Prefactor '    22.492       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3179       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99557       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9192.453     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2908 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.8647        .59928E-05** at limit **
   2  Prefactor     5.3137        16.883       -.15416E-05   -.87462E-04
   3  Prefactor     .10000E-03    7.1959        .18298E-06** at limit **
   4  norm          9.0565        8.0200        .25605E-07    .23913E-04
   5  Prefactor     .10000E-03    8.1911       -.75932E-06** at limit **
   6  norm          .10000E-03    4.4977        .57780E-08** at limit **
   7  Prefactor     .10000E-03    1.5471        .65450E-08** at limit **
   8  Prefactor     .10000E-03    4.1466        .35487E-07** at limit **
   9  Prefactor     .10000E-03    13.560        .46368E-06** at limit **
  10  Prefactor     .10000E-03    58.103        .24252E-04** at limit **
  11  norm          15.073        15.924       -.19074E-05   -.33214E-03
  12  Prefactor     1.0136        13.209       -.28695E-06   -.22885E-03
  13  Prefactor     .10304E-03    16.119       -.30988E-05** at limit **
  14  Prefactor     .10018E-03    6.6408        .17809E-05** at limit **
  15  Prefactor     .10000E-03    49.675       -.17775E-04** at limit **
  16  Prefactor     .10000E-03    10.260       -.58347E-05** at limit **
  17  norm          .22403        .13743       -.15264E-08    .67935E-03
  18  norm          7.8249        3.0170       -.76277E-07   -.18113E-03
  19  norm          .10000E-03    2.3282        .77778E-07** at limit **
  20  norm          6.9308        4.3800        .73753E-07   -.22267E-03
  21  Prefactor     22.495        31.567        .11617E-05    .82619E-06
  22  Normalizat    1.3175        .19675        .44506E-06    .80780E-04
  23  Prefactor     .99575        .11601       -.11769E-06    .13758E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.31371
  Prefactor  = 0.0001
  norm       = 9.05652
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 15.0728
  Prefactor  = 1.01357
  Prefactor  = 0.000103038
  Prefactor  = 0.000100177
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.224031
  norm       = 7.82488
  norm       = 0.0001
  norm       = 6.93081
  Prefactor  = 22.4952
  Normalizat = 1.31747
  Prefactor  = 0.99575
 **********
 **   18 **HESSE 
 **********

 FCN=   9192.453     FROM HESSE     STATUS=OK           376 CALLS     3284 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.8960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.3137        16.927        .17458E-03   -1.5247    
   3  Prefactor     .10000E-03    7.2030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          9.0565        8.0226        .13318E-03   -1.5106    
   5  Prefactor     .10000E-03    8.2156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.4983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.5488        .11646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.2619        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    59.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          15.073        16.057        .10312E-03   -1.4931    
  12  Prefactor     1.0136        86.276        .66750E-02   -1.5507    
  13  Prefactor     .10304E-03    170.31        .71442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10018E-03    42.111        .46971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    49.697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .22403        .13473        .26477E-04   -1.5613    
  18  norm          7.8249        3.0182        .94045E-04   -1.5148    
  19  norm          .10000E-03    2.3348        .14286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          6.9308        4.3772        .14933E-03   -1.5181    
  21  Prefactor     22.495        31.578        .84458E-04   -1.4759    
  22  Normalizat    1.3175        .23516        .30076E-03   -.83046    
  23  Prefactor     .99575        .14055        .20593E-03   -.92871    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16149e-08
Minuit parameter uncertainties:
  1  5.66879e-06
  2  16.9425
  3  5.45889e-07
  4  8.02356
  5  1.09867e-06
  6  3.05626e-07
  7  1.55108e-07
  8  1.59401e-06
  9  1.20273e-06
  10  0.000346532
  11  16.0615
  12  18.7297
  13  0.0456253
  14  0.0054681
  15  0.000193758
  16  1.17177e-06
  17  0.134726
  18  3.01827
  19  4.26132e-07
  20  4.3774
  21  31.6019
  22  0.235354
  23  0.140598
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.507e+01  1.606e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  9.957e-01  1.406e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.317e+00  2.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.24
Ra Dec: 220.561 6.375
Photon Index (Fixed Index): 2.70 +/- 0.00
Photon Flux (Fixed Index): 2.50e-08 +/- 2.66e-08
Energy Flux (Fixed Index): 9.05e-06 +/- 9.64e-06

TS (Fixed Index): 1.24
Ra Dec: 220.561 6.375
Photon Flux Upper Limit: 8.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/712510/likelihoodResults_352339201_352598401_4FGL_J1442.2+0622_daily_bin436.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) = 9192.38308956
delta logL = 0.0701953722401

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9192.37872614
delta logL = 0.0745587986348

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9192.379     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      272 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.6471        217.20        .32306E-02    .92965E-03
   2  alpha         3.1730        4.0832        .43219        .17969E-03
   3  Normalizat    1.3022        .63256E-01    .68317E-01    .35023E-03
   4  Prefactor     1.0017        .33298E-01    .45223E-01    .21828E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.64708
  alpha      = 3.17301
  Normalizat = 1.30222
  Prefactor  = 1.00169
 **********
 **   18 **HESSE 
 **********

 FCN=   9192.379     FROM HESSE     STATUS=OK            29 CALLS      301 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.6471        23.335        .12922E-03   -1.5087    
   2  alpha         3.1730        1.5375        .18338E-01    .27257    
   3  Normalizat    1.3022        .23592        .30225E-03   -.83500    
   4  Prefactor     1.0017        .14138        .20537E-03   -.92673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4378e-09
Minuit parameter uncertainties:
  1  23.3571
  2  1.66763
  3  0.23611
  4  0.141429
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/712510': 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) = 9192.37871915
delta logL = 0.0745657871175

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  9.647e+00  2.336e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  3.173e+00  1.668e+00  0.000e+00  5.000e+00 ( 1.000e+00)
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.002e+00  1.414e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.302e+00  2.361e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.39
Ra Dec: 220.561 6.375
Photon Index (Free Index): 3.17 +/- 1.67
Photon Flux (Free Index): 3.54e-08 +/- 4.42e-08
Energy Flux (Free Index): 9.39e-06 +/- 9.51e-06

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/712510/cmap_HighResolution_352339201_352598401_4FGL_J1442.2+0622_daily_bin436.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.12e-05', comment='SUCCESS', photon_flux='2.50e-08', energy_flux2='9.39e-06', photon_flux_error='2.66e-08', dlogl='7.46e-02', energy_flux='9.05e-06', photon_flux2='3.54e-08', job_status='DONE', time_completed='2021-09-10 05:56:31.173587', photon_index_error2='1.67', photon_index2='3.17', ts='1.24', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='8.62e-08', energy_flux_error2='9.51e-06', EG='1.32', time_epoch_completed='1631278591.17', return_code='0', job_id='712510', GAL2='1.00', EG2='1.30', return_code2='0', energy_flux_error='9.64e-06', photon_flux_error2='4.42e-08', ts2='1.39', photon_index='2.70' WHERE bin_id='436' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:56:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 712510: <4FGL_J1442.2+0622_daily_bin436> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin436> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 05:41:31 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:41:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 05:41:33 2021
Terminated at Fri Sep 10 05:56:31 2021
Results reported at Fri Sep 10 05:56:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin436 220.561 6.3755 352339201 352598401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1442.2+0622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   769.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             289.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            900 sec.

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

